[PATCH 0/5] fbdev: devm_register_framebuffer() and some fixes for efifb

Thomas Weißschuh linux at weissschuh.net
Tue Aug 27 15:25:11 UTC 2024


Some random optimization and fixes I came up with while looking at
efifb.c.

I can't get the efifb driver to probe on my hardware,
so this is only compile-tested.
If somebody could actually test it, that would be great.

Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>
---
Thomas Weißschuh (5):
      fbdev/efifb: Use stack memory for screeninfo structs
      fbdev/efifb: Register sysfs groups through driver core
      fbdev: Introduce devm_register_framebuffer()
      fbdev/efifb: Use devm_register_framebuffer()
      fbdev/efifb: Use driver-private screen_info for sysfs

 drivers/video/fbdev/core/fbmem.c | 24 +++++++++++++++
 drivers/video/fbdev/efifb.c      | 63 +++++++++++++++-------------------------
 include/linux/fb.h               |  1 +
 3 files changed, 49 insertions(+), 39 deletions(-)
---
base-commit: 3e9bff3bbe1355805de919f688bef4baefbfd436
change-id: 20240827-efifb-sysfs-ea08d70c8c46

Best regards,
-- 
Thomas Weißschuh <linux at weissschuh.net>



More information about the dri-devel mailing list