From ae6bc7a9d0c1638154de5c984329fb668b0606c5 Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Fri, 21 May 2021 10:08:20 -0300 Subject: [PATCH] panfrost: Rename G52 product ID 0x7402 as G52r1 As pointed out by Robin Murphy, the new product ID belongs to IP revision "G52r1". Signed-off-by: Ezequiel Garcia Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- src/panfrost/include/panfrost-quirks.h | 2 +- src/panfrost/lib/pan_props.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 67766f7701b..aee8241c2a3 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -851,7 +851,7 @@ panfrost_create_screen(int fd, struct renderonly *ro) case 0x6221: /* G72 */ case 0x7093: /* G31 */ case 0x7212: /* G52 */ - case 0x7402: /* G52L */ + case 0x7402: /* G52r1 */ break; default: /* Fail to load against untested models */ diff --git a/src/panfrost/include/panfrost-quirks.h b/src/panfrost/include/panfrost-quirks.h index 4c46e2ab4c4..5c9000647ce 100644 --- a/src/panfrost/include/panfrost-quirks.h +++ b/src/panfrost/include/panfrost-quirks.h @@ -116,7 +116,7 @@ panfrost_get_quirks(unsigned gpu_id, unsigned gpu_revision) case 0x7093: /* G31 */ case 0x7212: /* G52 */ - case 0x7402: /* G52L */ + case 0x7402: /* G52r1 */ return BIFROST_QUIRKS | HAS_ANISOTROPIC; default: diff --git a/src/panfrost/lib/pan_props.c b/src/panfrost/lib/pan_props.c index 1c610f08dc6..3837d1e7730 100644 --- a/src/panfrost/lib/pan_props.c +++ b/src/panfrost/lib/pan_props.c @@ -217,7 +217,7 @@ panfrost_model_name(unsigned gpu_id) case 0x6221: return "Mali G72 (Panfrost)"; case 0x7093: return "Mali G31 (Panfrost)"; case 0x7212: return "Mali G52 (Panfrost)"; - case 0x7402: return "Mali G52L (Panfrost)"; + case 0x7402: return "Mali G52r1 (Panfrost)"; default: unreachable("Invalid GPU ID"); }