]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7942a162b5dfcf508504332775f91a7043929c18
tree0d757a3bc9587f89c6e90ce969d37898d271b7ea
parentb10191e71f4060d3e74dc188ec6a52d5159266e3
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