[Freedreno] [PATCH 05/12] drm/msm/adreno: Use quirk to identify cached-coherent support

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Jul 7 02:29:36 UTC 2023


On 07/07/2023 00:10, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
> 
> 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.

Would it be better to push this to DT? I mean, we already have a 
'dma-cache-coherent' property for it.

> 
> Signed-off-by: Rob Clark <robdclark at chromium.org>
> ---
>   drivers/gpu/drm/msm/adreno/adreno_device.c | 23 +++++++++++++++-------
>   drivers/gpu/drm/msm/adreno/adreno_gpu.h    |  1 +
>   2 files changed, 17 insertions(+), 7 deletions(-)
> 

-- 
With best wishes
Dmitry



More information about the dri-devel mailing list