drm/amdgpu: seq64 memory unmap uses uninterruptible lock
authorPhilip Yang <Philip.Yang@amd.com>
Wed, 14 May 2025 15:13:52 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 May 2025 16:03:02 +0000 (12:03 -0400)
commita359288ccb4dd8edb086e7de8fdf6e36f544c922
treebdefcff978b58f619425659c458cd5197d602ce4
parentb758667f55a09bc86ac0cb230c4e0e5ca931a3a5
drm/amdgpu: seq64 memory unmap uses uninterruptible lock

To unmap and free seq64 memory when drm node close to free vm, if there
is signal accepted, then taking vm lock failed and leaking seq64 va
mapping, and then dmesg has error log "still active bo inside vm".

Change to use uninterruptible lock fix the mapping leaking and no dmesg
error log.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c