]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Correct sequences and delays for DCN35 PG & RCG
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Mon, 25 Aug 2025 18:45:33 +0000 (14:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:41 +0000 (17:38 -0400)
commit1bde5584e297921f45911ae874b0175dce5ed4b5
treec72611190198944decb3e0fb6da00fd5d78c30a9
parent3b14fe98939b01aa72707bc3c2617de319839a65
drm/amd/display: Correct sequences and delays for DCN35 PG & RCG

[why]
The current PG & RCG programming in driver has some gaps and incorrect
sequences.

[how]
Added delays after ungating clocks to allow ramp up, increased polling
to allow more time for power up, and removed the incorrect sequences.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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/dc.h
drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c
drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c
drivers/gpu/drm/amd/display/dc/inc/hw/pg_cntl.h
drivers/gpu/drm/amd/display/dc/pg/dcn35/dcn35_pg_cntl.c