panfrost: Add GPU G76 to the set of known ids

This is another working GPU so add the ID to the known set. Working on
real silicon and tested.

Signed-off-by: Carsten Haitzler <carsten.haitzler@foss.arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14517>
This commit is contained in:
Carsten Haitzler 2022-01-12 15:39:04 +00:00 committed by Marge Bot
parent 596d2ab0ad
commit b22294f6d5
4 changed files with 5 additions and 0 deletions

View File

@ -865,6 +865,7 @@ panfrost_create_screen(int fd, struct renderonly *ro)
case 0x860: /* T860 */
case 0x6221: /* G72 */
case 0x7093: /* G31 */
case 0x7211: /* G76 */
case 0x7212: /* G52 */
case 0x7402: /* G52r1 */
break;

View File

@ -111,6 +111,7 @@ panfrost_get_quirks(unsigned gpu_id, unsigned gpu_revision)
| (gpu_revision >= 0x30 ? HAS_ANISOTROPIC : 0);
case 0x7093: /* G31 */
case 0x7211: /* G76 */
case 0x7212: /* G52 */
case 0x7402: /* G52r1 */
return BIFROST_QUIRKS | HAS_ANISOTROPIC;

View File

@ -207,6 +207,7 @@ panfrost_model_name(unsigned gpu_id)
case 0x880: return "Mali-T880 (Panfrost)";
case 0x6221: return "Mali-G72 (Panfrost)";
case 0x7093: return "Mali-G31 (Panfrost)";
case 0x7211: return "Mali-G76 (Panfrost)";
case 0x7212: return "Mali-G52 (Panfrost)";
case 0x7402: return "Mali-G52 r1 (Panfrost)";
default:

View File

@ -67,6 +67,8 @@ get_perf_config(unsigned int gpu_id)
return &panfrost_perf_config_thex;
case 0x7093:
return &panfrost_perf_config_tdvx;
case 0x7211:
return &panfrost_perf_config_tnox;
case 0x7212:
case 0x7402:
return &panfrost_perf_config_tgox;