]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/a6xx: Store primFifoThreshold in struct a6xx_info
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 28 Aug 2024 15:06:55 +0000 (17:06 +0200)
committerRob Clark <robdclark@chromium.org>
Sun, 1 Sep 2024 15:17:53 +0000 (08:17 -0700)
commit2bbb5fe3905500a895d7a593c1191be2fa1288d7
treee7506c25cad0977e938310d217946611a1bf7611
parent1b3975efc1a923327577dbf77476688674fcffb7
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>
drivers/gpu/drm/msm/adreno/a6xx_catalog.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.h