[Beignet] *** SPAM LEVEL 4.448 *** Re: [PATCH 1/2] CL: Tell the kernel an image bo's tiling mode.

Zhigang Gong zhigang.gong at linux.intel.com
Thu May 16 01:05:52 PDT 2013


Aha, it should always include the cl_mem.h. I just sent out the version 2 of
this patch.

> -----Original Message-----
> From:
> beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.org
> [mailto:beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.
> org] On Behalf Of Simon Richter
> Sent: Thursday, May 16, 2013 3:41 PM
> To: beignet at lists.freedesktop.org
> Subject: [Beignet] *** SPAM LEVEL 4.448 *** Re: [PATCH 1/2] CL: Tell the
> kernel an image bo's tiling mode.
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> On 16.05.2013 05:01, Zhigang Gong wrote:
> 
> > For an image bo allocation, we need to set its tiling mode thus latter
> > when we use map gtt to map its to a linear address space, the kernel
> > can do correct mapping. Otherwise, kernel will treat it as not a tiled
> > suface.
> 
> This fails to compile without EGL support:
> 
> .../src/intel/intel_driver.c: In function ?get_intel_tiling?:
> .../src/intel/intel_driver.c:474:10: error: ?CL_NO_TILE? undeclared (first
> use in this function)
> 
> etc.
> 
>    Simon
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iJwEAQECAAYFAlGUjZoACgkQ0sfeulffv7uGvwP8DWsPveIdRB5mN7Pw4Yfyh
> TiI
> nVND+lv5tv8GT7nQ1pOZbkAClSlQ6ci3YbhqI7ZEdLyVEtgwl2ooiPe9J+SKEVP
> D
> 4ko+RIGAlr5VBKO30S+fPoMhrGkcXzljwkhqVUTH3r71ivykf3EzwNutzE+pue
> nC
> 6eHRCJT2PWz9+5S8lA4=
> =NOmr
> -----END PGP SIGNATURE-----
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet



More information about the Beignet mailing list