From 70f193ffcf39124b975a912a0c80f6de3b6b1976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Thu, 7 Oct 2021 08:27:09 +0300 Subject: [PATCH] intel/isl: FXT1 support was removed on Gfx12.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: cleanup (Jordan Justen) Signed-off-by: Tapani Pälli Reviewed-by: Adam Jackson Reviewed-by: Jason Ekstrand Reviewed-by: Jordan Justen Part-of: --- src/intel/isl/isl_format.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index de2b5eaaf9d..321b857719a 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -735,13 +735,14 @@ isl_format_supports_sampling(const struct intel_device_info *devinfo, return true; } else if (devinfo->verx10 >= 125) { const struct isl_format_layout *fmtl = isl_format_get_layout(format); - /* ASTC support was removed from the hardware on Gfx12.5. Annoyingly, - * our format_info table doesn't have a concept of things being removed - * so we handle it as yet another special case. + /* ASTC & FXT1 support was removed from the hardware on Gfx12.5. + * Annoyingly, our format_info table doesn't have a concept of things + * being removed so we handle it as yet another special case. + * + * See HSD 1408144932 (ASTC), 1407633611 (FXT1) * - * See HSD 1408144932 */ - if (fmtl->txc == ISL_TXC_ASTC) + if (fmtl->txc == ISL_TXC_ASTC || fmtl->txc == ISL_TXC_FXT1) return false; }