diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-18 18:04:33 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-19 07:17:21 +0100 |
commit | 62b7f5931c54e96fca56dd8761b0e466d355c881 (patch) | |
tree | 1258b392752379833a075df006c2f6d7ac4be51d /target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch | |
parent | 76d1168d0d4b9d76e2ad78c0fc6b255561deb284 (diff) | |
download | upstream-62b7f5931c54e96fca56dd8761b0e466d355c881.tar.gz upstream-62b7f5931c54e96fca56dd8761b0e466d355c881.tar.bz2 upstream-62b7f5931c54e96fca56dd8761b0e466d355c881.zip |
bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit f07e572f64)
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch b/target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch new file mode 100644 index 0000000000..4adbe8a03c --- /dev/null +++ b/target/linux/bcm27xx/patches-5.4/950-0862-drm-vc4-FKMS-Put-includes-in-alphabetical-order-and-.patch @@ -0,0 +1,57 @@ +From 0a5e493ea20d9d24d0808d8a4e05a97deb19b423 Mon Sep 17 00:00:00 2001 +From: Dave Stevenson <dave.stevenson@raspberrypi.com> +Date: Fri, 3 Jul 2020 16:13:33 +0100 +Subject: [PATCH] drm/vc4: FKMS: Put includes in alphabetical order, + and use <> instead of "" + +Reorder the includes, and use the system include paths rather than +local ones + +Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> +--- + drivers/gpu/drm/vc4/vc4_firmware_kms.c | 29 +++++++++++++------------- + 1 file changed, 15 insertions(+), 14 deletions(-) + +--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c ++++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c +@@ -14,25 +14,26 @@ + * Pi's firmware display stack. + */ + ++#include <drm/drm_atomic_helper.h> ++#include <drm/drm_crtc_helper.h> ++#include <drm/drm_drv.h> ++#include <drm/drm_fb_cma_helper.h> ++#include <drm/drm_fourcc.h> ++#include <drm/drm_gem_framebuffer_helper.h> ++#include <drm/drm_plane_helper.h> ++#include <drm/drm_probe_helper.h> ++#include <drm/drm_vblank.h> ++ ++#include <linux/component.h> ++#include <linux/clk.h> ++#include <linux/debugfs.h> + #include <linux/module.h> + +-#include "drm/drm_atomic_helper.h" +-#include "drm/drm_gem_framebuffer_helper.h" +-#include "drm/drm_plane_helper.h" +-#include "drm/drm_crtc_helper.h" +-#include "drm/drm_fourcc.h" +-#include "drm/drm_probe_helper.h" +-#include "drm/drm_drv.h" +-#include "drm/drm_vblank.h" +-#include "linux/clk.h" +-#include "linux/debugfs.h" +-#include "drm/drm_fb_cma_helper.h" +-#include "linux/component.h" +-#include "linux/of_device.h" ++#include <soc/bcm2835/raspberrypi-firmware.h> ++ + #include "vc4_drv.h" + #include "vc4_regs.h" + #include "vc_image_types.h" +-#include <soc/bcm2835/raspberrypi-firmware.h> + + int fkms_max_refresh_rate = 85; + module_param(fkms_max_refresh_rate, int, 0644); |