Files
BPI-CM9-Linux/build/patch/kernel/archive/meson-6.12/0046-drm-meson-add-Meson8-Meson8b-Meson8m2-specific-vpu_c.patch

40 lines
1.1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Martin Blumenstingl <[email protected]>
Date: Sat, 25 Apr 2020 21:50:45 +0200
Subject: drm/meson: add Meson8/Meson8b/Meson8m2 specific vpu_compatible
entries
Add values for Meson8/Meson8b/Meson8m2 to enum vpu_compatible so quirks
for these earlier hardware generations can be added to the driver.
Signed-off-by: Martin Blumenstingl <[email protected]>
---
drivers/gpu/drm/meson/meson_drv.h | 11 ++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/meson/meson_drv.h b/drivers/gpu/drm/meson/meson_drv.h
index 111111111111..222222222222 100644
--- a/drivers/gpu/drm/meson/meson_drv.h
+++ b/drivers/gpu/drm/meson/meson_drv.h
@@ -20,10 +20,13 @@ struct phy;
struct platform_device;
enum vpu_compatible {
- VPU_COMPATIBLE_GXBB = 0,
- VPU_COMPATIBLE_GXL = 1,
- VPU_COMPATIBLE_GXM = 2,
- VPU_COMPATIBLE_G12A = 3,
+ VPU_COMPATIBLE_M8 = 0,
+ VPU_COMPATIBLE_M8B = 1,
+ VPU_COMPATIBLE_M8M2 = 2,
+ VPU_COMPATIBLE_GXBB = 3,
+ VPU_COMPATIBLE_GXL = 4,
+ VPU_COMPATIBLE_GXM = 5,
+ VPU_COMPATIBLE_G12A = 6,
};
enum {
--
Armbian