The patchset LGTM, thanks.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Pan Xiuli > Sent: Tuesday, October 13, 2015 12:51 > To: [email protected] > Cc: Pan, Xiuli > Subject: [Beignet] [V2 1/4] Fix gpgpu node related bug > > This should be a typo, we should wait for the gpgpu and create node only if > the batch buffer is busy. > --- > 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..60d318a 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); > -- > 2.1.4 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
