From 050acb9def3f03a3a72d07a40a739eb66fdbadb0 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Fri, 28 Mar 2025 11:40:43 -0700 Subject: [PATCH] intel: Disable has_bfloat16 for MTL Not supported. Some operations *do* work, but proper support was removed since it also doesn't support DPAS. Fixes: 9916cc1050b ("brw: Add BRW_TYPE_BF for bfloat16") Reviewed-by: Rohan Garg Reviewed-by: Ian Romanick Part-of: --- src/intel/dev/intel_device_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 131242cd06e..5265ce4bb74 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -1105,6 +1105,7 @@ static const struct intel_device_info intel_device_info_atsm_g11 = { .platform = INTEL_PLATFORM_ ## platform_suffix, \ .has_64bit_float = true, \ .has_64bit_float_via_math_pipe = true, \ + .has_bfloat16 = false, \ /* BSpec 55414 (r53716). */ \ .has_systolic = false, \ /* BSpec 45101 (r51017) */ \ @@ -1133,6 +1134,7 @@ static const struct intel_device_info intel_device_info_arl_u = { static const struct intel_device_info intel_device_info_arl_h = { MTL_CONFIG(ARL_H), + .has_bfloat16 = true, /* BSpec 55414 (r53716). */ .has_systolic = true, };