]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/adreno: Add support for Adreno 510 GPU
authorAngeloGioacchino Del Regno <kholk11@gmail.com>
Thu, 31 Oct 2019 10:44:02 +0000 (11:44 +0100)
committerRob Clark <robdclark@chromium.org>
Mon, 4 Nov 2019 21:18:31 +0000 (13:18 -0800)
commite905104641d49cc14b6b5ba432f94980fbac3f07
treede0d4a488a2392ecfc5d8404717178d1c3ab11c4
parent8c744baf46368337e2faa9ab971f9b032793c6a5
drm/msm/adreno: Add support for Adreno 510 GPU

The Adreno 510 GPU is a stripped version of the Adreno 5xx,
found in low-end SoCs like 8x56 and 8x76, which has 256K of
GMEM, with no GPMU nor ZAP.
Also, since the Adreno 5xx part of this driver seems to be
developed with high-end Adreno GPUs in mind, and since this
is a lower end one, add a comment making clear which GPUs
which support is not implemented yet is not using the GPMU
related hw init code, so that future developers will not go
crazy with that.

By the way, the lower end Adreno GPUs with no GPMU are:
A505/A506/A510 (usually no ZAP firmware)
A508/A509/A512 (usually with ZAP firmware)

Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_power.c
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h