mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 159ab216c1f7f23bf8db8103090b02d026fc6f51 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Tue, 19 May 2020 16:20:30 +0100
|
|
Subject: [PATCH 002/726] drm/vc4: Add FKMS as an acceptable node for dma
|
|
ranges.
|
|
|
|
Under FKMS, the firmware (via FKMS) also requires the VideoCore cache
|
|
aliases for image planes, as defined by the dma-ranges under /soc.
|
|
|
|
Add rpi-firmware-kms to the list of acceptable nodes to look for
|
|
to copy dma config from.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_drv.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c
|
|
index 8c329c071c62..5a1c2f3ded30 100644
|
|
--- a/drivers/gpu/drm/vc4/vc4_drv.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_drv.c
|
|
@@ -276,6 +276,7 @@ static void vc4_component_unbind_all(void *ptr)
|
|
static const struct of_device_id vc4_dma_range_matches[] = {
|
|
{ .compatible = "brcm,bcm2711-hvs" },
|
|
{ .compatible = "brcm,bcm2835-hvs" },
|
|
+ { .compatible = "raspberrypi,rpi-firmware-kms" },
|
|
{ .compatible = "brcm,bcm2835-v3d" },
|
|
{ .compatible = "brcm,cygnus-v3d" },
|
|
{ .compatible = "brcm,vc4-v3d" },
|
|
--
|
|
2.33.1
|
|
|