u-boot/drivers/video
Tom Rini 1f0281294d Merge patch series "Annotate switch/case fallthrough cases"
Andre Przywara <andre.przywara@arm.com> says:

C's implicit fallthrough behaviour in switch/case statements can lead to
subtle bugs. Quite some while ago many compilers introduced warnings in
those cases, requiring intentional fallthrough's to be annotated.

So far we were not enabling that compiler option, so many ambiguities
and some bugs in the code went unnoticed.

This series adds the required annotations in code paths that the first
stage of the U-Boot CI covers. There is a large number of cases left
in the libbz2 code. The usage of switch/case is borderline insane there,
labels are hidden in macros, and there are no breaks, but just goto's.
Upstream still uses very similar code, without any annotations. I still
am not 100% sure those are meant to fall through or not, and plan to do
further investigations, but didn't want to hold the rest of the patches
back. You can see for yourself by applying patch 18/18 and building for
sandbox64, for instance.

Because of this we cannot quite enable the warning in the Makefile yet,
but those fixes are worth regardless, and be it to increase readability.

Please note that those patches do not fix anything, really, they just add
those fallthrough annotations, so the series is not really critical.

Link: https://lore.kernel.org/r/20250327153313.2105227-1-andre.przywara@arm.com
2025-04-08 16:24:12 -06:00
..
bridge video: bridge: ssd2825: fix reset gpio direction 2025-03-13 19:13:18 +02:00
exynos drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
fonts video: add wrappers for ttf type files to .gitignore 2020-01-02 17:45:42 +01:00
imx video: mxc: Avoid setting global_data fb_base 2024-08-26 14:05:37 -06:00
meson video: meson: dw-hdmi: do not fail probe if HDMI regulator is already enabled 2024-10-14 09:06:16 +02:00
nexell Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
rockchip drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
stm32 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sunxi drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
tegra20 video: tegra20: dsi: respect speed mode used for DSI commands transfer 2025-03-13 19:13:17 +02:00
tegra124 drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
ti video: ti: am335x: Fix tilcdc clock names. 2025-03-31 17:04:20 -06:00
tidss global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
zynqmp video: zynqmp: Add support for reset 2024-12-11 12:40:13 +01:00
anx98xx-edp.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
anx9804.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
anx9804.h sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
atmel_hlcdfb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
atmel_lcdfb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
backlight-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
backlight_gpio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm2835.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bmp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bochs.c pci: video: Set up the pixel-format field 2025-01-22 17:08:23 -06:00
bochs.h video: bochs: Avoid using IO instructions to access VGA IO port 2023-08-01 13:31:29 +02:00
broadwell_igd.c drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
console_core.c video: console: Fix buffer overflow in cmd 'font list' 2024-01-29 14:53:11 -05:00
console_normal.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
console_rotate.c drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
console_truetype.c xpl: Rename spl_phase() to xpl_phase() 2024-10-11 11:44:47 -06:00
coreboot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
display-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dsi-host-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dw_hdmi.c drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
dw_mipi_dsi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
efi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
endeavoru-panel.c video: endeavoru-panel: add missing LPM flag 2025-03-13 19:13:18 +02:00
himax-hx8394.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
hitachi_tx18d42vm_lcd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
hitachi_tx18d42vm_lcd.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hx8238d.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
i915_reg.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ihs_video_out.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ivybridge_igd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next 2025-03-26 14:07:37 -06:00
lg-ld070wx3.c video: lg-ld070wx3: add missing LPM flag 2025-03-13 19:13:18 +02:00
lm3533_backlight.c video: backlight: lm3533: set up backlight according to device tree 2025-03-19 10:59:23 +02:00
logicore_dp_dpcd.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
logicore_dp_tx.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
logicore_dp_tx_regif.h video_display: Add Xilinx LogiCore DP TX 2018-08-11 09:18:44 +02:00
lp855x_backlight.c video: add TI LP855x backlight driver 2025-02-26 13:08:20 +02:00
Makefile video: panel: add Sharp LQ079L1SX01 MIPI DSI panel driver 2025-02-26 13:08:20 +02:00
mali_dp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mcde_simple.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mipi_dsi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvebu_lcd.c drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
mxsfb.c video: mxs: Avoid setting global_data fb_base 2024-08-26 14:05:38 -06:00
nexell_display.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
omap3_dss.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
orisetech_otm8009a.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
panel-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pwm_backlight.c drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
raydium-rm68200.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
renesas-r61307.c video: renesas-r61307: fix reset gpio direction 2025-03-13 19:13:18 +02:00
renesas-r69328.c video: renesas-r69328: add power supplies 2025-03-19 10:59:02 +02:00
samsung-ltl106hl02.c video: samsung-ltl106hl02: add missing LPM flag 2025-03-19 10:59:23 +02:00
sandbox_dsi_host.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox_osd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox_osd.h video_osd: Add osd sandbox driver and tests 2018-09-28 18:26:52 +02:00
sandbox_sdl.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
seps525.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sharp-lq079l1sx01.c video: panel: add Sharp LQ079L1SX01 MIPI DSI panel driver 2025-02-26 13:08:20 +02:00
sharp-lq101r1sx01.c video: sharp-lq101r1sx01: add missing LPM flag 2025-03-19 10:59:23 +02:00
simple_panel.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
simplefb.c video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n 2024-10-22 20:56:28 +02:00
ssd2828.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ssd2828.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stb_truetype.h drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
tda19988.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tdo-tl070wsh30.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
u_boot_logo.bmp video: Support showing the U-Boot logo 2021-12-26 23:32:46 +01:00
vesa.c drivers/video/vesa: use MTRRs only on x86 2024-11-04 16:41:38 -06:00
vidconsole-uclass.c video: Avoid starting a new line to close to the bottom 2024-10-18 14:10:22 -06:00
vidconsole_internal.h video: console: Parse UTF-8 character sequences 2024-03-21 06:56:13 +01:00
video-uclass.c video: annotate switch/case fall-through 2025-04-08 16:23:51 -06:00
video_bmp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
video_osd-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
videomodes.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
videomodes.h drivers: video: Remove duplicate newlines 2024-07-22 10:53:06 -06:00