diff options
| author | Philip Yang <[email protected]> | 2025-05-14 15:13:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-22 16:03:02 +0000 |
| commit | a359288ccb4dd8edb086e7de8fdf6e36f544c922 (patch) | |
| tree | bdefcff978b58f619425659c458cd5197d602ce4 /drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | |
| parent | drm/amdgpu: update ras support check (diff) | |
| download | kernel-a359288ccb4dd8edb086e7de8fdf6e36f544c922.tar.gz kernel-a359288ccb4dd8edb086e7de8fdf6e36f544c922.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c index 3939761be31c..d45ebfb642ca 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c @@ -139,7 +139,7 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv) vm = &fpriv->vm; - drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); + drm_exec_init(&exec, 0, 0); drm_exec_until_all_locked(&exec) { r = amdgpu_vm_lock_pd(vm, &exec, 0); if (likely(!r)) |
