summaryrefslogtreecommitdiff
path: root/src/intel/intel_gpgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/intel_gpgpu.c')
-rw-r--r--src/intel/intel_gpgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c
index 901bd98b..60d318ad 100644
--- a/src/intel/intel_gpgpu.c
+++ b/src/intel/intel_gpgpu.c
@@ -187,7 +187,7 @@ intel_gpgpu_delete(intel_gpgpu_t *gpgpu)
node = p->next;
while(node) {
if(node->gpgpu->batch && node->gpgpu->batch->buffer &&
- !drm_intel_bo_busy(node->gpgpu->batch->buffer)) {
+ drm_intel_bo_busy(node->gpgpu->batch->buffer)) {
p->next = node->next;
intel_gpgpu_delete_finished(node->gpgpu);
cl_free(node);