]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: dynamically clock gate before and after prefetch
authorLeo Chen <leo.chen@amd.com>
Fri, 31 Oct 2025 19:25:47 +0000 (15:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2025 02:54:16 +0000 (21:54 -0500)
commit401f8f33adc7240baa72fa0fb68ea0552094ede9
tree266be6c0a5444df8f753e4a7afaca4efdcd9140a
parentb6fffcc4530a83598c672641b55d527082c454f8
drm/amd/display: dynamically clock gate before and after prefetch

[Why]
An invalidation request arriving during prefetch can potentially hang
the system if dynamic clock gating is enabled and memory power requests
are disabled.

[How]
• Disable clock gating and enable memory power requests for the duration
of the prefetch.
• Turn on clock gating and disable memory power requests again after
prefetch is complete.

Limit the scope for DCN35 and DCN42 only.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Leo Chen <leo.chen@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hubbub/dcn31/dcn31_hubbub.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.h
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h