From: Nanley Chery Date: Thu, 18 May 2023 20:11:07 +0000 (-0700) Subject: iris: Drop a GFX12_CCS_E check in can_fast_clear_color X-Git-Tag: upstream/23.3.3~7397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcc1d1be19b6736f71a38a516ffcdfdce4e33f26;p=platform%2Fupstream%2Fmesa.git iris: Drop a GFX12_CCS_E check in can_fast_clear_color The 8 bpp restriction isn't specific to the automatic fast clear behavior of GFX12_CCS_E. It is applicable to both GFX12_CCS_E and CCS_E. Drop the aux usage check completely. Reviewed-by: Rohan Garg Part-of: --- diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index e7e896d..c3400c6 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -134,7 +134,7 @@ can_fast_clear_color(struct iris_context *ice, * to avoid stomping on other LODs. */ if (level > 0 && util_format_get_blocksizebits(p_res->format) == 8 && - res->aux.usage == ISL_AUX_USAGE_GFX12_CCS_E && p_res->width0 % 64) { + p_res->width0 % 64) { return false; }