[PATCH v4 12/14] drm/msm/a6xx: Use adreno_is_aXYZ macros in speedbin matching

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Tue Mar 28 15:30:52 UTC 2023


On 14/03/2023 17:28, Konrad Dybcio wrote:
> Before transitioning to using per-SoC and not per-Adreno speedbin
> fuse values (need another patchset to land elsewhere), a good
> improvement/stopgap solution is to use adreno_is_aXYZ macros in
> place of explicit revision matching. Do so to allow differentiating
> between A619 and A619_holi.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio at linaro.org>
> ---
>   drivers/gpu/drm/msm/adreno/a6xx_gpu.c   | 18 +++++++++---------
>   drivers/gpu/drm/msm/adreno/adreno_gpu.h | 14 ++++++++++++--
>   2 files changed, 21 insertions(+), 11 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry



More information about the dri-devel mailing list