Lines Matching +full:simple +full:- +full:framebuffer

1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
8 * Simple-Framebuffer support
9 * Create a platform-device for any available boot framebuffer. The
10 * simple-framebuffer platform device is already available on DT systems, so
12 * platform device compatible with the "simple-framebuffer" DT object. If
13 * the framebuffer is incompatible, we instead create a legacy
14 * "vesa-framebuffer", "efi-framebuffer" or "platform-framebuffer" device and
16 * to pick these devices up without messing with simple-framebuffer drivers.
19 * If CONFIG_SYSFB_SIMPLEFB is not selected, never register "simple-framebuffer"
20 * platform devices, but only use legacy framebuffer devices for
23 * TODO: We set the dev_id field of all platform-devices to 0. This allows
53 * sysfb_disable() - disable the Generic System Framebuffers support
55 * This disables the registration of system framebuffer devices that match the
56 * generic drivers that make use of the system framebuffer set up by firmware.
61 * against sysfb_init(), that registers a system framebuffer device.
86 /* try to create a simple-framebuffer device */ in sysfb_init()
94 /* if the FB is incompatible, create a legacy framebuffer device */ in sysfb_init()
95 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init()
96 name = "efi-framebuffer"; in sysfb_init()
97 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init()
98 name = "vesa-framebuffer"; in sysfb_init()
99 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) in sysfb_init()
100 name = "vga-framebuffer"; in sysfb_init()
101 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) in sysfb_init()
102 name = "ega-framebuffer"; in sysfb_init()
104 name = "platform-framebuffer"; in sysfb_init()
108 ret = -ENOMEM; in sysfb_init()