drm/panfrost: Add the MT8192 GPU ID
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 16 Mar 2023 10:20:38 +0000 (11:20 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 23 Mar 2023 09:43:17 +0000 (10:43 +0100)
commit6ba1fd698620dcc328f897aa4d3c3bb8f7543e00
tree25ad802f9932978b3d4b18ba2966db367d5d2c8d
parenta769a7af9d0df53d638fedc87332ca0aec80267b
drm/panfrost: Add the MT8192 GPU ID

MediaTek MT8192 has a Mali-G57 with a special GPU ID. Add its GPU ID,
but treat it as otherwise identical to a standard Mali-G57.

We do _not_ fix up the GPU ID here -- userspace needs to be aware of the
special GPU ID, in case we find functional differences between
MediaTek's implementation and the standard Mali-G57 down the line.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316102041.210269-10-angelogioacchino.delregno@collabora.com
drivers/gpu/drm/panfrost/panfrost_gpu.c