[Beignet] Haswell support and i915 driver support. Some strange bugs.
Nikita Orlov
nikitos1550 at yandex.ru
Tue Jun 24 22:53:18 PDT 2014
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).
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
More information about the Beignet
mailing list