diff options
author | Jason Ekstrand <[email protected]> | 2018-05-04 09:43:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-10-17 21:22:00 -0700 |
commit | 48c153e21bb9ba7d0d7b22618a7e33fd72a521cd (patch) | |
tree | 6645c57d86b516712a6beabb0db4cb29733010a5 /src/intel | |
parent | d83fe059c27080d02c1a39029997f890c39d4a8a (diff) |
intel/isl: Add isl_aux_usage_has_ccs
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/isl/isl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index 509d56180bb..11d50a1d044 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1639,6 +1639,13 @@ isl_tiling_to_i915_tiling(enum isl_tiling tiling); enum isl_tiling isl_tiling_from_i915_tiling(uint32_t tiling); +static inline bool +isl_aux_usage_has_ccs(enum isl_aux_usage usage) +{ + return usage == ISL_AUX_USAGE_CCS_D || + usage == ISL_AUX_USAGE_CCS_E; +} + const struct isl_drm_modifier_info * ATTRIBUTE_CONST isl_drm_modifier_get_info(uint64_t modifier); |