[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231205220526.417719-1-robdclark@gmail.com>
Date: Tue, 5 Dec 2023 14:03:26 -0800
From: Rob Clark <robdclark@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: freedreno@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
Rob Clark <robdclark@...omium.org>,
Akhil P Oommen <quic_akhilpo@...cinc.com>,
Bjorn Andersson <andersson@...nel.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Douglas Anderson <dianders@...omium.org>,
"Joel Fernandes (Google)" <joel@...lfernandes.org>,
Johan Hovold <johan+linaro@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
linux-kernel@...r.kernel.org (open list),
linux-pm@...r.kernel.org (open list:SUSPEND TO RAM),
Marijn Suijten <marijn.suijten@...ainline.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Sean Paul <sean@...rly.run>, Stephen Boyd <swboyd@...omium.org>
Subject: [PATCH 0/5] drm/msm/adreno: Introduce/rework device hw catalog
From: Rob Clark <robdclark@...omium.org>
Split the single flat gpulist table into per-gen tables that exist in
their own per-gen files, and start moving more info into the device
table. This at least gets all the big tables of register settings out
of the heart of the a6xx_gpu code. Probably more could be moved, to
remove at least some of the per-gen if/else ladders, but this seemed
like a reasonably good start.
Rob Clark (5):
drm/msm/adreno: Split up giant device table
drm/msm/adreno: Split catalog into separate files
drm/msm/adreno: Move hwcg regs to a6xx hw catalog
drm/msm/adreno: Move hwcg table into a6xx specific info
drm/msm/adreno: Move CP_PROTECT settings to hw catalog
drivers/gpu/drm/msm/Makefile | 5 +
drivers/gpu/drm/msm/adreno/a2xx_catalog.c | 53 +
drivers/gpu/drm/msm/adreno/a3xx_catalog.c | 75 ++
drivers/gpu/drm/msm/adreno/a4xx_catalog.c | 51 +
drivers/gpu/drm/msm/adreno/a5xx_catalog.c | 145 +++
drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 1118 ++++++++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 817 +-------------
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 11 +
drivers/gpu/drm/msm/adreno/adreno_device.c | 559 +---------
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 22 +-
10 files changed, 1506 insertions(+), 1350 deletions(-)
create mode 100644 drivers/gpu/drm/msm/adreno/a2xx_catalog.c
create mode 100644 drivers/gpu/drm/msm/adreno/a3xx_catalog.c
create mode 100644 drivers/gpu/drm/msm/adreno/a4xx_catalog.c
create mode 100644 drivers/gpu/drm/msm/adreno/a5xx_catalog.c
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_catalog.c
--
2.42.0
Powered by blists - more mailing lists