[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230727212208.102501-1-robdclark@gmail.com>
Date: Thu, 27 Jul 2023 14:20:05 -0700
From: Rob Clark <robdclark@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: freedreno@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Akhil P Oommen <quic_akhilpo@...cinc.com>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Rob Clark <robdclark@...omium.org>,
Adam Skladowski <a39.skl@...il.com>,
Bjorn Andersson <andersson@...nel.org>,
Chia-I Wu <olvaffe@...il.com>,
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS), Douglas Anderson <dianders@...omium.org>,
Elliot Berman <quic_eberman@...cinc.com>,
Guru Das Srinagesh <quic_gurus@...cinc.com>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Johan Hovold <johan+linaro@...nel.org>,
linux-kernel@...r.kernel.org (open list),
Marijn Suijten <marijn.suijten@...ainline.org>,
Mukesh Ojha <quic_mojha@...cinc.com>,
Rob Clark <robdclark@...il.com>, Rob Herring <robh@...nel.org>,
Sean Paul <sean@...rly.run>,
Ulf Hansson <ulf.hansson@...aro.org>
Subject: [PATCH v2 00/13] drm/msm/adreno: Move away from legacy revision matching
From: Rob Clark <robdclark@...omium.org>
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
Powered by blists - more mailing lists