panfrost: Add GPU IDs for G52 1-Core-2EE (RK3568/RK3566)
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 11 May 2021 19:57:25 +0000 (16:57 -0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 May 2021 20:45:44 +0000 (20:45 +0000)
commite1959f0f5990fc73e78a7431a800c623b6fc5208
tree0da8eb61b416ed9e7d47b238dec05165639ed77d
parent01ef56a7e49cf0f6c93748333e903ba1776c720f
panfrost: Add GPU IDs for G52 1-Core-2EE (RK3568/RK3566)

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>
src/gallium/drivers/panfrost/pan_screen.c
src/panfrost/bifrost/bi_quirks.h
src/panfrost/include/panfrost-quirks.h
src/panfrost/lib/pan_props.c