Skip to content

Commit

Permalink
drm/fb_helper: Change query for FB designation from drm_fb to drm-fb
Browse files Browse the repository at this point in the history
Fixes: 1216ea5 ("drm/fb-helper: Look up preferred fbdev node number from DT")
Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 committed Oct 19, 2023
1 parent d5a4a77 commit 79b9f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1967,11 +1967,11 @@ __drm_fb_helper_initial_config_and_unlock(struct drm_fb_helper *fb_helper,
* 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;
Expand Down

0 comments on commit 79b9f4f

Please sign in to comment.