950-0424-drm-vc4-Add-FKMS-as-an-acceptable-node-for-dma-range.patch 1001 B

123456789101112131415161718192021222324252627
  1. From 96a858966375106d5ddaa1090b5a35cebfa5b6e8 Mon Sep 17 00:00:00 2001
  2. From: Dave Stevenson <[email protected]>
  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. Under FKMS, the firmware (via FKMS) also requires the VideoCore cache
  7. aliases for image planes, as defined by the dma-ranges under /soc.
  8. Add rpi-firmware-kms to the list of acceptable nodes to look for
  9. to copy dma config from.
  10. Signed-off-by: Dave Stevenson <[email protected]>
  11. ---
  12. drivers/gpu/drm/vc4/vc4_drv.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/drivers/gpu/drm/vc4/vc4_drv.c
  15. +++ b/drivers/gpu/drm/vc4/vc4_drv.c
  16. @@ -227,6 +227,7 @@ static const struct of_device_id vc4_dma
  17. const struct of_device_id vc4_dma_range_matches[] = {
  18. { .compatible = "brcm,bcm2835-hvs" },
  19. + { .compatible = "raspberrypi,rpi-firmware-kms" },
  20. { .compatible = "brcm,bcm2835-v3d" },
  21. { .compatible = "brcm,cygnus-v3d" },
  22. { .compatible = "brcm,vc4-v3d" },