drm/msm/adreno: Generate name from chipid for 7c3
authorAkhil P Oommen <quic_akhilpo@quicinc.com>
Fri, 25 Feb 2022 19:21:29 +0000 (00:51 +0530)
committerRob Clark <robdclark@chromium.org>
Fri, 25 Feb 2022 21:29:57 +0000 (13:29 -0800)
commite2f76193958be91baed84583b2c638f8ca8b3bc2
tree0d757a3bc9587f89c6e90ce969d37898d271b7ea
parent0737ab95a0f4e0e133efe7cfdb0449bc35b3b893
drm/msm/adreno: Generate name from chipid for 7c3

Use a gpu name which is sprintf'ed from the chipid for 7c3 gpu instead of
hardcoding one. This helps to avoid code churn in case of a gpu rename.

Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Link: https://lore.kernel.org/r/20220226005021.v2.2.I9436e0e300f76b2e6c34136a0b902e8cfd73e0d6@changeid
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c