LGTM, pushed, thanks.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Guo Yejun > Sent: Wednesday, September 21, 2016 13:48 > To: [email protected] > Cc: Guo, Yejun <[email protected]> > Subject: [Beignet] [PATCH] enlarge scratch size for bxt 0x5a85 > > Signed-off-by: Guo Yejun <[email protected]> > --- > src/intel/intel_gpgpu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c index > 3314ab4..f8eac56 100644 > --- a/src/intel/intel_gpgpu.c > +++ b/src/intel/intel_gpgpu.c > @@ -1537,8 +1537,8 @@ intel_gpgpu_set_scratch(intel_gpgpu_t * gpgpu, > uint32_t per_thread_size) > drm_intel_bufmgr *bufmgr = gpgpu->drv->bufmgr; > drm_intel_bo* old = gpgpu->scratch_b.bo; > uint32_t total = per_thread_size * gpgpu->max_threads; > - /* Per Bspec, scratch should 2X the desired size, otherwise luxmark may > hang */ > - if (IS_HASWELL(gpgpu->drv->device_id) || IS_CHERRYVIEW(gpgpu->drv- > >device_id)) > + /* Per Bspec, scratch should 2X the desired size when EU index is not > + continuous */ if (IS_HASWELL(gpgpu->drv->device_id) || > + IS_CHERRYVIEW(gpgpu->drv->device_id) || PCI_CHIP_BROXTON_1 == > + gpgpu->drv->device_id) > total *= 2; > > gpgpu->per_thread_scratch = per_thread_size; > -- > 2.7.4 > > _______________________________________________ > Beignet mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
