[PATCH v3 0/3] Support Adreno 7c Gen 3 gpu

From: Akhil P Oommen
Date: Thu Jul 29 2021 - 11:22:43 EST


This series adds support for the gpu found in the Snapdragon 7c Gen 3
compute platform. This gpu is similar to the exisiting a660 gpu with
minor delta in the programing sequence. As the Adreno GPUs are moving
away from a numeric chipid based naming scheme to a string, it was
decided to use 0x06030500 as the gpu id of this gpu to communicate
to the userspace driver.

Changes in v3:
- Add a cover letter.

Changes in v2:
- Use rev to identify SKU
- Introduce adreno_is_a660_family() (Rob)
- Remove revn for 7c3 (Rob)
- Remove CPR register programing since they are not required for 7c3

Akhil P Oommen (3):
drm/msm/a6xx: Fix llcc configuration for a660 gpu
drm/msm/a6xx: Use rev to identify SKU
drm/msm/a6xx: Add support for Adreno 7c Gen 3 gpu

drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 8 ++-
drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 1 +
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 87 ++++++++++++++++++------------
drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 32 +++++++++++
drivers/gpu/drm/msm/adreno/adreno_device.c | 27 +++++++---
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 18 ++++++-
6 files changed, 129 insertions(+), 44 deletions(-)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation.