{"precompile", PAN_DBG_PRECOMPILE, "Precompile shaders for shader-db"},
{"gles3", PAN_DBG_GLES3, "Enable experimental GLES3 implementation"},
{"fp16", PAN_DBG_FP16, "Enable buggy experimental (don't use!) fp16"},
+ {"bifrost", PAN_DBG_BIFROST, "Enable experimental Mali G31 and G52 support"},
DEBUG_NAMED_VALUE_END
};
case 0x820: /* T820 */
case 0x860: /* T860 */
break;
+ case 0x7093: /* G31 */
+ case 0x7212: /* G52 */
+ if (pan_debug & PAN_DBG_BIFROST)
+ break;
+
+ /* fallthrough */
default:
/* Fail to load against untested models */
debug_printf("panfrost: Unsupported model %X", dev->gpu_id);
#define PAN_DBG_PRECOMPILE 0x0020
#define PAN_DBG_GLES3 0x0040
#define PAN_DBG_FP16 0x0080
+#define PAN_DBG_BIFROST 0x0100
extern int pan_debug;