diff options
| author | Miro Kropacek <miro.kropacek@gmail.com> | 2026-08-20 10:28:35 +1200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-08-21 00:02:41 +0200 |
| commit | d7dda89ad05173f9bbb795cd3cfc38262381f7f4 (patch) | |
| tree | 93c0349e5821415a479542391489788e74c7ae34 /tools/perf/scripts/python | |
| parent | f8e43fe0f22b7137ce456e6fe3581d3098174f74 (diff) | |
fbdev: atafb: Give atafb proper parent
The atafb fb device registers no parent, causing a missing symlink
(/sys/class/graphics/fb0/device). Xorg fbdevhw driver looks for that
symlink when scanning for devices, so add a parent node for atafb.
The proper way to do that is use of framebuffer_alloc(), which
requries refactoring atafb to move from static fb_info to allocation
of fb_info by framebuffer_alloc().
About the only location where a fb_info pointer cannot be passed
is monspec setup in atafb_setup(). Store static monspecs there
and copy into place after framebuffer_alloc().
Pass fb_info everywhere it's needed (detect, decode_var and
do_fb_set_var functions), and remove the static fb_info struct.
Signed-off-by: Miro Kropacek <miro.kropacek@gmail.com>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Link: https://lists.debian.org/debian-68k/2026/08/msg00000.html
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
