]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Move all DCCG RCG into HWSS root_clock_control
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Thu, 2 Oct 2025 21:47:36 +0000 (17:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:21:59 +0000 (18:21 -0400)
commite6c0e853f08a04d399b366640ad142ba2a7b3175
tree978ed9a2a79945384c37f5fd5e066718b0aee138
parentd745900b40cc688d71c7e5de3a56acd65e4214f9
drm/amd/display: Move all DCCG RCG into HWSS root_clock_control

[why & how]
Enabling/disabling DCCG RCG should be done as a last-level step when
enabling/disable blocks. This is handled by HWSS root_clock_control
already during optimize_bandwidth.
However, dccg35_dpp_root_clock_control was missing the RCG enable
call on the disable path.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/hwss/dcn35/dcn35_hwseq.c