[Intel-gfx] [PATCH 1/5] i965/skl: Add macros for Yf/Ys tiling formats
Daniel Vetter
daniel at ffwll.ch
Tue Mar 31 06:17:22 PDT 2015
On Mon, Mar 30, 2015 at 02:00:04PM -0700, Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
> include/drm/i915_drm.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
> index ded43b1..a6c167c 100644
> --- a/include/drm/i915_drm.h
> +++ b/include/drm/i915_drm.h
> @@ -842,6 +842,8 @@ struct drm_i915_gem_caching {
> #define I915_TILING_NONE 0
> #define I915_TILING_X 1
> #define I915_TILING_Y 2
> +#define I915_TILING_YF 3
> +#define I915_TILING_YS 4
This is based on an old version of the Yf/Ys tiling patches which have not
been merged, so nack.
When you update the kernel headers in libdrm, _always_ use
$ make headers_install
from kernel sources and then copy over the headers unchanged to libdrm.
Never handedit i915_drm.h.
-Daniel
>
> #define I915_BIT_6_SWIZZLE_NONE 0
> #define I915_BIT_6_SWIZZLE_9 1
> --
> 2.3.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list