bcm27xx: update patches from RPi foundation
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0754-drm-vc4-Add-FKMS-as-an-acceptable-node-for-dma-range.patch
1 From 971a2bb14b459819db1bda8fcdf953e493242b42 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 19 May 2020 16:20:30 +0100
4 Subject: [PATCH] drm/vc4: Add FKMS as an acceptable node for dma
5 ranges.
6
7 Under FKMS, the firmware (via FKMS) also requires the VideoCore cache
8 aliases for image planes, as defined by the dma-ranges under /soc.
9
10 Add rpi-firmware-kms to the list of acceptable nodes to look for
11 to copy dma config from.
12
13 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
14 ---
15 drivers/gpu/drm/vc4/vc4_drv.c | 1 +
16 1 file changed, 1 insertion(+)
17
18 --- a/drivers/gpu/drm/vc4/vc4_drv.c
19 +++ b/drivers/gpu/drm/vc4/vc4_drv.c
20 @@ -251,6 +251,7 @@ static void vc4_match_add_drivers(struct
21
22 const struct of_device_id vc4_dma_range_matches[] = {
23 { .compatible = "brcm,bcm2835-hvs" },
24 + { .compatible = "raspberrypi,rpi-firmware-kms" },
25 { .compatible = "brcm,bcm2835-v3d" },
26 { .compatible = "brcm,cygnus-v3d" },
27 { .compatible = "brcm,vc4-v3d" },