]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Aug 2018 20:57:29 +0000 (15:57 -0500)
commit8e134ce7dbf6e21ba55e819795858fb6c418de0f
treee3d8aa50dabf89fb2906a1953ecabd97b5084438
parentf5e04ad784a658d6e1cb2c692316d0b41ac6e086
drm/amd/display: update clk for various HDMI color depths

[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
drivers/gpu/drm/amd/display/dc/bios/command_table.c