mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
intel/isl: Describe I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6486>
This commit is contained in:
parent
d686835171
commit
e15543b71a
2 changed files with 9 additions and 1 deletions
|
|
@ -1873,7 +1873,8 @@ isl_drm_modifier_get_default_aux_state(uint64_t modifier)
|
|||
return ISL_AUX_STATE_AUX_INVALID;
|
||||
|
||||
assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E ||
|
||||
mod_info->aux_usage == ISL_AUX_USAGE_GEN12_CCS_E);
|
||||
mod_info->aux_usage == ISL_AUX_USAGE_GEN12_CCS_E ||
|
||||
mod_info->aux_usage == ISL_AUX_USAGE_MC);
|
||||
return mod_info->supports_clear_color ? ISL_AUX_STATE_COMPRESSED_CLEAR :
|
||||
ISL_AUX_STATE_COMPRESSED_NO_CLEAR;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,13 @@ static const struct isl_drm_modifier_info modifier_info[] = {
|
|||
.aux_usage = ISL_AUX_USAGE_GEN12_CCS_E,
|
||||
.supports_clear_color = false,
|
||||
},
|
||||
{
|
||||
.modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
|
||||
.name = "I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS",
|
||||
.tiling = ISL_TILING_Y0,
|
||||
.aux_usage = ISL_AUX_USAGE_MC,
|
||||
.supports_clear_color = false,
|
||||
},
|
||||
};
|
||||
|
||||
const struct isl_drm_modifier_info *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue