[PATCH v2 00/13] drm/msm/adreno: Move away from legacy revision matching

Rob Clark
2023-07-27T21:22:41Z

Downstream seems to be moving to using the chip_id as simply an opaque
identifier, and if we want to avoid headaches with userspace mesa
supporting both kgsl and upstream, we should move away from the
assumption that certain bits in the chip_id have a specific meaning.

v2 adds a patch to move adreno_info to adreno_platform_config rather
than needing to look it up in multiple places.

Rob Clark (13):
drm/msm/adreno: Remove GPU name
drm/msm/adreno: Remove redundant gmem size param
drm/msm/adreno: Remove redundant revn param
drm/msm/adreno: Use quirk identify hw_apriv
drm/msm/adreno: Use quirk to identify cached-coherent support
drm/msm/adreno: Allow SoC specific gpu device table entries
drm/msm/adreno: Move speedbin mapping to device table
drm/msm/adreno: Bring the a630 family together
drm/msm/adreno: Add adreno family
drm/msm/adreno: Add helper for formating chip-id
drm/msm/adreno: Move adreno info to config
dt-bindings: drm/msm/gpu: Extend bindings for chip-id
drm/msm/adreno: Switch to chip-id for identifying GPU

.../devicetree/bindings/display/msm/gpu.yaml | 6 +
drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 4 +-
drivers/gpu/drm/msm/adreno/a5xx_power.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 16 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 189 ++---------
drivers/gpu/drm/msm/adreno/adreno_device.c | 294 ++++++++++++------
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 53 ++--
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 154 ++++++---
10 files changed, 365 insertions(+), 357 deletions(-)

--
2.41.0