[RFC 0/3] Potential context entity destroy race

Tvrtko Ursulin tvrtko.ursulin at igalia.com
Mon May 19 16:37:10 UTC 2025


One weird KASAN failure observed one time only. More details in the last patch.

If plausible I will need to fix the commit message in the last patch.

First two should be non-controversial cleanups, hopefully.

Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: Christian König <christian.koenig at amd.com>

Tvrtko Ursulin (3):
  drm/amdgpu: Make amdgpu_ctx_mgr_entity_fini static
  drm/amdgpu: Remove duplicated "context still alive" check
  drm/amdgpu: Add locking to amdgpu_ctx_mgr_entity_fini()

 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 16 +++-------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h |  1 -
 2 files changed, 3 insertions(+), 14 deletions(-)

-- 
2.48.0



More information about the amd-gfx mailing list