588d1133760325b1019c0a958d33d050e786b71f
[openwrt/staging/xback.git] /
1 From 50876c5cd95770e788cccf670536ace8d7804f9f Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 19 Oct 2023 10:32:04 +0100
4 Subject: [PATCH 0684/1085] drm/fb_helper: Change query for FB designation from
5 drm_fb to drm-fb
6
7 Fixes: 1216ea56c2e3 ("drm/fb-helper: Look up preferred fbdev node number from DT")
8 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
9 ---
10 drivers/gpu/drm/drm_fb_helper.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 --- a/drivers/gpu/drm/drm_fb_helper.c
14 +++ b/drivers/gpu/drm/drm_fb_helper.c
15 @@ -1868,11 +1868,11 @@ __drm_fb_helper_initial_config_and_unloc
16 * register the fbdev emulation instance in kernel_fb_helper_list. */
17 mutex_unlock(&fb_helper->lock);
18
19 - id = of_alias_get_highest_id("drm_fb");
20 + id = of_alias_get_highest_id("drm-fb");
21 if (id >= 0)
22 fb_set_lowest_dynamic_fb(id + 1);
23
24 - id = of_alias_get_id(dev->dev->of_node, "drm_fb");
25 + id = of_alias_get_id(dev->dev->of_node, "drm-fb");
26 if (id >= 0) {
27 info->node = id;
28 info->custom_fb_num = true;