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 <ezequiel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10921>
This commit is contained in:
Ezequiel Garcia 2021-05-21 10:08:20 -03:00 committed by Marge Bot
parent b6d47f482c
commit ae6bc7a9d0
3 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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:

View File

@ -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");
}