mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 0e9e925112fabdbd448e17947796317a6dbca96e Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 19 Oct 2023 10:32:04 +0100
|
|
Subject: [PATCH] drm/fb_helper: Change query for FB designation from drm_fb to
|
|
drm-fb
|
|
|
|
Fixes: 1216ea56c2e3 ("drm/fb-helper: Look up preferred fbdev node number from DT")
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/drm_fb_helper.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/drm_fb_helper.c
|
|
+++ b/drivers/gpu/drm/drm_fb_helper.c
|
|
@@ -1967,11 +1967,11 @@ __drm_fb_helper_initial_config_and_unloc
|
|
* register the fbdev emulation instance in kernel_fb_helper_list. */
|
|
mutex_unlock(&fb_helper->lock);
|
|
|
|
- id = of_alias_get_highest_id("drm_fb");
|
|
+ id = of_alias_get_highest_id("drm-fb");
|
|
if (id >= 0)
|
|
fb_set_lowest_dynamic_fb(id + 1);
|
|
|
|
- id = of_alias_get_id(dev->dev->of_node, "drm_fb");
|
|
+ id = of_alias_get_id(dev->dev->of_node, "drm-fb");
|
|
if (id >= 0) {
|
|
info->node = id;
|
|
info->custom_fb_num = true;
|