Mesa (master): intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS

Jason Ekstrand jekstrand at kemper.freedesktop.org
Mon Aug 14 17:43:52 UTC 2017


Module: Mesa
Branch: master
Commit: cf2e92262b48223b6be0e12a64083770281c15c8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf2e92262b48223b6be0e12a64083770281c15c8

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Jun 13 12:06:49 2017 -0700

intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Chad Versace <chadversary at chromium.org>

---

 src/intel/Makefile.am   | 1 +
 src/intel/isl/isl_drm.c | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am
index 02c625a81d..9946f6752d 100644
--- a/src/intel/Makefile.am
+++ b/src/intel/Makefile.am
@@ -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 \
diff --git a/src/intel/isl/isl_drm.c b/src/intel/isl/isl_drm.c
index ef80e42fdf..eb3c6f5913 100644
--- a/src/intel/isl/isl_drm.c
+++ b/src/intel/isl/isl_drm.c
@@ -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 *




More information about the mesa-commit mailing list