]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: ensure dentist display clock update finished in DCN20
authorDale Zhao <dale.zhao@amd.com>
Fri, 16 Jul 2021 01:38:17 +0000 (09:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Jul 2021 20:37:17 +0000 (16:37 -0400)
commit849cf9326bd751469cde9ff0d567c6baa2d55405
treeb5ae5c6eaefe83809000b296f579881c764413b5
parentbbf87050791f763f0aee46d452ac04dec52c0834
drm/amd/display: ensure dentist display clock update finished in DCN20

[Why]
We don't check DENTIST_DISPCLK_CHG_DONE to ensure dentist
display clockis updated to target value. In some scenarios with large
display clock margin, it will deliver unfinished display clock and cause
issues like display black screen.

[How]
Checking DENTIST_DISPCLK_CHG_DONE to ensure display clock
has been update to target value before driver do other clock related
actions.

Reviewed-by: Cyr Aric <aric.cyr@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Dale Zhao <dale.zhao@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c