drm/panfrost: add Amlogic GPU integration quirks
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 16 Sep 2020 15:01:47 +0000 (17:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:08:24 +0000 (10:08 +0100)
commit8159f330f25ece23e096cbb5af0b5df4da7b571c
tree2c294fe9bd990c9f376ad0241dbdd70131b8fbd0
parent7f5972267295fe49f8da8eb42bc2eb3d140860c0
drm/panfrost: add Amlogic GPU integration quirks

[ Upstream commit afcd0c7d3d4c22afc8befcfc906db6ce3058d3ee ]

This adds the required GPU quirks, including the quirk in the PWR
registers at the GPU reset time and the IOMMU quirk for shareability
issues observed on G52 in Amlogic G12B SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
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-4-narmstrong@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panfrost/panfrost_drv.c