intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Jun 2017 19:06:49 +0000 (12:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:43:30 +0000 (10:43 -0700)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/Makefile.am
src/intel/isl/isl_drm.c

index 02c625a81dab4bee49c4ae3a65138b15dfc10b81..9946f6752d0a1ae609c03d7081779c52e0b93f5e 100644 (file)
@@ -33,6 +33,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gtest/include \
        -I$(top_builddir)/src/intel \
        -I$(top_srcdir)/src/intel \
+       -I$(top_srcdir)/include/drm-uapi \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/gallium/auxiliary \
index ef80e42fdf71e8af9ad6487f24c05e1abbddbe09..eb3c6f59138c1dcd5d92d0c7a0229e285703ce19 100644 (file)
@@ -87,6 +87,13 @@ struct isl_drm_modifier_info modifier_info[] = {
       .name = "I915_FORMAT_MOD_Y_TILED",
       .tiling = ISL_TILING_Y0,
    },
+   {
+      .modifier = I915_FORMAT_MOD_Y_TILED_CCS,
+      .name = "I915_FORMAT_MOD_Y_TILED_CCS",
+      .tiling = ISL_TILING_Y0,
+      .aux_usage = ISL_AUX_USAGE_CCS_E,
+      .supports_clear_color = false,
+   },
 };
 
 const struct isl_drm_modifier_info *