]> www.infradead.org Git - linux.git/commit
drm/amd/display: Retry Replay residency
authorChunTao Tso <ChunTao.Tso@amd.com>
Thu, 8 Aug 2024 09:25:55 +0000 (17:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:53:14 +0000 (17:53 -0400)
commite565b6b0b5eee112db803bd955fb0387ce952d54
treedac6d45283426fb8a21f9144b0e8fc48c75a34e3
parent6692982582a54e7ecc80d7b0dae5db6cd47e2567
drm/amd/display: Retry Replay residency

[Why]
Because sometime DMUB GPINT will time out,
 it will cause we return 0 as residency number.

[How]
Retry to avoid this happened.

Reviewed-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: ChunTao Tso <ChunTao.Tso@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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/dce/dmub_replay.c