summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2024-06-18 09:42:51 -0700
committerRob Clark <robdclark@chromium.org>2024-06-20 09:45:37 -0700
commitfccf9dd00893eff49d3a86b43280fd2ab8736298 (patch)
treed65552af0c0aaba3f8ae57fca7415ad86cd7bb91 /drivers/gpu/drm/msm/adreno/a6xx_gpu.h
parentdff2f69f3e8a6ea67b3e566424043430b05c3186 (diff)
downloadlwn-fccf9dd00893eff49d3a86b43280fd2ab8736298.tar.gz
lwn-fccf9dd00893eff49d3a86b43280fd2ab8736298.zip
drm/msm/adreno: Move CP_PROTECT settings to hw catalog
Move the CP_PROTECT settings into the hw catalog. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/599731/
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a6xx_gpu.h')
-rw-r--r--drivers/gpu/drm/msm/adreno/a6xx_gpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
index 2fc7cf6b2d72..1c3cc6df70fe 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
@@ -16,9 +16,11 @@ extern bool hang_debug;
* struct a6xx_info - a6xx specific information from device table
*
* @hwcg: hw clock gating register sequence
+ * @protect: CP_PROTECT settings
*/
struct a6xx_info {
const struct adreno_reglist *hwcg;
+ const struct adreno_protect *protect;
};
struct a6xx_gpu {