drm/msm/adreno: Add adreno family
authorRob Clark <robdclark@chromium.org>
Thu, 27 Jul 2023 21:20:14 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 21:21:19 +0000 (14:21 -0700)
commit67133dc086963a01b0446665b148aa6d39085db9
tree67807276dfb7f025a8c1d50b2d900f038d8d130c
parent75a5227c0d1d2a8c20cf4b2d0f2e030d43dc13eb
drm/msm/adreno: Add adreno family

Sometimes it is useful to know the sub-generation (or "family").  And in
any case, this helps us get away from infering the generation from the
numerical chip-id.

v2: Fix is_a2xx() typo

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