linux-stable/drivers/video/fbdev/matrox
Thomas Zimmermann dc9c80b0c6 fbdev/matroxfb: Initialize fb_ops to fbdev I/O-memory helpers
Initialize each instance of struct fb_ops with fbdev initializer
macros for framebuffers in I/O address space. Set the read/write,
draw and mmap callbacks to the correct implementation and avoid
implicit defaults. Also select the necessary I/O helpers in Kconfig.

Fbdev drivers sometimes rely on the callbacks being NULL for a
default implementation to be invoked; hence requiring the I/O
helpers to be built in any case. Setting all callbacks in all
drivers explicitly will allow to make the I/O helpers optional.
This benefits systems that do not use these functions.

No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230927074722.6197-23-tzimmermann@suse.de
2023-10-19 12:55:45 +02:00
..
g450_pll.c
g450_pll.h
i2c-matroxfb.c
Makefile
matroxfb_accel.c fbdev/matrox: Remove trailing whitespaces 2023-05-18 11:06:17 +02:00
matroxfb_accel.h
matroxfb_base.c fbdev/matroxfb: Initialize fb_ops to fbdev I/O-memory helpers 2023-10-19 12:55:45 +02:00
matroxfb_base.h fbdev/matrox: Remove trailing whitespaces 2023-05-18 11:06:17 +02:00
matroxfb_crtc2.c fbdev/matroxfb: Initialize fb_ops to fbdev I/O-memory helpers 2023-10-19 12:55:45 +02:00
matroxfb_crtc2.h
matroxfb_DAC1064.c
matroxfb_DAC1064.h
matroxfb_g450.c
matroxfb_g450.h
matroxfb_maven.c fbdev: matroxfb ssd1307fb: Switch i2c drivers back to use .probe() 2023-05-27 08:18:18 +02:00
matroxfb_maven.h
matroxfb_misc.c
matroxfb_misc.h
matroxfb_Ti3026.c
matroxfb_Ti3026.h