linux/drivers/video/fbdev/core
Steffen Persvold d894c48a57 fbdev: modedb: Fix misaligned fields in the 1920x1080-60 mode
The 1920x1080@60 modedb entry has one too many initializers before
its sync field: a stray "0" occupies the sync slot, which shifts the
remaining values by one field. The entry therefore decodes as
sync = 0, vmode = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT (0x3,
i.e. FB_VMODE_INTERLACED | FB_VMODE_DOUBLE), and flag =
FB_VMODE_NONINTERLACED, instead of the intended sync = positive H/V,
vmode = non-interlaced.

fb_find_mode() then returns a 1920x1080 mode flagged as interlaced +
doublescan with active-low syncs. Drivers that honour var->vmode and
var->sync when programming display timing enable doublescan and the
wrong sync polarity, corrupting the output.

Drop the stray initializer so sync and vmode hold their intended
values (positive H/V sync, non-interlaced), matching the adjacent
1920x1200 entry.

Fixes: c8902258b2 ("fbdev: modedb: Add 1920x1080 at 60 Hz video mode")
Cc: stable@vger.kernel.org
Signed-off-by: Steffen Persvold <spersvold@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-06-12 23:23:43 +02:00
..
bitblit.c fbcon: Fill cursor mask in helper function 2026-04-07 17:38:07 +02:00
cfbcopyarea.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
cfbfillrect.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
cfbimgblt.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
cfbmem.h fbdev: Refactoring the fbcon packed pixel drawing routines 2025-03-26 22:39:21 +01:00
fb_backlight.c backlight: Replace fb events with a dedicated function call 2025-04-10 10:39:03 +01:00
fb_chrdev.c fbdev: Do not export fbcon from fbdev 2026-06-09 16:00:11 +02:00
fb_cmdline.c fbdev: Fix logic error in "offb" name match 2025-10-10 00:31:13 +02:00
fb_copyarea.h fbdev: Refactoring the fbcon packed pixel drawing routines 2025-03-26 22:39:21 +01:00
fb_ddc.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
fb_defio.c fbdev: defio: Remove duplicate include of linux/module.h 2026-04-28 14:18:51 +02:00
fb_draw.h fbdev: Refactoring the fbcon packed pixel drawing routines 2025-03-26 22:39:21 +01:00
fb_fillrect.h fbdev: core: Fix ubsan warning in pixel_to_pat 2025-09-30 23:21:34 +02:00
fb_imageblit.h fbdev: Refactoring the fbcon packed pixel drawing routines 2025-03-26 22:39:21 +01:00
fb_info.c fbdev: Track display blanking state 2025-04-10 10:38:57 +01:00
fb_internal.h fbdev: Wrap user-invoked calls to fb_blank() in helper 2026-06-09 16:00:10 +02:00
fb_io_fops.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
fb_logo.c fbdev/core: Remove empty internal helpers from fb_logo.c 2023-09-11 15:12:37 +02:00
fb_notify.c
fb_procfs.c fbdev/core: Move procfs code to separate file 2023-06-27 09:58:51 +02:00
fb_sys_fops.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
fbcmap.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
fbcon_ccw.c fbcon: Put font-rotation state into separate struct 2026-04-07 17:38:07 +02:00
fbcon_cw.c fbcon: Put font-rotation state into separate struct 2026-04-07 17:38:07 +02:00
fbcon_rotate.c fbcon: Put font-rotation state into separate struct 2026-04-07 17:38:07 +02:00
fbcon_rotate.h lib/fonts: Implement glyph rotation 2026-04-07 17:38:07 +02:00
fbcon_ud.c fbcon: Put font-rotation state into separate struct 2026-04-07 17:38:07 +02:00
fbcon.c fbcon: correct CONFIG_FB_TILEBLITTING macro name in #endif comment 2026-06-09 16:00:11 +02:00
fbcon.h fbdev: Do not export fbcon from fbdev 2026-06-09 16:00:11 +02:00
fbcvt.c fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod() 2025-05-31 10:24:02 +02:00
fbmem.c fbdev: Do not export fbcon from fbdev 2026-06-09 16:00:11 +02:00
fbmon.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fbsysfs.c fbdev: Wrap user-invoked calls to fb_blank() in helper 2026-06-09 16:00:10 +02:00
Kconfig fbdev: Turn FB_MODE_HELPERS into an internal config option 2025-09-23 15:56:04 +02:00
Makefile fbdev: Rename FB_SYS_FOPS token to FB_SYSMEM_FOPS 2023-11-29 12:20:42 +01:00
modedb.c fbdev: modedb: Fix misaligned fields in the 1920x1080-60 mode 2026-06-12 23:23:43 +02:00
softcursor.c fbcon: Rename struct fbcon_ops to struct fbcon_par 2025-09-19 10:04:02 +02:00
svgalib.c fbdev fixes and cleanups for 6.17-rc1: 2025-08-02 09:58:11 -07:00
syscopyarea.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
sysfillrect.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
sysimgblt.c fbdev: Include <linux/export.h> 2025-06-16 09:06:19 +02:00
sysmem.h fbdev: Refactoring the fbcon packed pixel drawing routines 2025-03-26 22:39:21 +01:00
tileblit.c fbcon: Move fbcon callbacks into struct fbcon_bitops 2025-09-19 10:04:05 +02:00