From a198c6b7dd5dc6a28abc6745ef6640a7dbe3ece5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 20 Sep 2021 07:38:24 -0400 Subject: [PATCH] ac/surface: correct a comment about DCC image stores Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/amd/common/ac_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index b3611124d7b..7b80bae0731 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -1423,7 +1423,7 @@ ASSERTED static bool is_dcc_supported_by_L2(const struct radeon_info *info, /* 128B is recommended, but 64B can be set too if needed for 4K by DCN. * Since there is no reason to ever disable 128B, require it. - * DCC image stores are always supported. + * If 64B is used, DCC image stores are unsupported. */ return surf->u.gfx9.color.dcc.independent_128B_blocks && surf->u.gfx9.color.dcc.max_compressed_block_size <= V_028C78_MAX_BLOCK_SIZE_128B;