]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: update clk for various HDMI color depths
authorMikita Lipski <mikita.lipski@amd.com>
Fri, 13 Jul 2018 13:07:35 +0000 (09:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:46:58 +0000 (09:46 +0200)
commit691f2d763d0731224439686ecf2d440df8fe910e
tree96a774f849b1cf9bca9d82a02360bfcdd19c22b5
parentb31d6596d7d2eae01c9b65f6cfbf889c2a60f4a6
drm/amd/display: update clk for various HDMI color depths

commit 81aca8e75c1b046865fb2badef95a0dcff6f73de upstream.

[why]
When programming tonga's connector's backend we didn't take
in account that HDMI's colour depth might be more than 8bpc
therefore we need to add a switch statement that would adjust
the pixel clock accordingly.

[how]
Add a switch statement updating clock by its appropriate
coefficient.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/bios/command_table.c