[Beignet] [PATCH 3/3] Enable Coffee Lake support

2018-01-31 Thread Mark Thompson
Little change is needed here because the graphics core is the same as Kaby Lake. Includes all PCI IDs currently supported by the kernel driver in the drm-intel tree (Coffee Lake S, H and U devices in GT 1, 2 and 3 configurations). Signed-off-by: Mark Thompson --- backend/src/backend/gen_program

[Beignet] [PATCH 2/3] Fix enabling of fp64 extension

2018-01-31 Thread Mark Thompson
This should only be enabled after setting the default extensions, because the default setup overwrites the current extension string rather than adding to it. Signed-off-by: Mark Thompson --- src/cl_device_id.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/s

[Beignet] [PATCH 1/3] Ensure that DRM device uses the i915 driver

2018-01-31 Thread Mark Thompson
This avoids calling random ioctl()s and returning nonsensical errors for unsupported devices. In particular, loading is much cleaner on setups where the driver needs to iterate over multiple devices to find the correct one because the Intel graphics device is not the first DRM device. Signed-off-

Re: [Beignet] warning, curbe size exceed limitation.

2018-01-31 Thread Vaughan, Thomas E
Thanks for replying! I'm not writing any OpenCL code directly. I'm using the ArrayFire C++ library, which JIT generates OpenCL and compiles it when the process runs. That is, I have no OpenCL source code, and I don't write any C or C++ code that interacts with kernels directly or even knows w

Re: [Beignet] warning, curbe size exceed limitation.

2018-01-31 Thread Yang, Rong R
Do you use this array as kernel's argument? If the argument's size exceeds the argument buffer's size, beignet will print this warning. And IVB's argument buffer size is larger than BayTrail. Thanks, Yang Rong From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Vaughan, Tho

Re: [Beignet] [PATCH 2/2] Enable Coffee Lake support

2018-01-31 Thread Yang, Rong R
One inline comment. Can you also add other Coffee Lake pciids? 0x3E90, 12Eus, gt1 0x3E93, 12Eus, gt1 0x3E99, 12Eus, gt1 0x3EA1, 12Eus, gt1 0x3EA4, 12Eus, gt1 0x3E91, 24EUs, gt2 0x3E92, 24EUs, gt2 0x3E94, 24EUs, gt2 0x3E96, 24EUs, gt2 0x3E9A, 24EUs, gt2 0x3E9B, 24EUs, gt2 0x3EA0, 24EUs, gt2

Re: [Beignet] [PATCH 1/2] Ensure that DRM device uses the i915 driver

2018-01-31 Thread Yang, Rong R
This patch LGTM, thanks. > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Mark Thompson > Sent: Wednesday, January 24, 2018 6:52 AM > To: beignet@lists.freedesktop.org > Subject: [Beignet] [PATCH 1/2] Ensure that DRM device uses the i915 dr