[Beignet] Haswell support and i915 driver support. Some strange bugs.
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Jun 24 22:56:34 PDT 2014
On Wed, Jun 25, 2014 at 09:53:18AM +0400, Nikita Orlov wrote:
> Hi!
>
> Some time ago I have asked about beignet and haswell.
> I have answer to use master of beignet and patch i915 driver in kernel (disable-batchbuffer-security.patch).
>
> How I can know, that patch for i915 is in upstream of kernel?
> Are any new improvements in master of HSW support in brignet?
>
> I am asking, because even with master (3 weeks ago version) and patched kernel some times I have resetting system or X11 restart (GUI resetting and I see login screen).
Rong submmited some important fix for HSW platform within 3 weeks. You may try to update to latest git master and have a try.
>
>
> P.S.
> disable-batchbuffer-security.patch:
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> index a3ba9a8..86c173b 100644
> --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> @@ -995,6 +995,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
> return ret;
>
> flags = 0;
> + flags |= I915_DISPATCH_SECURE;
> if (args->flags & I915_EXEC_SECURE) {
> if (!file->is_master || !capable(CAP_SYS_ADMIN))
> return -EPERM;
>
> --
> Nikita Orlov
> Skype: nik_stet
> QQ: 2717846083
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list