mbox series

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

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

Message

Thomas Zimmermann Dec. 6, 2023, 1:50 p.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.

v3:
	* better const correctness in efifb (Sui)
	* fix build for deferred takeover (kernel test robot)
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  | 136 +++++++++++++++++++----------------
 drivers/video/fbdev/vesafb.c |  78 ++++++++++++--------
 2 files changed, 123 insertions(+), 91 deletions(-)

Comments

Thomas Zimmermann Dec. 18, 2023, 11:23 a.m. UTC | #1
I'm going to merge this patchset through drm-misc-next

Am 06.12.23 um 14:50 schrieb Thomas Zimmermann:
> 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.
> 
> v3:
> 	* better const correctness in efifb (Sui)
> 	* fix build for deferred takeover (kernel test robot)
> 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  | 136 +++++++++++++++++++----------------
>   drivers/video/fbdev/vesafb.c |  78 ++++++++++++--------
>   2 files changed, 123 insertions(+), 91 deletions(-)
>