From cf2e92262b48223b6be0e12a64083770281c15c8 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 13 Jun 2017 12:06:49 -0700 Subject: [PATCH] intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS Reviewed-by: Topi Pohjolainen Reviewed-by: Chad Versace --- 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 02c625a81da..9946f6752d0 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 ef80e42fdf7..eb3c6f59138 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 * -- 2.30.2