mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
drm/panfrost: add Amlogic GPU integration quirks
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
This commit is contained in:
parent
1100030022
commit
afcd0c7d3d
1 changed files with 11 additions and 0 deletions
|
@ -656,7 +656,18 @@ static const struct panfrost_compatible default_data = {
|
|||
.pm_domain_names = NULL,
|
||||
};
|
||||
|
||||
static const struct panfrost_compatible amlogic_data = {
|
||||
.num_supplies = ARRAY_SIZE(default_supplies),
|
||||
.supply_names = default_supplies,
|
||||
.vendor_quirk = panfrost_gpu_amlogic_quirk,
|
||||
};
|
||||
|
||||
static const struct of_device_id dt_match[] = {
|
||||
/* Set first to probe before the generic compatibles */
|
||||
{ .compatible = "amlogic,meson-gxm-mali",
|
||||
.data = &amlogic_data, },
|
||||
{ .compatible = "amlogic,meson-g12a-mali",
|
||||
.data = &amlogic_data, },
|
||||
{ .compatible = "arm,mali-t604", .data = &default_data, },
|
||||
{ .compatible = "arm,mali-t624", .data = &default_data, },
|
||||
{ .compatible = "arm,mali-t628", .data = &default_data, },
|
||||
|
|
Loading…
Add table
Reference in a new issue