1
0
Fork 0
alistair23-linux/drivers/gpu/drm/panfrost
Neil Armstrong 6c3a1aabfc drm/panfrost: add amlogic reset quirk callback
[ Upstream commit 1100030022 ]

The T820, G31 & G52 GPUs integrated by Amlogic in the respective GXM,
G12A/SM1 & G12B SoCs needs a quirk in the PWR registers at the GPU reset
time.

Since the Amlogic's integration of the GPU cores with the SoC is not
publicly documented we do not know what does these values, but they
permit having a fully functional GPU running with Panfrost.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[Steven: Fix typo in commit log]
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200916150147.25753-3-narmstrong@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:58:05 +01:00
..
Kconfig drm/panfrost: Require the simple_ondemand governor 2019-06-10 09:30:34 -06:00
Makefile drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
TODO drm/panfrost: Implement per FD address spaces 2019-08-19 11:34:57 -05:00
panfrost_devfreq.c drm/panfrost: Add missing check for pfdev->regulator 2020-01-26 10:01:03 +01:00
panfrost_devfreq.h drm/panfrost: Remove opp table when unloading 2019-08-19 11:38:51 -05:00
panfrost_device.c drm/panfrost: Fix regulator_get_optional() misuse 2019-09-19 11:45:44 -05:00
panfrost_device.h drm/panfrost: Remove unnecessary hwaccess_lock spin_lock 2019-08-30 09:53:52 -05:00
panfrost_drv.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-19 19:53:04 +01:00
panfrost_features.h
panfrost_gem.c drm/panfrost: Use kvfree() to free bo->sgts 2020-08-21 13:05:39 +02:00
panfrost_gem.h drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-19 19:53:04 +01:00
panfrost_gem_shrinker.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-19 19:53:04 +01:00
panfrost_gpu.c drm/panfrost: add amlogic reset quirk callback 2020-10-29 09:58:05 +01:00
panfrost_gpu.h drm/panfrost: add amlogic reset quirk callback 2020-10-29 09:58:05 +01:00
panfrost_issues.h
panfrost_job.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-19 19:53:04 +01:00
panfrost_job.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-29 16:45:25 +01:00
panfrost_mmu.c drm/panfrost: Use kvfree() to free bo->sgts 2020-08-21 13:05:39 +02:00
panfrost_mmu.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-29 16:45:25 +01:00
panfrost_perfcnt.c drm/panfrost: perfcnt: Reserve/use the AS attached to the perfcnt MMU context 2020-02-28 17:22:17 +01:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-17 19:56:24 +01:00
panfrost_regs.h drm/panfrost: add amlogic reset quirk callback 2020-10-29 09:58:05 +01:00