Rockchip SoCs RK3566 and RK3568 have a Gondul with
one shader core and two execution engines, with product ID 0x7402.
Quoting the datasheet:
Mali-G52 1-Core-2EE
* Support 1600Mpix/s fill rate when 800MHz clock frequency
* Support 38.4GLOPs when 800MHz clock frequency
To distinguish it from other variants of G52, we agreed
to call this "G52L", L is for Little.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10771>
case 0x6221: /* G72 */
case 0x7093: /* G31 */
case 0x7212: /* G52 */
+ case 0x7402: /* G52L */
break;
default:
/* Fail to load against untested models */
return BIFROST_NO_PRELOAD;
case 0x70:
case 0x72:
+ case 0x74:
return 0;
default:
unreachable("Unknown Bifrost GPU ID");
case 0x7093: /* G31 */
case 0x7212: /* G52 */
+ case 0x7402: /* G52L */
return BIFROST_QUIRKS | HAS_ANISOTROPIC;
default:
case 0x6221: return "Mali G72 (Panfrost)";
case 0x7093: return "Mali G31 (Panfrost)";
case 0x7212: return "Mali G52 (Panfrost)";
+ case 0x7402: return "Mali G52L (Panfrost)";
default:
unreachable("Invalid GPU ID");
}