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

Zhigang Gong zhigang.gong at linux.intel.com
Fri Oct 24 04:27:23 CEST 2014


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



More information about the Intel-gfx mailing list