* [PATCH v1 0/9] drm: Improvements around device-id arrays
@ 2026-11-18 12:08 Uwe Kleine-König
2026-11-18 12:08 ` [PATCH v1 1/9] drm/amdgpu: Use named initializer for acpi_device_id array Uwe Kleine-König
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2026-11-18 12:08 UTC (permalink / raw)
To: David Airlie, Simona Vetter
Cc: Alex Deucher, Christian König, Lijo Lazar, Mario Limonciello,
Mario Limonciello (AMD), Yo-Jung Leo Lin (AMD), Hugo Sales,
Wentao Liang, Zhigang Luo, Srinivasan Shanmugam, amd-gfx,
dri-devel, Marcus Folkesson, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Neil Armstrong, Jessica Zhang, David Lechner,
Kamlesh Gurudasani, Alex Lanzano, LiangCheng Wang,
Dmitry Baryshkov, Dave Airlie, Jani Nikula, Kees Cook,
Michael Walle, Dario Binacchi, Linus Walleij, Jagan Teki,
Iker Pedrosa, Lyude Paul, Danilo Krummrich, nouveau,
Dave Stevenson, Maíra Canal, Raspberry Pi Kernel Maintenance,
Jocelyn Falempe, Yongbang Shi, Tian Tao, Xinwei Kong,
Sasha Finkelstein, Andrzej Hajda, Robert Foss, asahi,
linux-aspeed, linux-arm-kernel, imx, linux-riscv, etnaviv,
linux-samsung-soc, intel-gfx, intel-xe, imagination, linux-mips,
lima, linux-mediatek, linux-kernel, linux-amlogic, linux-arm-msm,
freedreno, virtualization, spice-devel, linux-renesas-soc,
linux-rockchip, linux-stm32, linux-sunxi, linux-tegra
the motivation for this series is the wish to replace .driver_data in
various *_device_id structs by an anonymous union. See
https://lore.kernel.org/all/cover.1780048925.git.u.kleine-koenig@baylibre.com/
for the idea behind that and the added benefit.
This bases on top of yesterday's next. (Note:
https://lore.kernel.org/all/cover.1794469153.git.u.kleine-koenig@baylibre.com/
is also needed for my quest, but this is orthogonal to this series.)
I didn't split the patches per driver or maintainer team, and I hope I
don't need to because that is quite some effort for very little gain.
I'm happy to provide a stable branch for the unsplit series if desired.
For that I'd rebase on top of v7.4-rc1 in the hope that there aren't too
many changes that were introduced after that point that need adaption
here.
All but the last patch is necessary to progress with the quest pointed
out above. If you consider the last patch churn, that's fine for me,
just drop it then.
I didn't add everyone to Cc: who was emitted by get_maintainer.pl to not
trigger mail server limits. Even only keeping maintainers and lists was too
much.
Best regards
Uwe
Uwe Kleine-König (9):
drm/amdgpu: Use named initializer for acpi_device_id array
drm/sitronix/st7571-i2c: Drop unused assignment of i2c_device_id
driver data
drm: Drop unused assignment of spi_device_id driver_data
drm: Use designated initializers for spi_device_id arrays
drm: Use designated initializers for i2c_device_id arrays
drm: Use designated initializers for of_device_id arrays
drm: Use an empty initializer as pci_device_id array terminator
drm/pl111: Use an empty initializer as amba_id array terminator
drm: Unify coding style for *_device_id arrays
drivers/gpu/drm/adp/adp-mipi.c | 4 +-
drivers/gpu/drm/adp/adp_drv.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
.../gpu/drm/arm/display/komeda/komeda_drv.c | 8 +-
drivers/gpu/drm/arm/hdlcd_drv.c | 4 +-
drivers/gpu/drm/arm/malidp_drv.c | 8 +-
drivers/gpu/drm/armada/armada_crtc.c | 2 +-
drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 2 +-
drivers/gpu/drm/ast/ast_drv.c | 2 +-
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 +-
.../drm/bridge/analogix/analogix-anx6345.c | 4 +-
.../drm/bridge/analogix/analogix-anx78xx.c | 2 +-
drivers/gpu/drm/bridge/analogix/anx7625.c | 4 +-
drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +-
drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 +-
drivers/gpu/drm/bridge/display-connector.c | 2 +-
drivers/gpu/drm/bridge/fsl-ldb.c | 23 +-
drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c | 7 +-
.../drm/bridge/imx/imx8qxp-pixel-combiner.c | 4 +-
.../gpu/drm/bridge/imx/imx8qxp-pixel-link.c | 4 +-
drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c | 2 +-
drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c | 2 +-
drivers/gpu/drm/bridge/imx/imx93-pdfc.c | 4 +-
drivers/gpu/drm/bridge/ite-it6263.c | 2 +-
drivers/gpu/drm/bridge/lontium-lt8912b.c | 4 +-
drivers/gpu/drm/bridge/lontium-lt9211.c | 2 +-
drivers/gpu/drm/bridge/lvds-codec.c | 2 +-
.../bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 +-
drivers/gpu/drm/bridge/microchip-lvds.c | 6 +-
drivers/gpu/drm/bridge/nwl-dsi.c | 2 +-
drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +-
drivers/gpu/drm/bridge/parade-ps8622.c | 6 +-
drivers/gpu/drm/bridge/sii902x.c | 2 +-
drivers/gpu/drm/bridge/sii9234.c | 2 +-
drivers/gpu/drm/bridge/sil-sii8620.c | 2 +-
drivers/gpu/drm/bridge/tc358767.c | 2 +-
drivers/gpu/drm/bridge/tc358768.c | 4 +-
drivers/gpu/drm/bridge/tc358775.c | 4 +-
drivers/gpu/drm/bridge/tda998x_drv.c | 2 +-
drivers/gpu/drm/bridge/th1520-dw-hdmi.c | 2 +-
drivers/gpu/drm/bridge/thc63lvd1024.c | 4 +-
drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +-
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 +-
drivers/gpu/drm/bridge/ti-tfp410.c | 2 +-
drivers/gpu/drm/bridge/ti-tpd12s015.c | 4 +-
drivers/gpu/drm/bridge/waveshare-dsi.c | 4 +-
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 +-
drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 6 +-
drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2 +-
drivers/gpu/drm/exynos/exynos_dp.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_fimc.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 33 +-
drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_rotator.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_scaler.c | 2 +-
drivers/gpu/drm/exynos/exynos_hdmi.c | 5 +-
drivers/gpu/drm/exynos/exynos_mixer.c | 15 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 2 +-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +-
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 2 +-
.../gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 7 +-
.../drm/i915/display/intel_display_device.c | 2 +-
.../gpu/drm/i915/display/intel_lpe_audio.c | 6 +-
drivers/gpu/drm/i915/i915_pci.c | 2 +-
drivers/gpu/drm/imagination/pvr_drv.c | 2 +-
drivers/gpu/drm/imx/dc/dc-drv.c | 2 +-
drivers/gpu/drm/imx/dc/dc-ic.c | 2 +-
drivers/gpu/drm/imx/dc/dc-pe.c | 2 +-
drivers/gpu/drm/imx/dcss/dcss-drv.c | 4 +-
drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 11 +-
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 4 +-
drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 4 +-
drivers/gpu/drm/imx/ipuv3/imx-tve.c | 2 +-
drivers/gpu/drm/imx/ipuv3/parallel-display.c | 2 +-
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +-
drivers/gpu/drm/ingenic/ingenic-dw-hdmi.c | 2 +-
drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +-
drivers/gpu/drm/kmb/kmb_drv.c | 4 +-
drivers/gpu/drm/lima/lima_drv.c | 2 +-
drivers/gpu/drm/logicvc/logicvc_drm.c | 2 +-
drivers/gpu/drm/mcde/mcde_drv.c | 2 +-
drivers/gpu/drm/mcde/mcde_dsi.c | 2 +-
drivers/gpu/drm/mediatek/mtk_cec.c | 4 +-
drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 14 +-
drivers/gpu/drm/mediatek/mtk_disp_color.c | 20 +-
drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 20 +-
drivers/gpu/drm/mediatek/mtk_disp_merge.c | 4 +-
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 50 ++-
drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 26 +-
drivers/gpu/drm/mediatek/mtk_dp.c | 2 +-
drivers/gpu/drm/mediatek/mtk_dpi.c | 2 +-
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 395 +++++++++++-------
drivers/gpu/drm/mediatek/mtk_ethdr.c | 4 +-
drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 4 +-
drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 4 +-
drivers/gpu/drm/meson/meson_drv.c | 28 +-
drivers/gpu/drm/meson/meson_dw_hdmi.c | 24 +-
drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 2 +-
drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 70 ++--
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 6 +-
drivers/gpu/drm/msm/dp/dp_display.c | 2 +-
drivers/gpu/drm/msm/dsi/dsi.c | 2 +-
drivers/gpu/drm/msm/hdmi/hdmi.c | 2 +-
drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 38 +-
drivers/gpu/drm/msm/msm_drv.c | 2 +-
drivers/gpu/drm/msm/msm_mdss.c | 2 +-
drivers/gpu/drm/mxsfb/mxsfb_drv.c | 6 +-
.../gpu/drm/nouveau/dispnv04/i2c/ch7006_drv.c | 2 +-
.../gpu/drm/nouveau/dispnv04/i2c/sil164_drv.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +-
drivers/gpu/drm/omapdrm/dss/dispc.c | 2 +-
drivers/gpu/drm/omapdrm/dss/dsi.c | 8 +-
drivers/gpu/drm/omapdrm/dss/dss.c | 2 +-
drivers/gpu/drm/omapdrm/dss/hdmi4.c | 4 +-
drivers/gpu/drm/omapdrm/dss/hdmi5.c | 6 +-
drivers/gpu/drm/omapdrm/dss/venc.c | 8 +-
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 2 +-
drivers/gpu/drm/panel/panel-arm-versatile.c | 4 +-
drivers/gpu/drm/panel/panel-auo-a030jtn01.c | 5 +-
drivers/gpu/drm/panel/panel-boe-himax8279d.c | 4 +-
.../drm/panel/panel-boe-th101mb31ig002-28a.c | 4 +-
.../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 47 ++-
drivers/gpu/drm/panel/panel-dsi-cm.c | 6 +-
drivers/gpu/drm/panel/panel-edp.c | 5 +-
.../gpu/drm/panel/panel-feixin-k101-im2ba02.c | 2 +-
.../drm/panel/panel-feiyang-fy07024di26a30d.c | 2 +-
.../gpu/drm/panel/panel-focaltech-ota7290b.c | 4 +-
drivers/gpu/drm/panel/panel-himax-hx83102.c | 47 ++-
drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 2 +-
.../gpu/drm/panel/panel-ilitek-ili9806e-spi.c | 2 +-
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 4 +-
drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 17 +-
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 11 +-
.../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 30 +-
drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 2 +-
.../gpu/drm/panel/panel-jdi-lt070me05000.c | 2 +-
drivers/gpu/drm/panel/panel-khadas-ts050.c | 4 +-
.../drm/panel/panel-kingdisplay-kd097d04.c | 2 +-
drivers/gpu/drm/panel/panel-lg-lb035q02.c | 6 +-
drivers/gpu/drm/panel/panel-lg-sw43408.c | 4 +-
.../gpu/drm/panel/panel-lincolntech-lcd197.c | 2 +-
drivers/gpu/drm/panel/panel-lvds.c | 4 +-
.../drm/panel/panel-magnachip-d53e6ea8966.c | 4 +-
drivers/gpu/drm/panel/panel-nec-nl8048hl11.c | 6 +-
.../gpu/drm/panel/panel-newvision-nv3052c.c | 6 +-
drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +-
drivers/gpu/drm/panel/panel-novatek-nt36523.c | 2 +-
.../gpu/drm/panel/panel-novatek-nt36672a.c | 2 +-
drivers/gpu/drm/panel/panel-novatek-nt36850.c | 2 +-
drivers/gpu/drm/panel/panel-novatek-nt37801.c | 2 +-
.../gpu/drm/panel/panel-orisetech-ota5601a.c | 2 +-
.../drm/panel/panel-osd-osd101t2587-53ts.c | 5 +-
.../drm/panel/panel-panasonic-vvx10f034n00.c | 2 +-
drivers/gpu/drm/panel/panel-raydium-rm67191.c | 2 +-
drivers/gpu/drm/panel/panel-renesas-r63419.c | 2 +-
drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 2 +-
.../gpu/drm/panel/panel-samsung-atna33xc20.c | 2 +-
drivers/gpu/drm/panel/panel-samsung-db7430.c | 8 +-
drivers/gpu/drm/panel/panel-samsung-ld9040.c | 2 +-
drivers/gpu/drm/panel/panel-samsung-s6d27a1.c | 4 +-
drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 6 +-
.../panel/panel-samsung-s6e88a0-ams427ap24.c | 2 +-
.../panel/panel-samsung-s6e88a0-ams452ef01.c | 2 +-
drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 5 +-
.../gpu/drm/panel/panel-sharp-lq101r1sx01.c | 2 +-
.../gpu/drm/panel/panel-sharp-ls037v7dw01.c | 4 +-
.../gpu/drm/panel/panel-sharp-ls043t1le01.c | 2 +-
drivers/gpu/drm/panel/panel-simple.c | 70 ++--
drivers/gpu/drm/panel/panel-sitronix-st7701.c | 2 +-
.../gpu/drm/panel/panel-sitronix-st7789v.c | 26 +-
drivers/gpu/drm/panel/panel-sony-acx565akm.c | 6 +-
.../drm/panel/panel-startek-kd070fhfid015.c | 2 +-
drivers/gpu/drm/panel/panel-summit.c | 2 +-
drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c | 2 +-
drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 8 +-
drivers/gpu/drm/panel/panel-tpo-td043mtea1.c | 6 +-
drivers/gpu/drm/panel/panel-tpo-tpg110.c | 8 +-
drivers/gpu/drm/panel/panel-visionox-r66451.c | 2 +-
.../gpu/drm/panel/panel-visionox-rm69299.c | 12 +-
.../gpu/drm/panel/panel-widechips-ws2401.c | 8 +-
drivers/gpu/drm/panfrost/panfrost_drv.c | 36 +-
drivers/gpu/drm/panthor/panthor_drv.c | 4 +-
drivers/gpu/drm/pl111/pl111_drv.c | 2 +-
drivers/gpu/drm/pl111/pl111_versatile.c | 4 +-
drivers/gpu/drm/qxl/qxl_drv.c | 6 +-
drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c | 6 +-
drivers/gpu/drm/renesas/rcar-du/rcar_dsc.c | 2 +-
.../gpu/drm/renesas/rcar-du/rcar_dw_hdmi.c | 2 +-
.../gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 6 +-
.../gpu/drm/rockchip/analogix_dp-rockchip.c | 12 +-
drivers/gpu/drm/rockchip/cdn-dp-core.c | 8 +-
.../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 32 +-
.../gpu/drm/rockchip/dw-mipi-dsi2-rockchip.c | 2 +-
drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 2 +-
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 32 +-
.../gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 6 +-
drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c | 12 +-
drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 +-
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 4 +-
drivers/gpu/drm/rockchip/rockchip_lvds.c | 6 +-
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 4 +-
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 92 ++--
drivers/gpu/drm/sitronix/st7571-i2c.c | 6 +-
drivers/gpu/drm/sitronix/st7571-spi.c | 6 +-
drivers/gpu/drm/sitronix/st7586.c | 6 +-
drivers/gpu/drm/sitronix/st7735r.c | 8 +-
drivers/gpu/drm/sitronix/st7920.c | 2 +-
drivers/gpu/drm/sprd/sprd_dpu.c | 2 +-
drivers/gpu/drm/sprd/sprd_drm.c | 4 +-
drivers/gpu/drm/sprd/sprd_dsi.c | 2 +-
drivers/gpu/drm/sti/sti_compositor.c | 5 +-
drivers/gpu/drm/sti/sti_drv.c | 4 +-
drivers/gpu/drm/sti/sti_dvo.c | 2 +-
drivers/gpu/drm/sti/sti_hda.c | 4 +-
drivers/gpu/drm/sti/sti_hdmi.c | 5 +-
drivers/gpu/drm/sti/sti_hqvdp.c | 2 +-
drivers/gpu/drm/sti/sti_tvout.c | 2 +-
drivers/gpu/drm/sti/sti_vtg.c | 2 +-
drivers/gpu/drm/stm/drv.c | 8 +-
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 4 +-
drivers/gpu/drm/stm/lvds.c | 2 +-
drivers/gpu/drm/sun4i/sun4i_frontend.c | 8 +-
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 6 +-
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 12 +-
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 2 +-
drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 6 +-
drivers/gpu/drm/sysfb/ofdrm.c | 4 +-
drivers/gpu/drm/sysfb/simpledrm.c | 4 +-
drivers/gpu/drm/tegra/dc.c | 5 +-
drivers/gpu/drm/tegra/dpaux.c | 2 +-
drivers/gpu/drm/tegra/drm.c | 84 ++--
drivers/gpu/drm/tegra/dsi.c | 2 +-
drivers/gpu/drm/tegra/gr2d.c | 2 +-
drivers/gpu/drm/tegra/hdmi.c | 2 +-
drivers/gpu/drm/tegra/hub.c | 9 +-
drivers/gpu/drm/tegra/nvdec.c | 2 +-
drivers/gpu/drm/tegra/nvjpg.c | 2 +-
drivers/gpu/drm/tegra/sor.c | 2 +-
drivers/gpu/drm/tegra/vic.c | 2 +-
drivers/gpu/drm/tidss/tidss_drv.c | 12 +-
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 6 +-
drivers/gpu/drm/tiny/arcpgu.c | 4 +-
drivers/gpu/drm/tiny/hx8357d.c | 2 +-
drivers/gpu/drm/tiny/ili9163.c | 2 +-
drivers/gpu/drm/tiny/ili9225.c | 6 +-
drivers/gpu/drm/tiny/ili9341.c | 2 +-
drivers/gpu/drm/tiny/ili9486.c | 8 +-
drivers/gpu/drm/tiny/mi0283qt.c | 6 +-
drivers/gpu/drm/tiny/panel-mipi-dbi.c | 6 +-
drivers/gpu/drm/tiny/pixpaper.c | 7 +-
drivers/gpu/drm/tiny/repaper.c | 12 +-
drivers/gpu/drm/tiny/sharp-memory.c | 44 +-
drivers/gpu/drm/tve200/tve200_drv.c | 2 +-
drivers/gpu/drm/v3d/v3d_drv.c | 2 +-
drivers/gpu/drm/vc4/vc4_crtc.c | 2 +-
drivers/gpu/drm/vc4/vc4_dpi.c | 2 +-
drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
drivers/gpu/drm/vc4/vc4_dsi.c | 8 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
drivers/gpu/drm/vc4/vc4_hvs.c | 2 +-
drivers/gpu/drm/vc4/vc4_txp.c | 2 +-
drivers/gpu/drm/vc4/vc4_v3d.c | 2 +-
drivers/gpu/drm/vc4/vc4_vec.c | 2 +-
drivers/gpu/drm/verisilicon/vs_dc.c | 2 +-
drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 4 +-
drivers/gpu/host1x/dev.c | 20 +-
drivers/gpu/host1x/tegra114-mipi.c | 2 +-
drivers/gpu/ipu-v3/ipu-common.c | 8 +-
drivers/gpu/ipu-v3/ipu-pre.c | 4 +-
drivers/gpu/ipu-v3/ipu-prg.c | 4 +-
272 files changed, 1238 insertions(+), 1017 deletions(-)
base-commit: 7cfbf79c66c63e807ea452abf0546e6f6d6833a6
--
2.56.0.rc1
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH v1 1/9] drm/amdgpu: Use named initializer for acpi_device_id array
2026-11-18 12:08 [PATCH v1 0/9] drm: Improvements around device-id arrays Uwe Kleine-König
@ 2026-11-18 12:08 ` Uwe Kleine-König
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2026-11-18 12:08 UTC (permalink / raw)
To: David Airlie, Simona Vetter
Cc: Alex Deucher, Christian König, Lijo Lazar, Mario Limonciello,
Mario Limonciello (AMD), Yo-Jung Leo Lin (AMD), Hugo Sales,
Wentao Liang, Zhigang Luo, Srinivasan Shanmugam, amd-gfx,
dri-devel, Pawel Zalewski
Named initializers are better readable and more robust to changes of the
struct definition. This change isn't needed for the planned change to
struct acpi_device_id replacing .driver_data by an anonymous union but
aligns this driver to the common style to define such arrays.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index 4874ee864b80..9175680b6a81 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@ -1729,7 +1729,7 @@ bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev)
#if IS_ENABLED(CONFIG_DRM_AMD_ISP)
static const struct acpi_device_id isp_sensor_ids[] = {
- { "OMNI5C10" },
+ { .id = "OMNI5C10" },
{ }
};
--
2.56.0.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 12:08 [PATCH v1 0/9] drm: Improvements around device-id arrays Uwe Kleine-König
2026-11-18 12:08 ` [PATCH v1 1/9] drm/amdgpu: Use named initializer for acpi_device_id array Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox