Skip to content

Commit 6b18ef4

Browse files
drm/amdgpu: ignore duplicate BOs again
Looks like RADV is actually hitting this. Signed-off-by: Christian König <christian.koenig@amd.com> Fixes: ca6c1e2 ("drm/amdgpu: use the new drm_exec object for CS v3") Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231017121015.1336786-1-christian.koenig@amd.com
1 parent 8f5ad36 commit 6b18ef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ static int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p,
6565
}
6666

6767
amdgpu_sync_create(&p->sync);
68-
drm_exec_init(&p->exec, DRM_EXEC_INTERRUPTIBLE_WAIT);
68+
drm_exec_init(&p->exec, DRM_EXEC_INTERRUPTIBLE_WAIT |
69+
DRM_EXEC_IGNORE_DUPLICATES);
6970
return 0;
7071
}
7172

0 commit comments

Comments
 (0)