mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Ignore RADEON_DRM_QUEUE_ERROR (0) in radeon_drm_abort_entry
This allows a following change to be slightly simpler. (Ported from amdgpu commit 8fcc3a9b43d3907052a83a96e5a2423afab5ad3f) Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
731d4b386a
commit
d14ff6b778
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user