]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: fix dccg root clock optimization related hang
authorQili Lu <qili.lu@amd.com>
Wed, 21 Aug 2024 20:26:13 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 21:41:07 +0000 (17:41 -0400)
commitf5a972dfe3e993f09cf12bd36389a942ecd23350
tree17698b24b8a29ac71d259292f7d3b063bc0f7c0a
parent5359d5bc975466e8791d7f870ea4a96f1b0973bf
drm/amd/display: fix dccg root clock optimization related hang

[Why]
enable dpp rcg before we disable dppclk in hw_init cause system
hang/reboot

[How]
we remove dccg rcg related code from init into a separate function and
call it after we init pipe

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Qili Lu <qili.lu@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c
drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.h
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h