From: Michel Dänzer <[email protected]> This allows a following change to be slightly simpler. (Ported from amdgpu commit 8fcc3a9b43d3907052a83a96e5a2423afab5ad3f)
Signed-off-by: Michel Dänzer <[email protected]> --- src/radeon_drm_queue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/radeon_drm_queue.c b/src/radeon_drm_queue.c index 869f95c32..ac775f86a 100644 --- a/src/radeon_drm_queue.c +++ b/src/radeon_drm_queue.c @@ -150,6 +150,9 @@ radeon_drm_abort_entry(uintptr_t seq) { struct radeon_drm_queue_entry *e, *tmp; + if (seq == RADEON_DRM_QUEUE_ERROR) + return; + xorg_list_for_each_entry_safe(e, tmp, &radeon_drm_queue, list) { if (e->seq == seq) { radeon_drm_abort_one(e); -- 2.18.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
