diff options
author | Jason Ekstrand <[email protected]> | 2017-06-13 12:06:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-08-14 10:43:30 -0700 |
commit | cf2e92262b48223b6be0e12a64083770281c15c8 (patch) | |
tree | 3479091832f132ada80b9cf7399da7bd1c76ab0d | |
parent | 51eb40d4145024be59b50949009bcea97736646d (diff) |
intel/isl: Add support for I915_FORMAT_MOD_Y_TILED_CCS
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r-- | src/intel/Makefile.am | 1 | ||||
-rw-r--r-- | src/intel/isl/isl_drm.c | 7 |
2 files changed, 8 insertions, 0 deletions
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 * |