]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add trigger FIFO resync path for DCN35
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 16 Apr 2024 15:24:05 +0000 (11:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:54:16 +0000 (09:54 -0400)
commit47745acc5e8dd9b92dc877d3436801106c5e6864
tree71f9e847975589b5a8d4907eb28326e3a0d0d7ba
parent9ba971b25316b7e3a11b63b770a3a48bf3b69904
drm/amd/display: Add trigger FIFO resync path for DCN35

[Why]
FIFO error can occur if we don't trigger a DISPCLK change after
touching K1/K2 dividers. For 4k144 eDP + hotplug of USB-C DP display
we see FIFO underflow.

[How]
We have the path to trigger the resync as the workaround in
DCN314/DCN32, it just needs to be ported over to DCN35.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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/dcn35/dcn35_dccg.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c