From: Carsten Haitzler Date: Wed, 1 Sep 2021 10:09:27 +0000 (+0100) Subject: panfrost: tidy up GPU naming to be in line with official names X-Git-Tag: upstream/22.3.5~18409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f56eb24292e11fe7acd43bd37a7c3e3f6b1be36;p=platform%2Fupstream%2Fmesa.git panfrost: tidy up GPU naming to be in line with official names Offical naming of Mali GPUs is like Mali-G52 or Mali-T860 wth a dash. Also variants of the same GPU e.g. revision 1 are generally not part of the name. This adds a dash instead of a space between Mali and the model and also splits off the r1 revision with a space. This should keep the naming in-line with offical names and with what the binary DDK uses for naming. Signed-off-by: Carsten Haitzler Part-of: --- diff --git a/src/panfrost/lib/pan_props.c b/src/panfrost/lib/pan_props.c index 08596cb..5b2827b 100644 --- a/src/panfrost/lib/pan_props.c +++ b/src/panfrost/lib/pan_props.c @@ -220,18 +220,18 @@ const char * panfrost_model_name(unsigned gpu_id) { switch (gpu_id) { - case 0x600: return "Mali T600 (Panfrost)"; - case 0x620: return "Mali T620 (Panfrost)"; - case 0x720: return "Mali T720 (Panfrost)"; - case 0x820: return "Mali T820 (Panfrost)"; - case 0x830: return "Mali T830 (Panfrost)"; - case 0x750: return "Mali T760 (Panfrost)"; - case 0x860: return "Mali T860 (Panfrost)"; - case 0x880: return "Mali T880 (Panfrost)"; - case 0x6221: return "Mali G72 (Panfrost)"; - case 0x7093: return "Mali G31 (Panfrost)"; - case 0x7212: return "Mali G52 (Panfrost)"; - case 0x7402: return "Mali G52r1 (Panfrost)"; + case 0x600: return "Mali-T600 (Panfrost)"; + case 0x620: return "Mali-T620 (Panfrost)"; + case 0x720: return "Mali-T720 (Panfrost)"; + case 0x820: return "Mali-T820 (Panfrost)"; + case 0x830: return "Mali-T830 (Panfrost)"; + case 0x750: return "Mali-T760 (Panfrost)"; + case 0x860: return "Mali-T860 (Panfrost)"; + case 0x880: return "Mali-T880 (Panfrost)"; + case 0x6221: return "Mali-G72 (Panfrost)"; + case 0x7093: return "Mali-G31 (Panfrost)"; + case 0x7212: return "Mali-G52 (Panfrost)"; + case 0x7402: return "Mali-G52 r1 (Panfrost)"; default: unreachable("Invalid GPU ID"); }