kernel-5.15/0619-panfrost-compatibility-with-Baikal-M-firmware-from-S.patch

22 lines
821 B
Diff

Subject: [PATCH 619/625] panfrost: compatibility with Baikal-M firmware from
SDK-M 4.3
Added .compatible string so the driver can be used on Baikal-M
systems with firmware from SDK-M 4.3.
Note: the driver should be explicitly enabled with
enable_broken_machines=y module parameter
Update for 5.15.28
diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c
--- a/drivers/gpu/drm/panfrost/panfrost_drv.c
+++ b/drivers/gpu/drm/panfrost/panfrost_drv.c
@@ -655,6 +655,7 @@
{ .compatible = "arm,mali-t880", .data = &default_data, },
{ .compatible = "arm,mali-bifrost", .data = &default_data, },
{ .compatible = "mediatek,mt8183-mali", .data = &mediatek_mt8183_data },
+ { .compatible = "arm,mali-midgard", .data = &default_data, },
{}
};
MODULE_DEVICE_TABLE(of, dt_match);