drm/amdgpu: Adjust usleep_range in fence wait
authorCe Sun <cesun102@amd.com>
Tue, 10 Feb 2026 07:32:01 +0000 (15:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:21:41 +0000 (15:21 -0500)
commit3ee1c72606bd2842f0f377fd4b118362af0323ae
tree4103ab84b3230d5a6dae2f754c6bede8994921ff
parentcde3894904cf7820e8518f9df716ba50e91513fd
drm/amdgpu: Adjust usleep_range in fence wait

Tune the sleep interval in the PSP fence wait loop from 10-100us to
60-100us.This adjustment results in an overall wait window of 1.2s
(60us * 20000 iterations) to 2 seconds (100us * 20000 iterations),
which guarantees that we can retrieve the correct fence value

Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c