]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Increase KIQ invalidate_tlbs timeout
authorJay Cornwall <jay.cornwall@amd.com>
Fri, 21 Mar 2025 18:19:05 +0000 (13:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:30 +0000 (15:18 -0400)
commit3666ed821832f42baaf25f362680dda603cde732
tree22d894542b08386abc7c3e6de41719204e7b764e
parentb3862d60b1a8b6face673c820dccdd9c449563cc
drm/amdgpu: Increase KIQ invalidate_tlbs timeout

KIQ invalidate_tlbs request has been seen to marginally exceed the
configured 100 ms timeout on systems under load.

All other KIQ requests in the driver use a 10 second timeout. Use a
similar timeout implementation on the invalidate_tlbs path.

v2: Poll once before msleep
v3: Fix return value

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Cc: Kent Russell <kent.russell@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c