mbox series

[v2,0/4] fbdev: Remove global screen_info in efifb/vesafb

Message ID 20231204092812.2612-1-tzimmermann@suse.de
Headers show
Series fbdev: Remove global screen_info in efifb/vesafb | expand

Message

Thomas Zimmermann Dec. 4, 2023, 9:27 a.m. UTC
Replace the global instance of screen_info with the per-device instance
that is set by the sysfb code. The use of the global screen_info should
be limited and ideally be pushed into per-architecture code.

v2:
	* comment on devm_kmemdup() usage (Javier)

Thomas Zimmermann (4):
  fbdev/efifb: Replace references to global screen_info by local pointer
  fbdev/efifb: Use screen_info pointer from device
  fbdev/vesafb: Replace references to global screen_info by local
    pointer
  fbdev/vesafb: Use screen_info pointer from device

 drivers/video/fbdev/efifb.c  | 125 ++++++++++++++++++++---------------
 drivers/video/fbdev/vesafb.c |  78 +++++++++++++---------
 2 files changed, 117 insertions(+), 86 deletions(-)