iris: Disable the MC_CCS modifier with norbc

We generally try to disable CCS whenever the norbc debug flag is set.
Also, this enables simplifying iris_resource_configure_aux later on.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11960>
This commit is contained in:
Nanley Chery 2021-09-07 08:08:32 -07:00 committed by Marge Bot
parent b71264e465
commit b9d8793646
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ modifier_is_supported(const struct intel_device_info *devinfo,
/* Check remaining requirements. */
switch (modifier) {
case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:
if (INTEL_DEBUG(DEBUG_NO_RBC))
return false;
if (pfmt != PIPE_FORMAT_BGRA8888_UNORM &&
pfmt != PIPE_FORMAT_RGBA8888_UNORM &&
pfmt != PIPE_FORMAT_BGRX8888_UNORM &&