drm/msm/adreno: Switch to chip-id for identifying GPU
authorRob Clark <robdclark@chromium.org>
Thu, 27 Jul 2023 21:20:18 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 21:22:36 +0000 (14:22 -0700)
commit90b593ce1c9e979e64f6dd3dccec11ed3654077f
tree08b174e0d4c27326318d2127cfff108347fb6376
parentb42ab8545eb3529ff80534148e2ddb5c998d14c3
drm/msm/adreno: Switch to chip-id for identifying GPU

Since the revision becomes an opaque identifier with future GPUs, move
away from treating different ranges of bits as having a given meaning.
This means that we need to explicitly list different patch revisions in
the device table.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/549782/
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_power.c
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h