]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: OTC underflow fix
authorJaehyun Chung <jaehyun.chung@amd.com>
Mon, 19 Aug 2019 20:45:05 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 23:03:06 +0000 (18:03 -0500)
commit9fbcc964990de45fbc4de4d8dc7db00a0bb524d4
treed8fe2db7d24c43add6b869ee2d005952a46a3f4c
parent4bd76681a05e285013a7d8767554646cceaad338
drm/amd/display: OTC underflow fix

[Why] Underflow occurs on some display setups(repro'd on 3x4K HDR) on boot,
mode set, and hot-plugs with. Underflow occurs because mem clk
is not set high after disabling pstate switching. This behaviour occurs
because some calculations assumed displays were synchronized.

[How] Add a condition to check if timing sync is disabled so that
synchronized vblank can be set to false.

Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c