diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2024-08-28 17:06:55 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2024-09-01 08:17:53 -0700 |
commit | 2bbb5fe3905500a895d7a593c1191be2fa1288d7 (patch) | |
tree | e7506c25cad0977e938310d217946611a1bf7611 /drivers/gpu/drm/msm/adreno/a6xx_gpu.h | |
parent | 1b3975efc1a923327577dbf77476688674fcffb7 (diff) |
drm/msm/a6xx: Store primFifoThreshold in struct a6xx_info
The if-else monster is so unmaintainable that one case is repeated
twice. Get rid of it.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/611092/
[add missing entry to a615 catalog to resolve conflict]
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a6xx_gpu.h')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h index e3e5c53ae8af..bc37bd8c7f65 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h @@ -22,6 +22,7 @@ struct a6xx_info { const struct adreno_reglist *hwcg; const struct adreno_protect *protect; u32 gmu_chipid; + u32 prim_fifo_threshold; }; struct a6xx_gpu { |