Skip to content

Commit d97a784

Browse files
committed
Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
Pull fbdev updates from Helge Deller: "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch fbdev driver is for an Intel product which was never shipped, and for the intelfb and the amba-clcd drivers the drm drivers can be used instead. The other code changes are minor: some fb_deferred_io flushing fixes, imxfb margin fixes and stifb cleanups. Summary: - Remove intelfb fbdev driver (Thomas Zimmermann) - Remove amba-clcd fbdev driver (Linus Walleij) - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox) - fb_deferred_io flushing fixes (Nam Cao) - imxfb code fixes and cleanups (Dario Binacchi) - stifb primary screen detection cleanups (Thomas Zimmermann)" * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits) fbdev/intelfb: Remove driver fbdev/hyperv_fb: Do not clear global screen_info firmware/sysfb: Clear screen_info state after consuming it fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers drm/hyperv: Remove firmware framebuffers with aperture helper fbdev/sis: Remove dependency on screen_info video/logo: use %u format specifier for unsigned int values video/sticore: Remove info field from STI struct arch/parisc: Detect primary video device from device instance fbdev/stifb: Allocate fb_info instance with framebuffer_alloc() video/sticore: Store ROM device in STI struct fbdev: flush deferred IO before closing fbdev: flush deferred work in fb_deferred_io_fsync() fbdev: amba-clcd: Delete the old CLCD driver fbdev: Remove support for Carillo Ranch driver fbdev: hgafb: fix kernel-doc comments fbdev: mmp: Fix typo and wording in code comment fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change fbdev: imxfb: add '*/' on a separate line in block comment fbdev: imxfb: use __func__ for function name ...
2 parents 61da593 + 689237a commit d97a784

File tree

37 files changed

+208
-8708
lines changed

37 files changed

+208
-8708
lines changed

Documentation/fb/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Frame Buffer
1919
framebuffer
2020
gxfb
2121
intel810
22-
intelfb
2322
internals
2423
lxfb
2524
matroxfb

Documentation/fb/intelfb.rst

Lines changed: 0 additions & 155 deletions
This file was deleted.

Documentation/userspace-api/ioctl/ioctl-number.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ Code Seq# Include File Comments
128128
'F' all linux/fb.h conflict!
129129
'F' 01-02 drivers/scsi/pmcraid.h conflict!
130130
'F' 20 drivers/video/fsl-diu-fb.h conflict!
131-
'F' 20 drivers/video/intelfb/intelfb.h conflict!
132131
'F' 20 linux/ivtvfb.h conflict!
133132
'F' 20 linux/matroxfb.h conflict!
134133
'F' 20 drivers/video/aty/atyfb_base.c conflict!

MAINTAINERS

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,11 +1693,6 @@ S: Odd Fixes
16931693
F: drivers/amba/
16941694
F: include/linux/amba/bus.h
16951695

1696-
ARM PRIMECELL CLCD PL110 DRIVER
1697-
M: Russell King <linux@armlinux.org.uk>
1698-
S: Odd Fixes
1699-
F: drivers/video/fbdev/amba-clcd.*
1700-
17011696
ARM PRIMECELL KMI PL050 DRIVER
17021697
M: Russell King <linux@armlinux.org.uk>
17031698
S: Odd Fixes
@@ -10732,13 +10727,6 @@ S: Supported
1073210727
F: drivers/infiniband/hw/irdma/
1073310728
F: include/uapi/rdma/irdma-abi.h
1073410729

10735-
INTEL FRAMEBUFFER DRIVER (excluding 810 and 815)
10736-
M: Maik Broemme <mbroemme@libmpq.org>
10737-
L: linux-fbdev@vger.kernel.org
10738-
S: Maintained
10739-
F: Documentation/fb/intelfb.rst
10740-
F: drivers/video/fbdev/intelfb/
10741-
1074210730
INTEL GPIO DRIVERS
1074310731
M: Andy Shevchenko <andy@kernel.org>
1074410732
L: linux-gpio@vger.kernel.org

arch/parisc/video/fbdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ int fb_is_primary_device(struct fb_info *info)
2121
return true;
2222

