This may be a typo, but won't cause anything wrong serious(add non-busy gpgpu into nodes). Now it can make the gpgpu nodes work as expected.
Signed-off-by: Pan Xiuli <[email protected]> --- src/intel/intel_gpgpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c index 901bd98..7317157 100644 --- a/src/intel/intel_gpgpu.c +++ b/src/intel/intel_gpgpu.c @@ -210,7 +210,7 @@ intel_gpgpu_delete(intel_gpgpu_t *gpgpu) return; if(gpgpu->batch && gpgpu->batch->buffer && - !drm_intel_bo_busy(gpgpu->batch->buffer)) { + drm_intel_bo_busy(gpgpu->batch->buffer)) { TRY_ALLOC_NO_ERR (node, CALLOC(struct intel_gpgpu_node)); node->gpgpu = gpgpu; node->next = NULL; -- 2.1.4 _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
