[Beignet] Haswell support and i915 driver support. Some strange bugs.
Nikita Orlov
nikitos1550 at yandex.ru
Wed Jun 25 01:10:29 PDT 2014
I see. Thanks!
We will check it today everning/tomorrow.
I will let you know, if we will find any bugs.
25.06.2014, 12:09, "Yichao Yu" <yyc1992 at gmail.com>:
> On Wed, Jun 25, 2014 at 1:56 PM, Zhigang Gong
> <zhigang.gong at linux.intel.com> wrote:
>> 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.
>
> Yeah, beignet passes most of the tests and has never hang my Haswell
> GPU again since ~ 1.5 weeks ago...
>
> =)
>>> 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
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
--
Nikita Orlov
Skype: nik_stet
QQ: 2717846083
More information about the Beignet
mailing list