Andi,

Thanks for your comments and that makes sense for me, just check kernel version 
is not
an ideal method for those unofficial kernels with back porting patches. Then we 
have the
following open questions in my mind:

  How do we check whether the i915 KMD support secure batch buffer execution if 
the batch
  buffer pass the cmd parser check under full-ppgtt mode in UMD?

  How do we check whether the i915 KMD support secure batch buffer execution 
with aliasing
  ppgtt after the merging of the patch "drm/i915: Arm cmd parser with aliasing 
ppgtt only" in UMD?

CC to Daniel, do you have any suggestion here?

Thanks,
Zhigang Gong.

> -----Original Message-----
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Andi Kleen
> Sent: Thursday, April 30, 2015 12:19 PM
> To: beignet@lists.freedesktop.org
> Cc: zhigang.g...@linux.intel.com
> Subject: Re: [Beignet] Haswell issues
> 
> "Zhigang Gong" <zhigang.g...@linux.intel.com> writes:
> >> but I don't have the hardware to try it.
> > We will do some testing on this. And once we get the exact version, I
> > will submit a new patch to give some warn if the user is using an
> > unsupported kernel. As now we have better solution than patch kernel
> > manually, I will change the document to suggest user to upgrade to a
> supported kernel rather than patch kernel manually.
> 
> It would be better to add something to the kernel interface that can be probed
> without relying on the kernel version. The problem with checking versions is
> that it'll break if someone backports the fixes to older kernels, which is not
> uncommon.
> 
> -Andi
> 
> --
> a...@linux.intel.com -- Speaking for myself only
> 
> _______________________________________________
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to