drm/msm/adreno: Use quirk to identify cached-coherent support
authorRob Clark <robdclark@chromium.org>
Thu, 27 Jul 2023 21:20:10 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 21:19:16 +0000 (14:19 -0700)
commit155668ef412fc82ff3172666831d95770141cdd6
treeee6f3cd01f3e53486319126a86de63d2c049e901
parent459f9e26e7d49f80f587d7592ccb78e00ab458e4
drm/msm/adreno: Use quirk to identify cached-coherent support

It is better to explicitly list it.  With the move to opaque chip-id's
for future devices, we should avoid trying to infer things like
generation from the numerical value.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/549765/
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h