2323
/* return true if it's the default built-in framebuffer driver */
24-
return (sti->info == info);
24+
return (sti->dev == info->device);
2525
}
2626
EXPORT_SYMBOL(fb_is_primary_device);

drivers/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ obj-y += gpu/
7171

7272
obj-$(CONFIG_CONNECTOR) += connector/
7373

74-
# i810fb and intelfb depend on char/agp/
74+
# i810fb depends on char/agp/
7575
obj-$(CONFIG_FB_I810) += video/fbdev/i810/
76-
obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
7776

7877
obj-$(CONFIG_PARPORT) += parport/
7978
obj-y += base/ block/ misc/ mfd/ nfc/

drivers/firmware/sysfb.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ EXPORT_SYMBOL_GPL(sysfb_disable);
7171

7272
static __init int sysfb_init(void)
7373
{
74-
struct screen_info *si = &screen_info;
74+
const struct screen_info *si = &screen_info;
7575
struct simplefb_platform_data mode;
7676
const char *name;
7777
bool compatible;
@@ -119,6 +119,18 @@ static __init int sysfb_init(void)
119119
if (ret)
120120
goto err;
121121

122+
/*
123+
* The firmware framebuffer is now maintained by the created
124+
* device. Disable screen_info after we've consumed it. Prevents
125+
* invalid access during kexec reboots.
126+
*
127+
* TODO: Vgacon still relies on the global screen_info. Make
128+
* vgacon work with the platform device, so we can clear
129+
* the screen_info unconditionally.
130+
*/
131+
if (strcmp(name, "platform-framebuffer"))
132+
screen_info.orig_video_isVGA = 0;
133+
122134
goto unlock_mutex;
123135
err:
124136
platform_device_put(pd);

drivers/gpu/drm/hyperv/hyperv_drm_drv.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <linux/hyperv.h>
88
#include <linux/module.h>
99
#include <linux/pci.h>
10-
#include <linux/screen_info.h>
1110

1211
#include <drm/drm_aperture.h>
1312
#include <drm/drm_atomic_helper.h>
@@ -73,11 +72,6 @@ static int hyperv_setup_vram(struct hyperv_drm_device *hv,
7372
struct drm_device *dev = &hv->dev;
7473
int ret;
7574

76-
if (IS_ENABLED(CONFIG_SYSFB))
77-
drm_aperture_remove_conflicting_framebuffers(screen_info.lfb_base,
78-
screen_info.lfb_size,
79-
&hyperv_driver);
80-
8175
hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024;
8276

8377
ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000,
@@ -130,6 +124,8 @@ static int hyperv_vmbus_probe(struct hv_device *hdev,
130124
goto err_hv_set_drv_data;
131125
}
132126

127+
drm_aperture_remove_framebuffers(&hyperv_driver);
128+
133129
ret = hyperv_setup_vram(hv, hdev);
134130
if (ret)
135131
goto err_vmbus_close;

drivers/video/backlight/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,6 @@ config BACKLIGHT_HP700
235235
If you have an HP Jornada 700 series,
236236
say Y to include backlight control driver.
237237

238-
config BACKLIGHT_CARILLO_RANCH
239-
tristate "Intel Carillo Ranch Backlight Driver"
240-
depends on LCD_CLASS_DEVICE && PCI && X86 && FB_LE80578
241-
help
242-
If you have a Intel LE80578 (Carillo Ranch) say Y to enable the
243-
backlight driver.
244-
245238
config BACKLIGHT_PWM
246239
tristate "Generic PWM based Backlight Driver"
247240
depends on PWM

drivers/video/backlight/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ obj-$(CONFIG_BACKLIGHT_ADP8870) += adp8870_bl.o
2525
obj-$(CONFIG_BACKLIGHT_APPLE) += apple_bl.o
2626
obj-$(CONFIG_BACKLIGHT_AS3711) += as3711_bl.o
2727
obj-$(CONFIG_BACKLIGHT_BD6107) += bd6107.o
28-
obj-$(CONFIG_BACKLIGHT_CARILLO_RANCH) += cr_bllcd.o
2928
obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
3029
obj-$(CONFIG_BACKLIGHT_DA903X) += da903x_bl.o
3130
obj-$(CONFIG_BACKLIGHT_DA9052) += da9052_bl.o

0 commit comments

Comments
 (0)