Skip to content

Commit 2290de2

Browse files
committed
drm/amdgpu: seq64 memory unmap uses uninterruptible lock
JIRA: https://issues.redhat.com/browse/RHEL-75958 commit 21707b10e8094bca72eb5b668915eac52b47a586 Author: Philip Yang <Philip.Yang@amd.com> Date: Wed May 14 11:13:52 2025 -0400 drm/amdgpu: seq64 memory unmap uses uninterruptible lock [ Upstream commit a359288 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: José Expósito <jexposit@redhat.com>
1 parent 56b0bc7 commit 2290de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv)
133133

134134
vm = &fpriv->vm;
135135

136-
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
136+
drm_exec_init(&exec, 0, 0);
137137
drm_exec_until_all_locked(&exec) {
138138
r = amdgpu_vm_lock_pd(vm, &exec, 0);
139139
if (likely(!r))

0 commit comments

Comments
 (0)