[Beignet] [Intel-gfx] Beignet crashes on vanilla 3.17.1 with IVB hardware

Zhigang Gong zhigang.gong at linux.intel.com
Fri Oct 24 00:05:10 PDT 2014


I just checked again, and found both 3.17 and 3.17.1 should work
fine on IVB with beignet. I just tested beignet on IVB with kernel
3.17.1, all unit tests passed successfully. For IVB user, no need
to wait for 3.18.

Don't know which application you were testing on your IVB machine.
If it could be reproduced easily, please open a bug on fd.o.

Thanks,
Zhigang Gong.

On Fri, Oct 24, 2014 at 10:27:23AM +0800, Zhigang Gong wrote:
> Hi,
> 
> For IVB, I just checked the 3.18-rc1, it has the following patch:
> commit c9224faa59c3071ecfa2d4b24592f4eb61e57069
> Author: Brad Volkin <bradley.d.volkin at intel.com>
> Date:   Tue Jun 17 14:10:34 2014 -0700
> 
>     drm/i915: Add some L3 registers to the parser whitelist
> 
>     Beignet needs these in order to program the L3 cache config for
>     OpenCL workloads, particularly when using SLM.
> 
>     Signed-off-by: Brad Volkin <bradley.d.volkin at intel.com>
>     Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> So, beignet should work fine with 3.18 on IVB/BYT.
> 
> But for the HSW,I'm not quite sure when we could get a workable vanilla
> kernel. Something I found at the intel-gfx mail list as below and it doesn't
> sound good.
> 
> http://lists.freedesktop.org/archives/intel-gfx/2014-May/044694.html
> http://lists.freedesktop.org/archives/intel-gfx/2014-May/045088.html
> 
> CC to intel-gfx mail list. Hope we can get an official anwser here.
> 
> Thanks,
> Zhigang Gong.
> 
> On Thu, Oct 23, 2014 at 03:39:35PM +0300, Vasily Khoruzhick wrote:
> > Hi,
> > 
> > As you maybe know, any application which uses beignet OpenCL
> > implementation crashes on Ivy Bridge hardware when using vanilla
> > 3.17.1 kernel.
> > I guess it's due to batchbuffer security and patch to disable
> > batchbuffer security is required, but guys, it fails since 3.16, and
> > 3.17 was released quite a while ago.
> > 
> > Could you cooperate with i915 driver devs to make Beignet working on
> > vanilla kernel without extra patches?
> > 
> > Thanks!
> > 
> > Regards,
> > Vasily
> > _______________________________________________
> > Beignet mailing list
> > Beignet at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Beignet mailing list