drm: Header file maintenance
Subsystems (84)
cover drm: Header file maintenance
This patchset reduces the headers pulled in by other headers a little. The end result is more specific dependencies and slightly faster build times.
This ended up as a lot of patches - which makes it easier to do review and handle future conflicts.
drm_print
- drm_print.h included a number of files that are not required by the header file. Push the nesessary includes to their users and clean up drm_print.h to the minimal set of include files.
drm_atomic_helper
- drm_atomic_helper.h included a number of files that are not required by the header file. Push the nesessary includes to their users and clean up drm_atomic_helper.h to the minimal set of include files.
For both the above changes this was a manual process involving bulding and adding missing includes.
I have carefully maintained the sorting of the include files (but may have failed in a few places).
I did not find any way to automate the process, so it was a tad boring.
No attempt was done to find redundant includes - I hope we can find some tooling to help us one day.
On top of the above drm_utils was removed in a small series of two patches. One function was moved to drm_util (as per suggestion from Daniel in an old mail). Another prototype was moved to a more appropriate place.
The diffstat add more lines than we delete, but the positive thing here is that the individual files now pull in less files when building.
Sam
---
Sam Ravnborg (86):
drm/komeda: Direct include headers from drm_print
drm/bridge: ite-it6505: Direct include headers from drm_print drm/bridge: panel: Direct include headers from drm_print drm/msm: Direct include headers from drm_print
drm/nouveau: Direct include headers from drm_print
drm/omapdrm: Direct include headers from drm_print
drm/radeon: Direct include headers from drm_print
drm/ttm: Direct include headers from drm_print
drm/scheduler: Direct include headers from drm_print drm/armada: Direct include headers from drm_print
drm/sti: Direct include headers from drm_print
drm/vc4: Direct include headers from drm_print
drm/drm_print: Direct include headers from drm_print drm/vmwgfx: Direct include headers from drm_print
drm/i915: Direct include headers from drm_print
drm/drm_print: Minimize include footprint
drm/xlnx: Direct include headers from drm_atomic_helper drm/amd: Direct include headers from drm_atomic_helper drm/komeda: Direct include headers from drm_atomic_helper drm/arm/hdlcd: Direct include headers from drm_atomic_helper drm/arm/malidp: Direct include headers from drm_atomic_helper drm/armada: Direct include headers from drm_atomic_helper drm/aspeed: Direct include headers from drm_atomic_helper drm/ast: Direct include headers from drm_atomic_helper drm/atmel-hlcdc: Direct include headers from drm_atomic_helper drm/bridge: adv7511: Direct include headers from drm_atomic_helper drm/bridge: analogix: Direct include headers from drm_atomic_helper drm/bridge: chipone: Direct include headers from drm_atomic_helper drm/bridge: chrontel: Direct include headers from drm_atomic_helper drm/bridge: display-connector: Direct include headers from drm_atomic_helper drm/bridge: fsl-ldb: Direct include headers from drm_atomic_helper drm/bridge: ite: Direct include headers from drm_atomic_helper drm/bridge: lontium: Direct include headers from drm_atomic_helper drm/bridge: lvds-codec: Direct include headers from drm_atomic_helper drm/bridge: megachips: Direct include headers from drm_atomic_helper drm/bridge: nxp: Direct include headers from drm_atomic_helper drm/bridge: panel: Direct include headers from drm_atomic_helper drm/bridge: sii902x: Direct include headers from drm_atomic_helper drm/bridge: simple-bridge: Direct include headers from drm_atomic_helper drm/bridge: synopsys: Direct include headers from drm_atomic_helper drm/bridge: tc358767: Direct include headers from drm_atomic_helper drm/bridge: ti: Direct include headers from drm_atomic_helper drm/display: Direct include headers from drm_atomic_helper
drm: Direct include headers from drm_atomic_helper
drm/exynos: Direct include headers from drm_atomic_helper drm/fsl-dcu: Direct include headers from drm_atomic_helper drm/gud: Direct include headers from drm_atomic_helper drm/hisilicon: Direct include headers from drm_atomic_helper drm/hyperv: Direct include headers from drm_atomic_helper drm/i2c: Direct include headers from drm_atomic_helper drm/i915: Direct include headers from drm_atomic_helper drm/imx: Direct include headers from drm_atomic_helper drm/ingenic: Direct include headers from drm_atomic_helper drm/kmb: Direct include headers from drm_atomic_helper drm/logicvc: Direct include headers from drm_atomic_helper drm/mcde: Direct include headers from drm_atomic_helper drm/mediatek: Direct include headers from drm_atomic_helper drm/meson: Direct include headers from drm_atomic_helper drm/mgag200: Direct include headers from drm_atomic_helper drm/msm: Direct include headers from drm_atomic_helper drm/mxsfb: Direct include headers from drm_atomic_helper drm/nouveau: Direct include headers from drm_atomic_helper drm/omapdrm: Direct include headers from drm_atomic_helper drm/qxl: Direct include headers from drm_atomic_helper drm/rcar-du: Direct include headers from drm_atomic_helper drm/rockchip: Direct include headers from drm_atomic_helper drm/solomon: Direct include headers from drm_atomic_helper drm/sprd: Direct include headers from drm_atomic_helper drm/sti: Direct include headers from drm_atomic_helper
drm/stm: Direct include headers from drm_atomic_helper drm/sun4i: Direct include headers from drm_atomic_helper drm/tegra: Direct include headers from drm_atomic_helper drm/tests: Direct include headers from drm_atomic_helper drm/tidss: Direct include headers from drm_atomic_helper drm/tilcdc: Direct include headers from drm_atomic_helper drm/tiny: Direct include headers from drm_atomic_helper drm/udl: Direct include headers from drm_atomic_helper drm/vboxvideo: Direct include headers from drm_atomic_helper drm/vc4: Direct include headers from drm_atomic_helper drm/virtio: Direct include headers from drm_atomic_helper drm/vkms: Direct include headers from drm_atomic_helper drm/vmwgfx: Direct include headers from drm_atomic_helper drm/xen: Direct include headers from drm_atomic_helper drm/drm_atomic_helper: Minimize include footprint
drm: move drm_timeout_abs_to_jiffies to drm_util
drm: Move drm_get_panel_orientation_quirk prototype to drm_panel
drivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 3 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 ++ .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 ++ .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 2 ++ .../gpu/drm/arm/display/komeda/d71/d71_component.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 1 + .../drm/arm/display/komeda/komeda_framebuffer.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 1 + .../gpu/drm/arm/display/komeda/komeda_pipeline.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 2 ++ .../drm/arm/display/komeda/komeda_private_obj.c | 3 ++ .../drm/arm/display/komeda/komeda_wb_connector.c | 2 ++ drivers/gpu/drm/arm/hdlcd_crtc.c | 2 ++ drivers/gpu/drm/arm/malidp_crtc.c | 2 ++ drivers/gpu/drm/arm/malidp_drv.c | 1 + drivers/gpu/drm/arm/malidp_mw.c | 2 ++ drivers/gpu/drm/arm/malidp_planes.c | 2 ++ drivers/gpu/drm/armada/armada_crtc.c | 2 ++ drivers/gpu/drm/armada/armada_debugfs.c | 1 + drivers/gpu/drm/armada/armada_overlay.c | 2 ++ drivers/gpu/drm/armada/armada_plane.c | 2 ++ drivers/gpu/drm/aspeed/aspeed_gfx_out.c | 2 ++ drivers/gpu/drm/ast/ast_drv.c | 1 + drivers/gpu/drm/ast/ast_mode.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 ++ drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 ++ drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + drivers/gpu/drm/bridge/chipone-icn6211.c | 1 + drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 ++ drivers/gpu/drm/bridge/display-connector.c | 1 + drivers/gpu/drm/bridge/fsl-ldb.c | 1 + drivers/gpu/drm/bridge/ite-it6505.c | 3 ++ drivers/gpu/drm/bridge/ite-it66121.c | 1 + drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9211.c | 1 + drivers/gpu/drm/bridge/lontium-lt9611.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 ++ drivers/gpu/drm/bridge/lvds-codec.c | 1 + .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 2 ++ drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 ++ drivers/gpu/drm/bridge/panel.c | 3 ++ drivers/gpu/drm/bridge/sii902x.c | 2 ++ drivers/gpu/drm/bridge/simple-bridge.c | 2 ++ drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 ++ drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 1 + drivers/gpu/drm/bridge/tc358767.c | 2 ++ drivers/gpu/drm/bridge/ti-dlpc3433.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi83.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 + drivers/gpu/drm/bridge/ti-tfp410.c | 2 ++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 1 + drivers/gpu/drm/drm_atomic_helper.c | 1 + drivers/gpu/drm/drm_connector.c | 1 - drivers/gpu/drm/drm_crtc_helper.c | 1 + drivers/gpu/drm/drm_fb_dma_helper.c | 1 + drivers/gpu/drm/drm_gem_framebuffer_helper.c | 1 + drivers/gpu/drm/drm_mipi_dbi.c | 2 ++ drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +- drivers/gpu/drm/drm_print.c | 1 + drivers/gpu/drm/drm_simple_kms_helper.c | 2 ++ drivers/gpu/drm/drm_syncobj.c | 34 ------------------ drivers/gpu/drm/drm_util.c | 40 ++++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_dp.c | 1 + drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_dpi.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 +++ drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 ++ drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 2 ++ drivers/gpu/drm/gud/gud_drv.c | 1 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 3 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 + drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 2 ++ drivers/gpu/drm/i2c/tda998x_drv.c | 2 ++ drivers/gpu/drm/i915/display/icl_dsi.c | 2 ++ drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_atomic_plane.c | 2 ++ drivers/gpu/drm/i915/display/intel_connector.c | 1 + drivers/gpu/drm/i915/display/intel_crt.c | 2 ++ drivers/gpu/drm/i915/display/intel_crtc.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 3 ++ drivers/gpu/drm/i915/display/intel_dmc.c | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 2 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 ++ drivers/gpu/drm/i915/display/intel_dvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_hdmi.c | 2 ++ drivers/gpu/drm/i915/display/intel_lvds.c | 2 ++ drivers/gpu/drm/i915/display/intel_sdvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_tv.c | 2 ++ drivers/gpu/drm/i915/display/vlv_dsi.c | 2 ++ drivers/gpu/drm/i915/i915_debugfs.c | 1 + drivers/gpu/drm/i915/i915_debugfs_params.c | 1 + drivers/gpu/drm/i915/i915_params.c | 1 + drivers/gpu/drm/imx/dcss/dcss-crtc.c | 2 ++ drivers/gpu/drm/imx/dcss/dcss-kms.c | 1 + drivers/gpu/drm/imx/dcss/dcss-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 1 + drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-tve.c | 2 ++ drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c | 3 ++ drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/parallel-display.c | 2 ++ drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 ++ drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 ++ drivers/gpu/drm/kmb/kmb_crtc.c | 1 + drivers/gpu/drm/kmb/kmb_drv.h | 1 + drivers/gpu/drm/kmb/kmb_plane.c | 2 ++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/logicvc/logicvc_crtc.c | 2 ++ drivers/gpu/drm/logicvc/logicvc_crtc.h | 2 ++ drivers/gpu/drm/logicvc/logicvc_interface.c | 1 + drivers/gpu/drm/logicvc/logicvc_layer.c | 2 ++ drivers/gpu/drm/mcde/mcde_drv.c | 1 + drivers/gpu/drm/mediatek/mtk_dp.c | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_plane.c | 3 ++ drivers/gpu/drm/mediatek/mtk_dsi.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 + drivers/gpu/drm/meson/meson_crtc.c | 3 ++ drivers/gpu/drm/meson/meson_drv.c | 1 + drivers/gpu/drm/meson/meson_encoder_cvbs.c | 1 + drivers/gpu/drm/meson/meson_encoder_hdmi.c | 1 + drivers/gpu/drm/meson/meson_overlay.c | 2 ++ drivers/gpu/drm/meson/meson_plane.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200er.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ev.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ew3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200se.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200wb.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_mode.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 2 ++ .../gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c | 3 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 2 ++ drivers/gpu/drm/msm/dp/dp_drm.c | 1 + drivers/gpu/drm/msm/msm_drv.c | 2 ++ drivers/gpu/drm/msm/msm_fb.c | 1 + drivers/gpu/drm/mxsfb/lcdif_drv.c | 2 ++ drivers/gpu/drm/mxsfb/lcdif_kms.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/crc.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 + drivers/gpu/drm/nouveau/dispnv50/head.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_connector.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_display.c | 1 + drivers/gpu/drm/omapdrm/omap_crtc.c | 2 ++ drivers/gpu/drm/omapdrm/omap_drv.c | 3 ++ drivers/gpu/drm/omapdrm/omap_fb.c | 1 + drivers/gpu/drm/omapdrm/omap_plane.c | 2 ++ drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ drivers/gpu/drm/radeon/r100.c | 1 + drivers/gpu/drm/radeon/r300.c | 1 + drivers/gpu/drm/radeon/r420.c | 1 + drivers/gpu/drm/radeon/r600.c | 1 + drivers/gpu/drm/radeon/radeon_fence.c | 1 + drivers/gpu/drm/radeon/radeon_gem.c | 1 + drivers/gpu/drm/radeon/radeon_ib.c | 2 ++ drivers/gpu/drm/radeon/radeon_pm.c | 1 + drivers/gpu/drm/radeon/radeon_ring.c | 2 ++ drivers/gpu/drm/radeon/radeon_ttm.c | 1 + drivers/gpu/drm/radeon/rs400.c | 1 + drivers/gpu/drm/radeon/rv515.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_kms.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_writeback.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c | 1 + drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.c | 1 + drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 2 ++ drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 ++ drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 1 + drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 1 + drivers/gpu/drm/rockchip/inno_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_rgb.c | 1 + drivers/gpu/drm/scheduler/sched_main.c | 1 + drivers/gpu/drm/solomon/ssd130x.c | 2 ++ drivers/gpu/drm/sprd/sprd_dpu.c | 2 ++ drivers/gpu/drm/sprd/sprd_drm.c | 1 + drivers/gpu/drm/sprd/sprd_dsi.c | 1 + drivers/gpu/drm/sti/sti_crtc.c | 2 ++ drivers/gpu/drm/sti/sti_cursor.c | 2 ++ drivers/gpu/drm/sti/sti_drv.c | 1 + drivers/gpu/drm/sti/sti_dvo.c | 2 ++ drivers/gpu/drm/sti/sti_gdp.c | 2 ++ drivers/gpu/drm/sti/sti_hda.c | 2 ++ drivers/gpu/drm/sti/sti_hdmi.c | 2 ++ drivers/gpu/drm/sti/sti_hqvdp.c | 2 ++ drivers/gpu/drm/sti/sti_tvout.c | 1 + drivers/gpu/drm/sti/sti_vid.c | 1 + drivers/gpu/drm/stm/ltdc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_lvds.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_tv.c | 2 ++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 ++ drivers/gpu/drm/tegra/dc.c | 2 ++ drivers/gpu/drm/tegra/drm.c | 2 ++ drivers/gpu/drm/tegra/dsi.c | 2 ++ drivers/gpu/drm/tegra/hdmi.c | 2 ++ drivers/gpu/drm/tegra/hub.c | 2 ++ drivers/gpu/drm/tegra/plane.c | 1 + drivers/gpu/drm/tegra/rgb.c | 1 + drivers/gpu/drm/tegra/sor.c | 2 ++ drivers/gpu/drm/tegra/uapi.c | 2 +- drivers/gpu/drm/tests/drm_plane_helper_test.c | 1 + drivers/gpu/drm/tidss/tidss_crtc.c | 2 ++ drivers/gpu/drm/tidss/tidss_drv.c | 1 + drivers/gpu/drm/tidss/tidss_kms.c | 1 + drivers/gpu/drm/tidss/tidss_plane.c | 2 ++ drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_plane.c | 2 ++ drivers/gpu/drm/tiny/arcpgu.c | 2 ++ drivers/gpu/drm/tiny/bochs.c | 3 ++ drivers/gpu/drm/tiny/gm12u320.c | 1 + drivers/gpu/drm/tiny/repaper.c | 2 ++ drivers/gpu/drm/ttm/ttm_device.c | 1 + drivers/gpu/drm/ttm/ttm_resource.c | 1 + drivers/gpu/drm/ttm/ttm_tt.c | 1 + drivers/gpu/drm/udl/udl_drv.c | 1 + drivers/gpu/drm/udl/udl_modeset.c | 1 + drivers/gpu/drm/vboxvideo/vbox_mode.c | 2 ++ drivers/gpu/drm/vc4/vc4_crtc.c | 2 ++ drivers/gpu/drm/vc4/vc4_dpi.c | 1 + drivers/gpu/drm/vc4/vc4_drv.h | 1 + drivers/gpu/drm/vc4/vc4_dsi.c | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++ drivers/gpu/drm/vc4/vc4_kms.c | 2 ++ drivers/gpu/drm/vc4/vc4_plane.c | 2 ++ drivers/gpu/drm/vc4/vc4_txp.c | 2 ++ drivers/gpu/drm/vc4/vc4_vec.c | 2 ++ drivers/gpu/drm/virtio/virtgpu_display.c | 3 ++ drivers/gpu/drm/virtio/virtgpu_plane.c | 2 ++ drivers/gpu/drm/vkms/vkms_crtc.c | 2 ++ drivers/gpu/drm/vkms/vkms_drv.c | 1 + drivers/gpu/drm/vkms/vkms_output.c | 2 ++ drivers/gpu/drm/vkms/vkms_plane.c | 1 + drivers/gpu/drm/vkms/vkms_writeback.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 1 + drivers/gpu/drm/xen/xen_drm_front_conn.c | 2 ++ drivers/gpu/drm/xlnx/zynqmp_dp.c | 1 + drivers/gpu/drm/xlnx/zynqmp_kms.c | 2 ++ drivers/video/fbdev/efifb.c | 2 +- include/drm/drm_atomic_helper.h | 21 ++++++++---- include/drm/drm_panel.h | 1 + include/drm/drm_print.h | 11 +++--- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 19 ---------- 309 files changed, 558 insertions(+), 73 deletions(-)
---
base-commit: 2e337a8d14bd4b04913d52ccf076be29d846acd7
change-id: 20230113-drm-include-v1-17dc8bdd5ada
Best regards,
Signature · 1 line
Sam Ravnborg <[email protected]>
PATCH 1/86 drm/komeda: Direct include headers from drm_print
Direct include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/arm/display/komeda/d71/d71_component.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c | 1 + 2 files changed, 3 insertions(+)
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c +2 -0
@@ -4,6 +4,8 @@* Author: James.Qian.Wang <[email protected]> * */ +#include <linux/seq_file.h> +#include "d71_dev.h" #include "komeda_kms.h" #include "malidp_io.h"
drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c +1 -0
@@ -5,6 +5,7 @@* */ #include <linux/of.h> +#include <linux/seq_file.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
Thomas Zimmermann
maintainerRe: [PATCH 01/86] drm/komeda: Direct include headers from drm_print
Hi Sam
Am 21.01.23 um 21:07 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 3 lines
From: Sam Ravnborg <[email protected]>
Direct include the headers that otherwise comes indirect from
The grammar in this sentence is slightly off at 'direct include' and 'headers that [...] comes'. I'd write 'Directly include header files that currently come from drm_print.h.' Fixes the adverb/adjective issue and is fairly neutral whether 'headers' refers to singular or plural.
Unfortunately that issue is in the first 83 patches. :(
Best regards
Thomas
Quoted 35 lines
drm_print.h, becausedrm_print.hwill be reduced to include only the minimal set of headers.Signed-off-by Sam Ravnborg <[email protected]>--- drivers/gpu/drm/arm/display/komeda/d71/d71_component.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c | 1 + 2 files changed, 3 insertions(+)drivers/gpu/drm/arm/display/komeda/d71/d71_component.c +2
-0@@ -4,6 +4,8 @@* Author: James.Qian.Wang <[email protected]> * */ +#include <linux/seq_file.h> +#include "d71_dev.h" #include "komeda_kms.h" #include "malidp_io.h" drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c +1
-0@@ -5,6 +5,7 @@* */ #include <linux/of.h> +#include <linux/seq_file.h> #include <drm/drm_print.h>
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
PATCH 2/86 drm/bridge: ite-it6505: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/ite-it6505.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/ite-it6505.c +2 -0
@@ -3,6 +3,7 @@* Copyright (c) 2020, The Linux Foundation. All rights reserved. */ #include <linux/bits.h> +#include <linux/debugfs.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/err.h>
@@ -16,6 +17,7 @@#include <linux/pm_runtime.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> +#include <linux/seq_file.h> #include <linux/types.h> #include <linux/wait.h>
Signature · 1 line
2.34.1
PATCH 3/86 drm/bridge: panel: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/panel.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/panel.c +2 -0
@@ -4,6 +4,8 @@* Copyright (C) 2017 Broadcom */ +#include <linux/debugfs.h> +#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_connector.h>
Signature · 1 line
2.34.1
PATCH 4/86 drm/msm: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c +2 -0
@@ -2,6 +2,8 @@/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. */ +#include <linux/debugfs.h> +#include "dpu_hwio.h" #include "dpu_hw_catalog.h" #include "dpu_hw_lm.h"
Signature · 1 line
2.34.1
PATCH 5/86 drm/nouveau: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/nouveau/dispnv50/crc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/nouveau/dispnv50/crc.c +2 -0
@@ -1,5 +1,7 @@// SPDX-License-Identifier: MIT +#include <linux/debugfs.h> #include <linux/string.h> +#include <drm/drm_crtc.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.34.1
PATCH 6/86 drm/omapdrm: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/omapdrm/omap_fb.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/omapdrm/omap_fb.c +1 -0
@@ -5,6 +5,7 @@*/ #include <linux/dma-mapping.h> +#include <linux/seq_file.h> #include <drm/drm_blend.h> #include <drm/drm_modeset_helper.h>
Signature · 1 line
2.34.1
PATCH 7/86 drm/radeon: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/radeon/r100.c | 1 + drivers/gpu/drm/radeon/r300.c | 1 + drivers/gpu/drm/radeon/r420.c | 1 + drivers/gpu/drm/radeon/r600.c | 1 + drivers/gpu/drm/radeon/radeon_fence.c | 1 + drivers/gpu/drm/radeon/radeon_gem.c | 1 + drivers/gpu/drm/radeon/radeon_ib.c | 2 ++ drivers/gpu/drm/radeon/radeon_pm.c | 1 + drivers/gpu/drm/radeon/radeon_ring.c | 2 ++ drivers/gpu/drm/radeon/radeon_ttm.c | 1 + drivers/gpu/drm/radeon/rs400.c | 1 + drivers/gpu/drm/radeon/rv515.c | 1 + 12 files changed, 14 insertions(+)
drivers/gpu/drm/radeon/r100.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/firmware.h> #include <linux/module.h> #include <linux/pci.h>
drivers/gpu/drm/radeon/r300.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/pci.h> #include <linux/seq_file.h> #include <linux/slab.h>
drivers/gpu/drm/radeon/r420.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/pci.h> #include <linux/seq_file.h> #include <linux/slab.h>
drivers/gpu/drm/radeon/r600.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/firmware.h> #include <linux/module.h> #include <linux/pci.h>
drivers/gpu/drm/radeon/radeon_fence.c +1 -0
@@ -30,6 +30,7 @@*/ #include <linux/atomic.h> +#include <linux/debugfs.h> #include <linux/firmware.h> #include <linux/kref.h> #include <linux/sched/signal.h>
drivers/gpu/drm/radeon/radeon_gem.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/iosys-map.h> #include <linux/pci.h>
drivers/gpu/drm/radeon/radeon_ib.c +2 -0
@@ -27,6 +27,8 @@* Christian König */ +#include <linux/debugfs.h> +#include <drm/drm_file.h> #include "radeon.h"
drivers/gpu/drm/radeon/radeon_pm.c +1 -0
@@ -21,6 +21,7 @@* Alex Deucher <[email protected]> */ +#include <linux/debugfs.h> #include <linux/hwmon-sysfs.h> #include <linux/hwmon.h> #include <linux/pci.h>
drivers/gpu/drm/radeon/radeon_ring.c +2 -0
@@ -27,6 +27,8 @@* Christian König */ +#include <linux/debugfs.h> +#include <drm/drm_device.h> #include <drm/drm_file.h>
drivers/gpu/drm/radeon/radeon_ttm.c +1 -0
@@ -30,6 +30,7 @@* Dave Airlie */ +#include <linux/debugfs.h> #include <linux/dma-mapping.h> #include <linux/pagemap.h> #include <linux/pci.h>
drivers/gpu/drm/radeon/rs400.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/slab.h>
drivers/gpu/drm/radeon/rv515.c +1 -0
@@ -26,6 +26,7 @@* Jerome Glisse */ +#include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/slab.h>
Signature · 1 line
2.34.1
PATCH 8/86 drm/ttm: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/ttm/ttm_device.c | 1 + drivers/gpu/drm/ttm/ttm_resource.c | 1 + drivers/gpu/drm/ttm/ttm_tt.c | 1 + 3 files changed, 3 insertions(+)
drivers/gpu/drm/ttm/ttm_device.c +1 -0
@@ -27,6 +27,7 @@#define pr_fmt (fmt) "[TTM DEVICE] " fmt +#include <linux/debugfs.h> #include <linux/mm.h> #include <drm/ttm/ttm_bo.h>
drivers/gpu/drm/ttm/ttm_resource.c +1 -0
@@ -22,6 +22,7 @@* Authors: Christian König */ +#include <linux/debugfs.h> #include <linux/iosys-map.h> #include <linux/io-mapping.h> #include <linux/scatterlist.h>
drivers/gpu/drm/ttm/ttm_tt.c +1 -0
@@ -31,6 +31,7 @@#define pr_fmt (fmt) "[TTM] " fmt +#include <linux/debugfs.h> #include <linux/sched.h> #include <linux/shmem_fs.h> #include <linux/file.h>
Signature · 1 line
2.34.1
PATCH 9/86 drm/scheduler: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/scheduler/sched_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/scheduler/sched_main.c +1 -0
@@ -51,6 +51,7 @@#include <linux/dma-resv.h> #include <uapi/linux/sched/types.h> +#include <drm/drm.h> #include <drm/drm_print.h> #include <drm/drm_gem.h> #include <drm/gpu_scheduler.h>
Signature · 1 line
2.34.1
PATCH 10/86 drm/armada: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/armada/armada_debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/armada/armada_debugfs.c +1 -0
@@ -5,6 +5,7 @@*/ #include <linux/ctype.h> +#include <linux/debugfs.h> #include <linux/module.h> #include <linux/seq_file.h> #include <linux/uaccess.h>
Signature · 1 line
2.34.1
PATCH 11/86 drm/sti: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/sti/sti_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/sti/sti_drv.c +1 -0
@@ -5,6 +5,7 @@*/ #include <linux/component.h> +#include <linux/debugfs.h> #include <linux/dma-mapping.h> #include <linux/kernel.h> #include <linux/module.h>
Signature · 1 line
2.34.1
PATCH 12/86 drm/vc4: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vc4/vc4_drv.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/vc4/vc4_drv.h +1 -0
@@ -5,6 +5,7 @@#ifndef _VC4_DRV_H_#define _VC4_DRV_H_ +#include <linux/debugfs.h> #include <linux/delay.h> #include <linux/of.h> #include <linux/refcount.h>
Signature · 1 line
2.34.1
PATCH 13/86 drm/drm_print: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/drm_print.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_print.c +1 -0
@@ -25,6 +25,7 @@#include <linux/stdarg.h> +#include <linux/debugfs.h> #include <linux/io.h> #include <linux/moduleparam.h> #include <linux/seq_file.h>
Signature · 1 line
2.34.1
PATCH 14/86 drm/vmwgfx: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c +2 -0
@@ -24,6 +24,8 @@* */ +#include <linux/debugfs.h> +#include "vmwgfx_drv.h" #include "drm/drm_prime.h"
Signature · 1 line
2.34.1
PATCH 15/86 drm/i915: Direct include headers from drm_print
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_print.h, because drm_print.h will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/i915/display/intel_dmc.c | 1 + drivers/gpu/drm/i915/i915_debugfs.c | 1 + drivers/gpu/drm/i915/i915_debugfs_params.c | 1 + drivers/gpu/drm/i915/i915_params.c | 1 + 4 files changed, 4 insertions(+)
drivers/gpu/drm/i915/display/intel_dmc.c +1 -0
@@ -22,6 +22,7 @@* */ +#include <linux/debugfs.h> #include <linux/firmware.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_debugfs.c +1 -0
@@ -26,6 +26,7 @@* */ +#include <linux/debugfs.h> #include <linux/sched/mm.h> #include <linux/sort.h> #include <linux/string_helpers.h>
drivers/gpu/drm/i915/i915_debugfs_params.c +1 -0
@@ -3,6 +3,7 @@* Copyright © 2019 Intel Corporation */ +#include <linux/debugfs.h> #include <linux/kernel.h> #include "i915_debugfs_params.h"
drivers/gpu/drm/i915/i915_params.c +1 -0
@@ -22,6 +22,7 @@* IN THE SOFTWARE. */ +#include <linux/dynamic_debug.h> #include <linux/string_helpers.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 16/86 drm/drm_print: Minimize include footprint
In reply to Sam RavnborgReduce drm_print.h to include or forward the minimal set of files/symbols - to minimize the impact of the files that includes this header file.
--- include/drm/drm_print.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
include/drm/drm_print.h +5 -6
@@ -26,14 +26,13 @@#ifndef DRM_PRINT_H_ #define DRM_PRINT_H_ -#include <linux/compiler.h> -#include <linux/printk.h> -#include <linux/seq_file.h> +#include <linux/dev_printk.h> #include <linux/device.h> -#include <linux/debugfs.h> -#include <linux/dynamic_debug.h> +#include <linux/printk.h> -#include <drm/drm.h> +struct debugfs_regset32 ; +struct seq_file ; +struct device ;/* Do *not* use outside of drm_print.[ch]! */ extern unsigned long __drm_debug;
Signature · 1 line
2.34.1
kernel test robot
build botRe: [PATCH 16/86] drm/drm_print: Minimize include footprint
I love your patch! Yet something to improve:
Hi Sam,
I love your patch! Yet something to improve:
[auto build test ERROR on 2e337a8d14bd4b04913d52ccf076be29d846acd7]
url: https://github.com/intel-lab-lkp/linux/commits/Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 base: 2e337a8d14bd4b04913d52ccf076be29d846acd7 patch link: https://lore.kernel.org/r/20230113-drm-include-v1-v1-16-c5cf72d8a5a2%40ravnborg.org patch subject: [PATCH 16/86] drm/drm_print: Minimize include footprint config: i386-randconfig-a004 (https://download.01.org/0day-ci/archive/20230122/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/530d852970d1a75527031a4f23689f89f0a85804
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 git checkout 530d852970d1a75527031a4f23689f89f0a85804
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/drm_mode_object.c:195:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount));
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_mode_object.c:212:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount));
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
2 errors generated.
--
>> drivers/gpu/drm/drm_plane.c:278:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("out of memory when allocating plane\n");
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:305:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("out of memory when allocating plane\n");
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:789:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Invalid crtc for plane\n");
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:797:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Invalid pixel format %p4cc, modifier 0x%llx\n",
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:807:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Invalid CRTC coordinates %ux%u+%d+%d\n",
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:985:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Unknown plane ID %d\n",
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:993:4: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Unknown framebuffer ID %d\n",
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:1001:4: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Unknown crtc ID %d\n",
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:1051:5: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n");
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:1122:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id);
^
include/drm/drm_print.h:573:2: note: expanded from macro 'DRM_DEBUG_KMS'
__drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:1263:5: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("Invalid absolute flip target %u, "
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_plane.c:1272:5: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("Invalid relative flip target %u, "
--
>> drivers/gpu/drm/drm_syncobj.c:301:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("You are adding an unorder point to timeline!\n");
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
1 error generated.
--
>> drivers/gpu/drm/drm_vblank.c:318:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev, "crtc %u: Calculating number of vblanks."
^
include/drm/drm_print.h:499:2: note: expanded from macro 'drm_dbg_vbl'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:342:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev,
^
include/drm/drm_print.h:499:2: note: expanded from macro 'drm_dbg_vbl'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:348:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev, "updating vblank count on crtc %u:"
^
include/drm/drm_print.h:499:2: note: expanded from macro 'drm_dbg_vbl'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:494:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev, "disabling vblank on crtc %u\n", pipe);
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:649:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev,
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:726:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev, "crtc %u: Noop due to uninitialized mode.\n",
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:751:4: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev,
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:767:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev,
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:793:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev,
^
include/drm/drm_print.h:499:2: note: expanded from macro 'drm_dbg_vbl'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:1140:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev, "enabling vblank on crtc %u, ret: %d\n",
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:1319:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev, "crtc %d, vblank enabled %d, inmodeset %d\n",
^
include/drm/drm_print.h:499:2: note: expanded from macro 'drm_dbg_vbl'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_vblank.c:1452:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_vbl(dev, "crtc %d, vblank enabled %d, inmodeset %d\n",
--
>> drivers/gpu/drm/drm_vblank_work.c:141:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev,
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
1 error generated.
--
>> drivers/gpu/drm/drm_ioctl.c:443:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev, "\n");
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/drm_ioctl.c:859:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
drm_dbg_core(dev, "comm=\"%s\" pid=%d, dev=0x%lx, auth=%d, %s\n",
^
include/drm/drm_print.h:489:2: note: expanded from macro 'drm_dbg_core'
drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:412:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
^
2 errors generated.
--
>> drivers/gpu/drm/drm_bufs.c:174:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("offset = 0x%08llx, size = 0x%08lx, type = %d\n",
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:911:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("count=%d, size=%d (%d), order=%d\n",
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:1139:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("count: %d\n", count);
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:1343:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("count = %d\n", count);
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:1420:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("%d, %d, %d\n",
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:1468:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("%d\n", request->count);
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^
drivers/gpu/drm/drm_bufs.c:1568:2: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
DRM_DEBUG("%d buffers, retcode = %d\n", *p, retcode);
^
include/drm/drm_print.h:565:2: note: expanded from macro 'DRM_DEBUG'
__drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:526:2: note: expanded from macro '__drm_dbg'
_dynamic_func_call_cls(cat, fmt, ___drm_dbg, \
^ 7 errors generated.
..
vim +/_dynamic_func_call_cls +195 drivers/gpu/drm/drm_mode_object.c
949619f32eee37 Daniel Vetter 2016-08-29 183
949619f32eee37 Daniel Vetter 2016-08-29 184 /**
020a218f95bd3c Thierry Reding 2017-02-28 185 * drm_mode_object_put - release a mode object reference
020a218f95bd3c Thierry Reding 2017-02-28 186 * @obj: DRM mode object
949619f32eee37 Daniel Vetter 2016-08-29 187 *
a2511a557eb868 Daniel Vetter 2016-08-29 188 * This function decrements the object's refcount if it is a refcounted modeset
949619f32eee37 Daniel Vetter 2016-08-29 189 * object. It is a no-op on any other object. This is used to drop references
020a218f95bd3c Thierry Reding 2017-02-28 190 * acquired with drm_mode_object_get().
949619f32eee37 Daniel Vetter 2016-08-29 191 */
020a218f95bd3c Thierry Reding 2017-02-28 192 void drm_mode_object_put(struct drm_mode_object *obj)
949619f32eee37 Daniel Vetter 2016-08-29 193 {
949619f32eee37 Daniel Vetter 2016-08-29 194 if (obj->free_cb) {
2c935bc57221cc Peter Zijlstra 2016-11-14 @195 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount));
949619f32eee37 Daniel Vetter 2016-08-29 196 kref_put(&obj->refcount, obj->free_cb);
949619f32eee37 Daniel Vetter 2016-08-29 197 }
949619f32eee37 Daniel Vetter 2016-08-29 198 }
020a218f95bd3c Thierry Reding 2017-02-28 199 EXPORT_SYMBOL(drm_mode_object_put);949619f32eee37 Daniel Vetter 2016-08-29 200
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [PATCH 16/86] drm/drm_print: Minimize include footprint
Hi all.
Quoted 24 lines · kernel test robot
Hi Sam,
I love your patch! Yet something to improve:
[auto build test ERROR on
2e337a8d14bd4b04913d52ccf076be29d846acd7]url: https://github.com/intel-lab-lkp/linux/commits/Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 base: 2e337a8d14bd4b04913d52ccf076be29d846acd7 patch link: https://lore.kernel.org/r/20230113-drm-include-v1-v1-16-c5cf72d8a5a2%40ravnborg.org patch subject: [PATCH 16/86] drm/drm_print: Minimize include footprint config: i386-randconfig-a004 (https://download.01.org/0day-ci/archive/20230122/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/530d852970d1a75527031a4f23689f89f0a85804
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 git checkout530d852970d1a75527031a4f23689f89f0a85804
# save the config file
mkdirbuild_dir&& cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
Quoted 8 lines
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/drm_mode_object.c:195:3: error: implicit declaration of function '_dynamic_func_call_cls' is invalid in C99 [-Werror,-Wimplicit-function-declaration]DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); ^
For anyone following this. I failed to reproduce the error below using the instructions above. It looks like some obscure combination of CONFIG options that may be unrelated to this patch.
allmodconfig, allyesconfig for i386 did not trigger the bug.
I will get back to this in a few days (maybe first in the weekend), and will share my findings.
Sam
kernel test robot
build botRe: [PATCH 16/86] drm/drm_print: Minimize include footprint
In reply to Sam RavnborgI love your patch! Yet something to improve:
Hi Sam,
I love your patch! Yet something to improve:
[auto build test ERROR on 2e337a8d14bd4b04913d52ccf076be29d846acd7]
url: https://github.com/intel-lab-lkp/linux/commits/Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 base: 2e337a8d14bd4b04913d52ccf076be29d846acd7 patch link: https://lore.kernel.org/r/20230113-drm-include-v1-v1-16-c5cf72d8a5a2%40ravnborg.org patch subject: [PATCH 16/86] drm/drm_print: Minimize include footprint config: nios2-randconfig-r012-20230123 (https://download.01.org/0day-ci/archive/20230124/[email protected]/config) compiler: nios2-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/530d852970d1a75527031a4f23689f89f0a85804
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Sam-Ravnborg-via-B4-Submission-Endpoint/drm-komeda-Direct-include-headers-from-drm_print/20230122-041306 git checkout 530d852970d1a75527031a4f23689f89f0a85804
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <[email protected]>
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/arm/display/komeda/komeda_dev.c: In function 'komeda_register_show':
>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:26:37: error: invalid use of undefined type 'struct seq_file'
26 | struct komeda_dev *mdev = sf->private;
| ^~
>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:29:9: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
29 | seq_puts(sf, "\n====== Komeda register dump =========\n");
| ^~~~~~~~
drivers/gpu/drm/arm/display/komeda/komeda_dev.c: At top level:
>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:44:1: warning: data definition has no type or storage class
44 | DEFINE_SHOW_ATTRIBUTE(komeda_register);
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:44:1: error: type defaults to 'int' in declaration of 'DEFINE_SHOW_ATTRIBUTE' [-Werror=implicit-int]
>> drivers/gpu/drm/arm/display/komeda/komeda_dev.c:44:1: warning: parameter names (without types) in function declaration drivers/gpu/drm/arm/display/komeda/komeda_dev.c:24:12: warning: 'komeda_register_show' defined but not used [-Wunused-function]
24 | static int komeda_register_show(struct seq_file *sf, void *x)
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +26 drivers/gpu/drm/arm/display/komeda/komeda_dev.c
bd628c1bed7902 james qian wang (Arm Technology China 2019-01-03 23)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 24) static int komeda_register_show(struct seq_file *sf, void *x)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 25) {
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 @26) struct komeda_dev *mdev = sf->private;
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 27) int i;
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 28)
aefdaa15e54c09 Lowry Li (Arm Technology China 2019-09-17 @29) seq_puts(sf, "\n====== Komeda register dump =========\n");
aefdaa15e54c09 Lowry Li (Arm Technology China 2019-09-17 30)
efb46508851874 james qian wang (Arm Technology China 2019-12-12 31) pm_runtime_get_sync(mdev->dev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 32)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 33) if (mdev->funcs->dump_register)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 34) mdev->funcs->dump_register(mdev, sf);
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 35)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 36) for (i = 0; i < mdev->n_pipelines; i++)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 37) komeda_pipeline_dump_register(mdev->pipelines[i], sf);
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 38)
efb46508851874 james qian wang (Arm Technology China 2019-12-12 39) pm_runtime_put(mdev->dev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 40)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 41) return 0;
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 42) }
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 43)
ef52d5853bf1d0 Qinglang Miao 2020-09-17 @44 DEFINE_SHOW_ATTRIBUTE(komeda_register);
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 45) Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
PATCH 17/86 drm/xlnx: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/xlnx/zynqmp_dp.c | 1 + drivers/gpu/drm/xlnx/zynqmp_kms.c | 2 ++ 2 files changed, 3 insertions(+)
drivers/gpu/drm/xlnx/zynqmp_dp.c +1 -0
@@ -11,6 +11,7 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_edid.h>
drivers/gpu/drm/xlnx/zynqmp_kms.c +2 -0
@@ -11,6 +11,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h>
@@ -26,6 +27,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> #include <drm/drm_mode_config.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane.h> #include <drm/drm_plane_helper.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 18/86 drm/amd: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 3 +++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 2 ++ 5 files changed, 11 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c +3 -0
@@ -1,6 +1,9 @@// SPDX-License-Identifier: GPL-2.0+ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_simple_kms_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -0
@@ -82,9 +82,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fourcc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include <drm/drm_audio_component.h> #include <drm/drm_gem_atomic_helper.h>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +2 -0
@@ -25,6 +25,8 @@*/ #include <drm/drm_vblank.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "dc.h" #include "amdgpu.h"
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +2 -0
@@ -27,6 +27,8 @@#include <drm/display/drm_dp_mst_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "dm_services.h" #include "amdgpu.h" #include "amdgpu_dm.h"
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +2 -0
@@ -25,8 +25,10 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include <drm/drm_fourcc.h>
Signature · 1 line
2.34.1
PATCH 19/86 drm/komeda: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c | 3 +++ drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c | 2 ++ 7 files changed, 12 insertions(+)
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c +2 -0
@@ -10,6 +10,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/arm/display/komeda/komeda_drv.c +1 -0
@@ -11,6 +11,7 @@#include <linux/component.h> #include <linux/pm_runtime.h> #include <drm/drm_fbdev_generic.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include "komeda_dev.h"
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c +1 -0
@@ -9,6 +9,7 @@#include <drm/drm_gem.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> #include "komeda_framebuffer.h" #include "komeda_dev.h"
drivers/gpu/drm/arm/display/komeda/komeda_kms.c +1 -0
@@ -13,6 +13,7 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/arm/display/komeda/komeda_plane.c +2 -0
@@ -6,7 +6,9 @@*/ #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include "komeda_dev.h" #include "komeda_kms.h"
drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c +3 -0
@@ -4,6 +4,9 @@* Author: James.Qian.Wang <[email protected]> * */ + +#include <drm/drm_atomic_state_helper.h> +#include "komeda_dev.h" #include "komeda_kms.h"
drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c +2 -0
@@ -4,7 +4,9 @@* Author: James.Qian.Wang <[email protected]> * */ +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include "komeda_dev.h" #include "komeda_kms.h"
Signature · 1 line
2.34.1
PATCH 20/86 drm/arm/hdlcd: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/arm/hdlcd_crtc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/arm/hdlcd_crtc.c +2 -0
@@ -17,10 +17,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.34.1
PATCH 21/86 drm/arm/malidp: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/arm/malidp_crtc.c | 2 ++ drivers/gpu/drm/arm/malidp_drv.c | 1 + drivers/gpu/drm/arm/malidp_mw.c | 2 ++ drivers/gpu/drm/arm/malidp_planes.c | 2 ++ 4 files changed, 7 insertions(+)
drivers/gpu/drm/arm/malidp_crtc.c +2 -0
@@ -13,8 +13,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/arm/malidp_drv.c +1 -0
@@ -25,6 +25,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> #include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/arm/malidp_mw.c +2 -0
@@ -8,12 +8,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_writeback.h>
drivers/gpu/drm/arm/malidp_planes.c +2 -0
@@ -11,6 +11,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_drv.h> #include <drm/drm_fb_dma_helper.h>
@@ -18,6 +19,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include "malidp_hw.h"
Signature · 1 line
2.34.1
PATCH 22/86 drm/armada: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/armada/armada_crtc.c | 2 ++ drivers/gpu/drm/armada/armada_overlay.c | 2 ++ drivers/gpu/drm/armada/armada_plane.c | 2 ++ 3 files changed, 6 insertions(+)
drivers/gpu/drm/armada/armada_crtc.c +2 -0
@@ -12,6 +12,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/armada/armada_overlay.c +2 -0
@@ -8,7 +8,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_uapi.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include "armada_crtc.h"
drivers/gpu/drm/armada/armada_plane.c +2 -0
@@ -6,7 +6,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include "armada_crtc.h"
Signature · 1 line
2.34.1
PATCH 23/86 drm/aspeed: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/aspeed/aspeed_gfx_out.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/aspeed/aspeed_gfx_out.c +2 -0
@@ -2,8 +2,10 @@// Copyright 2018 IBM Corporation #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_connector.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "aspeed_gfx.h"
Signature · 1 line
2.34.1
PATCH 24/86 drm/ast: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/ast/ast_drv.c | 1 + drivers/gpu/drm/ast/ast_mode.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_drv.c +1 -0
@@ -34,6 +34,7 @@#include <drm/drm_drv.h> #include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_shmem_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_module.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/ast/ast_mode.c +1 -0
@@ -43,6 +43,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_shmem_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 25/86 drm/atmel-hlcdc: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 ++ 2 files changed, 3 insertions(+)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +1 -0
@@ -18,6 +18,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c +2 -0
@@ -11,11 +11,13 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "atmel_hlcdc_dc.h"
Signature · 1 line
2.34.1
PATCH 26/86 drm/bridge: adv7511: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +2 -0
@@ -16,7 +16,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 27/86 drm/bridge: analogix: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 ++ drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + 4 files changed, 7 insertions(+)
drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +2 -0
@@ -20,9 +20,11 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +2 -0
@@ -20,9 +20,11 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +2 -0
@@ -21,10 +21,12 @@#include <drm/bridge/analogix_dp.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -0
@@ -25,6 +25,7 @@#include <drm/display/drm_dp_helper.h> #include <drm/display/drm_hdcp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_mipi_dsi.h>
Signature · 1 line
2.34.1
PATCH 28/86 drm/bridge: chipone: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/chipone-icn6211.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/chipone-icn6211.c +1 -0
@@ -5,6 +5,7 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_mipi_dsi.h>
Signature · 1 line
2.34.1
PATCH 29/86 drm/bridge: chrontel: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/chrontel-ch7033.c +2 -0
@@ -11,8 +11,10 @@#include <linux/regmap.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 30/86 drm/bridge: display-connector: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/display-connector.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/display-connector.c +1 -0
@@ -15,6 +15,7 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h>
Signature · 1 line
2.34.1
PATCH 31/86 drm/bridge: fsl-ldb: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/fsl-ldb.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/fsl-ldb.c +1 -0
@@ -14,6 +14,7 @@#include <linux/regmap.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_of.h> #include <drm/drm_panel.h>
Signature · 1 line
2.34.1
PATCH 32/86 drm/bridge: ite: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/ite-it6505.c | 3 ++- drivers/gpu/drm/bridge/ite-it66121.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/bridge/ite-it6505.c +2 -1
@@ -3,8 +3,8 @@* Copyright (c) 2020, The Linux Foundation. All rights reserved. */ #include <linux/bits.h> -#include <linux/debugfs.h> #include <linux/delay.h> +#include <linux/debugfs.h> #include <linux/device.h> #include <linux/err.h> #include <linux/extcon.h>
@@ -26,6 +26,7 @@#include <drm/display/drm_dp_helper.h> #include <drm/display/drm_hdcp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/bridge/ite-it66121.c +1 -0
@@ -21,6 +21,7 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_modes.h>
Signature · 1 line
2.34.1
PATCH 33/86 drm/bridge: lontium: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9211.c | 1 + drivers/gpu/drm/bridge/lontium-lt9611.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 ++ 4 files changed, 7 insertions(+)
drivers/gpu/drm/bridge/lontium-lt8912b.c +2 -0
@@ -12,8 +12,10 @@#include <drm/drm_probe_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <video/videomode.h>
drivers/gpu/drm/bridge/lontium-lt9211.c +1 -0
@@ -22,6 +22,7 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h>
drivers/gpu/drm/bridge/lontium-lt9611.c +2 -0
@@ -17,8 +17,10 @@#include <sound/hdmi-codec.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/bridge/lontium-lt9611uxc.c +2 -0
@@ -20,8 +20,10 @@#include <sound/hdmi-codec.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 34/86 drm/bridge: lvds-codec: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/lvds-codec.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/lvds-codec.c +1 -0
@@ -13,6 +13,7 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_of.h> #include <drm/drm_panel.h>
Signature · 1 line
2.34.1
PATCH 35/86 drm/bridge: megachips: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +2 -0
@@ -25,8 +25,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 36/86 drm/bridge: nxp: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/nxp-ptn3460.c +2 -0
@@ -11,9 +11,11 @@#include <linux/module.h> #include <linux/of.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 37/86 drm/bridge: panel: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/panel.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/panel.c +1 -0
@@ -7,6 +7,7 @@#include <linux/debugfs.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_connector.h> #include <drm/drm_encoder.h>
Signature · 1 line
2.34.1
PATCH 38/86 drm/bridge: sii902x: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/sii902x.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/sii902x.c +2 -0
@@ -22,9 +22,11 @@#include <linux/clk.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 39/86 drm/bridge: simple-bridge: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/simple-bridge.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/simple-bridge.c +2 -0
@@ -13,9 +13,11 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 40/86 drm/bridge: synopsys: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 ++ drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 1 + 2 files changed, 3 insertions(+)
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +2 -0
@@ -30,7 +30,9 @@#include <drm/display/drm_scdc_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +1 -0
@@ -21,6 +21,7 @@#include <drm/bridge/dw_mipi_dsi.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_mipi_dsi.h>
Signature · 1 line
2.34.1
PATCH 41/86 drm/bridge: tc358767: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/tc358767.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/tc358767.c +2 -0
@@ -31,9 +31,11 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 42/86 drm/bridge: ti: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/bridge/ti-dlpc3433.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi83.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 + drivers/gpu/drm/bridge/ti-tfp410.c | 2 ++ 4 files changed, 5 insertions(+)
drivers/gpu/drm/bridge/ti-dlpc3433.c +1 -0
@@ -9,6 +9,7 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_mipi_dsi.h>
drivers/gpu/drm/bridge/ti-sn65dsi83.c +1 -0
@@ -37,6 +37,7 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h>
drivers/gpu/drm/bridge/ti-sn65dsi86.c +1 -0
@@ -27,6 +27,7 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_edid.h>
drivers/gpu/drm/bridge/ti-tfp410.c +2 -0
@@ -13,9 +13,11 @@#include <linux/workqueue.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 43/86 drm/display: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/display/drm_dp_mst_topology.c +1 -0
@@ -41,6 +41,7 @@#include <drm/display/drm_dp_mst_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 44/86 drm: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/drm_atomic_helper.c | 1 + drivers/gpu/drm/drm_crtc_helper.c | 1 + drivers/gpu/drm/drm_fb_dma_helper.c | 1 + drivers/gpu/drm/drm_gem_framebuffer_helper.c | 1 + drivers/gpu/drm/drm_mipi_dbi.c | 2 ++ drivers/gpu/drm/drm_simple_kms_helper.c | 2 ++ 6 files changed, 8 insertions(+)
drivers/gpu/drm/drm_atomic_helper.c +1 -0
@@ -38,6 +38,7 @@#include <drm/drm_drv.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_self_refresh_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/drm_crtc_helper.c +1 -0
@@ -45,6 +45,7 @@#include <drm/drm_encoder.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/drm_fb_dma_helper.c +1 -0
@@ -10,6 +10,7 @@*/ #include <drm/drm_damage_helper.h> +#include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h>
drivers/gpu/drm/drm_gem_framebuffer_helper.c +1 -0
@@ -9,6 +9,7 @@#include <linux/module.h> #include <drm/drm_damage_helper.h> +#include <drm/drm_device.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem.h>
drivers/gpu/drm/drm_mipi_dbi.c +2 -0
@@ -13,6 +13,7 @@#include <linux/regulator/consumer.h> #include <linux/spi/spi.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_connector.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h>
@@ -25,6 +26,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_mipi_dbi.h> #include <drm/drm_modes.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <video/mipi_display.h>
drivers/gpu/drm/drm_simple_kms_helper.c +2 -0
@@ -8,10 +8,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 45/86 drm/exynos: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/exynos/exynos_dp.c | 1 + drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_dpi.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 ++++ drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 ++ drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ 9 files changed, 18 insertions(+)
drivers/gpu/drm/exynos/exynos_dp.c +1 -0
@@ -22,6 +22,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/exynos/exynos_drm_crtc.c +2 -0
@@ -10,7 +10,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_encoder.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/exynos/exynos_drm_dpi.c +2 -0
@@ -12,6 +12,8 @@#include <linux/regulator/consumer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/exynos/exynos_drm_drv.c +4 -0
@@ -15,11 +15,15 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> +#include <drm/drm_encoder.h> #include <drm/drm_fb_helper.h> #include <drm/drm_file.h> #include <drm/drm_fourcc.h> #include <drm/drm_ioctl.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h> #include <drm/exynos_drm.h>
drivers/gpu/drm/exynos/exynos_drm_dsi.c +1 -0
@@ -23,6 +23,7 @@#include <video/videomode.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_panel.h>
drivers/gpu/drm/exynos/exynos_drm_fb.c +2 -0
@@ -15,6 +15,8 @@#include <drm/drm_framebuffer.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/exynos_drm.h>
drivers/gpu/drm/exynos/exynos_drm_plane.c +2 -0
@@ -7,8 +7,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/exynos_drm.h> #include "exynos_drm_crtc.h"
drivers/gpu/drm/exynos/exynos_drm_vidi.c +2 -0
@@ -12,8 +12,10 @@#include <linux/timer.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/exynos/exynos_hdmi.c +2 -0
@@ -34,8 +34,10 @@#include <media/cec-notifier.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 46/86 drm/fsl-dcu: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 2 ++ 3 files changed, 6 insertions(+)
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c +2 -0
@@ -12,7 +12,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c +2 -0
@@ -9,11 +9,13 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c +2 -0
@@ -9,7 +9,9 @@#include <linux/of_graph.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 47/86 drm/gud: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/gud/gud_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/gud/gud_drv.c +1 -0
@@ -24,6 +24,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_shmem_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 48/86 drm/hisilicon: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 3 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 + drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 1 + 6 files changed, 11 insertions(+)
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c +2 -0
@@ -15,8 +15,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_vram_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "hibmc_drm_drv.h"
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +3 -0
@@ -18,8 +18,11 @@#include <linux/i2c-algo-bit.h> #include <linux/i2c.h> +#include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_encoder.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper.h> struct hibmc_connector {struct drm_connector base;
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c +2 -0
@@ -14,6 +14,8 @@#include <linux/io.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_print.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +1 -0
@@ -22,6 +22,7 @@#include <drm/drm_bridge.h> #include <drm/drm_device.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c +2 -0
@@ -22,12 +22,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_drv.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h> #include <drm/drm_gem_framebuffer_helper.h>
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c +1 -0
@@ -22,6 +22,7 @@#include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 49/86 drm/hyperv: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 2 ++ 2 files changed, 3 insertions(+)
drivers/gpu/drm/hyperv/hyperv_drm_drv.c +1 -0
@@ -13,6 +13,7 @@#include <drm/drm_drv.h> #include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_shmem_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_simple_kms_helper.h> #include "hyperv_drm.h"
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c +2 -0
@@ -5,6 +5,7 @@#include <linux/hyperv.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h>
@@ -14,6 +15,7 @@#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_shmem_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 50/86 drm/i2c: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/i2c/tda998x_drv.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i2c/tda998x_drv.c +2 -0
@@ -15,8 +15,10 @@#include <sound/hdmi-codec.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 51/86 drm/i915: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/i915/display/icl_dsi.c | 2 ++ drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_atomic_plane.c | 2 ++ drivers/gpu/drm/i915/display/intel_connector.c | 1 + drivers/gpu/drm/i915/display/intel_crt.c | 2 ++ drivers/gpu/drm/i915/display/intel_crtc.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 3 +++ drivers/gpu/drm/i915/display/intel_dp.c | 2 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 ++ drivers/gpu/drm/i915/display/intel_dvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_hdmi.c | 2 ++ drivers/gpu/drm/i915/display/intel_lvds.c | 2 ++ drivers/gpu/drm/i915/display/intel_sdvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_tv.c | 2 ++ drivers/gpu/drm/i915/display/vlv_dsi.c | 2 ++ 15 files changed, 28 insertions(+)
drivers/gpu/drm/i915/display/icl_dsi.c +2 -0
@@ -27,7 +27,9 @@#include <drm/display/drm_dsc_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_reg.h" #include "icl_dsi.h"
drivers/gpu/drm/i915/display/intel_atomic.c +1 -0
@@ -31,6 +31,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> #include "i915_drv.h"
drivers/gpu/drm/i915/display/intel_atomic_plane.c +2 -0
@@ -32,7 +32,9 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "gt/intel_rps.h"
drivers/gpu/drm/i915/display/intel_connector.c +1 -0
@@ -27,6 +27,7 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include "i915_drv.h"
drivers/gpu/drm/i915/display/intel_crt.c +2 -0
@@ -29,8 +29,10 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "i915_drv.h"
drivers/gpu/drm/i915/display/intel_crtc.c +1 -0
@@ -7,6 +7,7 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane.h> #include <drm/drm_vblank_work.h>
drivers/gpu/drm/i915/display/intel_display.c +3 -0
@@ -37,10 +37,13 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_damage_helper.h> #include <drm/drm_edid.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h>
drivers/gpu/drm/i915/display/intel_dp.c +2 -0
@@ -35,12 +35,14 @@#include <asm/byteorder.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/display/drm_dp_helper.h> #include <drm/display/drm_dsc_helper.h> #include <drm/display/drm_hdmi_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "g4x_dp.h"
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -0
@@ -25,7 +25,9 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "i915_drv.h"
drivers/gpu/drm/i915/display/intel_dvo.c +2 -0
@@ -29,7 +29,9 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/display/intel_hdmi.c +2 -0
@@ -36,8 +36,10 @@#include <drm/display/drm_hdmi_helper.h> #include <drm/display/drm_scdc_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/intel_lpe_audio.h> #include "i915_debugfs.h"
drivers/gpu/drm/i915/display/intel_lvds.c +2 -0
@@ -35,8 +35,10 @@#include <linux/vga_switcheroo.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/display/intel_sdvo.c +2 -0
@@ -33,8 +33,10 @@#include <drm/display/drm_hdmi_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/display/intel_tv.c +2 -0
@@ -31,8 +31,10 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/display/vlv_dsi.c +2 -0
@@ -26,9 +26,11 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include "i915_drv.h" #include "i915_reg.h"
Signature · 1 line
2.34.1
PATCH 52/86 drm/imx: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/imx/dcss/dcss-crtc.c | 2 ++ drivers/gpu/drm/imx/dcss/dcss-kms.c | 1 + drivers/gpu/drm/imx/dcss/dcss-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 1 + drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-tve.c | 2 ++ drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c | 3 +++ drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/parallel-display.c | 2 ++ 10 files changed, 19 insertions(+)
drivers/gpu/drm/imx/dcss/dcss-crtc.c +2 -0
@@ -5,6 +5,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h>
drivers/gpu/drm/imx/dcss/dcss-kms.c +1 -0
@@ -10,6 +10,7 @@#include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/imx/dcss/dcss-plane.c +2 -0
@@ -5,11 +5,13 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "dcss-dev.h" #include "dcss-kms.h"
drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_edid.h> #include <drm/drm_encoder.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/imx/ipuv3/imx-drm-core.c +2 -0
@@ -20,6 +20,8 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/imx/ipuv3/imx-ldb.c +2 -0
@@ -22,9 +22,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/imx/ipuv3/imx-tve.c +2 -0
@@ -18,8 +18,10 @@#include <video/imx-ipu-v3.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c +3 -0
@@ -18,8 +18,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_encoder.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c +2 -0
@@ -7,6 +7,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h>
@@ -14,6 +15,7 @@#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <video/imx-ipu-v3.h>
drivers/gpu/drm/imx/ipuv3/parallel-display.c +2 -0
@@ -15,9 +15,11 @@#include <video/of_display_timing.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
Re: [PATCH 52/86] drm/imx: Direct include headers from drm_atomic_helper
Quoted 7 lines · On Sat, Jan 21, 2023 at 09:08:30PM +0100, Sam Ravnborg via B4 Submission…
From: Sam Ravnborg <[email protected]>
Direct include the headers that otherwise comes indirect from
drm_atomic_helper, becausedrm_atomic_helperwill be reduced to include only the minimal set of headers.Signed-off-by Sam Ravnborg <[email protected]>
regards
Philipp
PATCH 53/86 drm/ingenic: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 +++ drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 ++ 2 files changed, 5 insertions(+)
drivers/gpu/drm/ingenic/ingenic-drm-drv.c +3 -0
@@ -22,6 +22,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_color_mgmt.h>
@@ -37,6 +38,8 @@#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_plane.h>
drivers/gpu/drm/ingenic/ingenic-ipu.c +2 -0
@@ -20,6 +20,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h> #include <drm/drm_fb_dma_helper.h>
@@ -28,6 +29,7 @@#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane.h> #include <drm/drm_property.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.34.1
PATCH 54/86 drm/kmb: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/kmb/kmb_crtc.c | 1 + drivers/gpu/drm/kmb/kmb_drv.h | 1 + drivers/gpu/drm/kmb/kmb_plane.c | 2 ++ 3 files changed, 4 insertions(+)
drivers/gpu/drm/kmb/kmb_crtc.c +1 -0
@@ -7,6 +7,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_print.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/kmb/kmb_drv.h +1 -0
@@ -7,6 +7,7 @@#define __KMB_DRV_H__#include <drm/drm_device.h> +#include <drm/drm_crtc.h> #include "kmb_plane.h" #include "kmb_regs.h"
drivers/gpu/drm/kmb/kmb_plane.c +2 -0
@@ -5,6 +5,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h>
@@ -12,6 +13,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include "kmb_drv.h" #include "kmb_plane.h"
Signature · 1 line
2.34.1
PATCH 55/86 drm/logicvc: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/logicvc/logicvc_crtc.c | 2 ++ drivers/gpu/drm/logicvc/logicvc_crtc.h | 2 ++ drivers/gpu/drm/logicvc/logicvc_interface.c | 1 + drivers/gpu/drm/logicvc/logicvc_layer.c | 2 ++ 4 files changed, 7 insertions(+)
drivers/gpu/drm/logicvc/logicvc_crtc.c +2 -0
@@ -10,9 +10,11 @@#include <linux/workqueue.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_drv.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/logicvc/logicvc_crtc.h +2 -0
@@ -7,6 +7,8 @@#ifndef _LOGICVC_CRTC_H_#define _LOGICVC_CRTC_H_ +#include <drm/drm_crtc.h> +struct drm_pending_vblank_event ;struct logicvc_drm ;
drivers/gpu/drm/logicvc/logicvc_interface.c +1 -0
@@ -7,6 +7,7 @@#include <linux/types.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_connector.h> #include <drm/drm_drv.h>
drivers/gpu/drm/logicvc/logicvc_layer.c +2 -0
@@ -9,10 +9,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 56/86 drm/mcde: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/mcde/mcde_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/mcde/mcde_drv.c +1 -0
@@ -74,6 +74,7 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_panel.h>
Signature · 1 line
2.34.1
PATCH 57/86 drm/mediatek: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/mediatek/mtk_dp.c | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_plane.c | 3 +++ drivers/gpu/drm/mediatek/mtk_dsi.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 + 7 files changed, 11 insertions(+)
drivers/gpu/drm/mediatek/mtk_dp.c +1 -0
@@ -7,6 +7,7 @@#include <drm/display/drm_dp.h> #include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/mediatek/mtk_dpi.c +1 -0
@@ -19,6 +19,7 @@#include <video/videomode.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_crtc.h>
drivers/gpu/drm/mediatek/mtk_drm_crtc.c +2 -0
@@ -15,6 +15,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/mediatek/mtk_drm_drv.c +2 -0
@@ -22,6 +22,8 @@#include <drm/drm_gem.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/mediatek/mtk_drm_plane.c +3 -0
@@ -6,11 +6,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_blend.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> +#include <linux/align.h> #include "mtk_drm_crtc.h"
drivers/gpu/drm/mediatek/mtk_dsi.c +1 -0
@@ -17,6 +17,7 @@#include <video/videomode.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_mipi_dsi.h>
drivers/gpu/drm/mediatek/mtk_hdmi.c +1 -0
@@ -24,6 +24,7 @@#include <sound/hdmi-codec.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
Signature · 1 line
2.34.1
PATCH 58/86 drm/meson: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/meson/meson_crtc.c | 3 +++ drivers/gpu/drm/meson/meson_drv.c | 1 + drivers/gpu/drm/meson/meson_encoder_cvbs.c | 1 + drivers/gpu/drm/meson/meson_encoder_hdmi.c | 1 + drivers/gpu/drm/meson/meson_overlay.c | 2 ++ drivers/gpu/drm/meson/meson_plane.c | 2 ++ 6 files changed, 10 insertions(+)
drivers/gpu/drm/meson/meson_crtc.c +3 -0
@@ -13,7 +13,10 @@#include <linux/soc/amlogic/meson-canvas.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_crtc.h> #include <drm/drm_device.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/meson/meson_drv.c +1 -0
@@ -21,6 +21,7 @@#include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/meson/meson_encoder_cvbs.c +1 -0
@@ -13,6 +13,7 @@#include <linux/of_graph.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_device.h>
drivers/gpu/drm/meson/meson_encoder_hdmi.c +1 -0
@@ -17,6 +17,7 @@#include <media/cec-notifier.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_device.h>
drivers/gpu/drm/meson/meson_overlay.c +2 -0
@@ -9,6 +9,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h>
@@ -16,6 +17,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "meson_overlay.h" #include "meson_registers.h"
drivers/gpu/drm/meson/meson_plane.c +2 -0
@@ -13,6 +13,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h>
@@ -20,6 +21,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "meson_plane.h" #include "meson_registers.h"
Signature · 1 line
2.34.1
PATCH 59/86 drm/mgag200: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/mgag200/mgag200_g200.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200er.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ev.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ew3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200se.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200wb.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_mode.c | 2 ++ 9 files changed, 18 insertions(+)
drivers/gpu/drm/mgag200/mgag200_g200.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200eh.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200eh3.c +2 -0
@@ -4,8 +4,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200er.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200ev.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200ew3.c +2 -0
@@ -4,8 +4,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200se.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_g200wb.c +2 -0
@@ -5,8 +5,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mgag200_drv.h"
drivers/gpu/drm/mgag200/mgag200_mode.c +2 -0
@@ -13,12 +13,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_format_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 60/86 drm/msm: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c | 3 +++ drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 2 ++ drivers/gpu/drm/msm/dp/dp_drm.c | 1 + drivers/gpu/drm/msm/msm_drv.c | 2 ++ drivers/gpu/drm/msm/msm_fb.c | 1 + 20 files changed, 33 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +2 -0
@@ -13,11 +13,13 @@#include <linux/bits.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_flip_work.h> #include <drm/drm_framebuffer.h> #include <drm/drm_mode.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +1 -0
@@ -14,6 +14,7 @@#include <drm/drm_crtc.h> #include <drm/drm_file.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "msm_drv.h"
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1 -0
@@ -14,6 +14,7 @@#include <linux/of_irq.h> #include <linux/pm_opp.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_file.h> #include <drm/drm_framebuffer.h>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +2 -0
@@ -11,11 +11,13 @@#include <linux/dma-buf.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_blend.h> #include <drm/drm_damage_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "msm_drv.h" #include "dpu_kms.h"
drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c +2 -0
@@ -3,7 +3,9 @@* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. */ +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include "dpu_writeback.h"
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c +2 -0
@@ -4,9 +4,11 @@* Author: Rob Clark <[email protected]> */ +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_flip_work.h> #include <drm/drm_mode.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c +1 -0
@@ -7,6 +7,7 @@*/ #include <drm/drm_crtc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mdp4_kms.h"
drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c +2 -0
@@ -5,6 +5,8 @@*/ #include <drm/drm_crtc.h> +#include <drm/drm_encoder.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mdp4_kms.h"
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c +1 -0
@@ -6,6 +6,7 @@#include <linux/delay.h> +#include <drm/drm_encoder.h> #include <drm/drm_vblank.h> #include "msm_drv.h"
drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c +2 -0
@@ -8,6 +8,8 @@#include <linux/delay.h> #include <drm/drm_crtc.h> +#include <drm/drm_encoder.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mdp4_kms.h"
drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c +3 -0
@@ -5,6 +5,9 @@* Author: Vinay Simha <[email protected]> */ +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> +#include "mdp4_kms.h" struct mdp4_lvds_connector {
drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c +2 -0
@@ -5,10 +5,12 @@*/ #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "mdp4_kms.h"
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c +2 -0
@@ -8,11 +8,13 @@#include <linux/sort.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_mode.h> #include <drm/drm_crtc.h> #include <drm/drm_flip_work.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c +1 -0
@@ -6,6 +6,7 @@*/ #include <drm/drm_crtc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "mdp5_kms.h"
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c +1 -0
@@ -9,6 +9,7 @@#include <linux/interconnect.h> #include <linux/of_irq.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_debugfs.h> #include <drm/drm_drv.h> #include <drm/drm_file.h>
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h +2 -0
@@ -7,6 +7,8 @@#ifndef __MDP5_KMS_H__#define __MDP5_KMS_H__ +#include <drm/drm_encoder.h> +#include "msm_drv.h" #include "msm_kms.h" #include "disp/mdp_kms.h"
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c +2 -0
@@ -6,11 +6,13 @@*/ #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include "mdp5_kms.h"
drivers/gpu/drm/msm/dp/dp_drm.c +1 -0
@@ -5,6 +5,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_crtc.h>
drivers/gpu/drm/msm/msm_drv.c +2 -0
@@ -16,6 +16,8 @@#include <drm/drm_drv.h> #include <drm/drm_file.h> #include <drm/drm_ioctl.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_prime.h> #include <drm/drm_of.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/msm/msm_fb.c +1 -0
@@ -10,6 +10,7 @@#include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_probe_helper.h> #include "msm_drv.h"
Signature · 1 line
2.34.1
PATCH 61/86 drm/mxsfb: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/mxsfb/lcdif_drv.c | 2 ++ drivers/gpu/drm/mxsfb/lcdif_kms.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 2 ++ 4 files changed, 8 insertions(+)
drivers/gpu/drm/mxsfb/lcdif_drv.c +2 -0
@@ -20,6 +20,8 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_mode_config.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/mxsfb/lcdif_kms.c +2 -0
@@ -15,6 +15,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_color_mgmt.h> #include <drm/drm_crtc.h>
@@ -24,6 +25,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/mxsfb/mxsfb_drv.c +2 -0
@@ -25,6 +25,8 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_mode_config.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/mxsfb/mxsfb_kms.c +2 -0
@@ -17,6 +17,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_encoder.h>
@@ -25,6 +26,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.34.1
PATCH 62/86 drm/nouveau: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 + drivers/gpu/drm/nouveau/dispnv50/head.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_connector.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_display.c | 1 + 5 files changed, 8 insertions(+)
drivers/gpu/drm/nouveau/dispnv50/disp.c +1 -0
@@ -39,6 +39,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> #include <drm/drm_fb_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/nouveau/dispnv50/head.c +2 -0
@@ -32,6 +32,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "nouveau_connector.h"
drivers/gpu/drm/nouveau/dispnv50/wndw.c +2 -0
@@ -32,9 +32,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "nouveau_bo.h" #include "nouveau_gem.h"
drivers/gpu/drm/nouveau/nouveau_connector.c +2 -0
@@ -30,8 +30,10 @@#include <linux/vga_switcheroo.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_atomic.h>
drivers/gpu/drm/nouveau/nouveau_display.c +1 -0
@@ -32,6 +32,7 @@#include <drm/drm_fb_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
Signature · 1 line
2.34.1
PATCH 63/86 drm/omapdrm: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/omapdrm/omap_crtc.c | 2 ++ drivers/gpu/drm/omapdrm/omap_drv.c | 3 +++ drivers/gpu/drm/omapdrm/omap_plane.c | 2 ++ 3 files changed, 7 insertions(+)
drivers/gpu/drm/omapdrm/omap_crtc.c +2 -0
@@ -8,8 +8,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_mode.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "omap_drv.h"
drivers/gpu/drm/omapdrm/omap_drv.c +3 -0
@@ -11,12 +11,15 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_drv.h> #include <drm/drm_fb_helper.h> #include <drm/drm_file.h> #include <drm/drm_ioctl.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_prime.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/omapdrm/omap_plane.c +2 -0
@@ -6,10 +6,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include "omap_dmm_tiler.h" #include "omap_drv.h"
Signature · 1 line
2.34.1
PATCH 64/86 drm/qxl: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/qxl/qxl_display.c +2 -0
@@ -30,9 +30,11 @@#include <drm/drm_drv.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 65/86 drm/rcar-du: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_kms.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_writeback.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c | 1 + drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.c | 1 + 9 files changed, 13 insertions(+)
drivers/gpu/drm/rcar-du/rcar_du_crtc.c +2 -0
@@ -14,10 +14,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "rcar_cmm.h"
drivers/gpu/drm/rcar-du/rcar_du_drv.c +1 -0
@@ -23,6 +23,7 @@#include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_probe_helper.h> #include "rcar_du_drv.h"
drivers/gpu/drm/rcar-du/rcar_du_kms.c +1 -0
@@ -15,6 +15,7 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/rcar-du/rcar_du_plane.c +2 -0
@@ -9,6 +9,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_device.h>
@@ -16,6 +17,7 @@#include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "rcar_du_drv.h" #include "rcar_du_group.h"
drivers/gpu/drm/rcar-du/rcar_du_vsp.c +2 -0
@@ -9,6 +9,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h>
@@ -17,6 +18,7 @@#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include <linux/bitops.h>
drivers/gpu/drm/rcar-du/rcar_du_writeback.c +2 -0
@@ -6,10 +6,12 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_device.h> #include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_writeback.h>
drivers/gpu/drm/rcar-du/rcar_lvds.c +1 -0
@@ -21,6 +21,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_of.h> #include <drm/drm_panel.h>
drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h>
drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h>
Signature · 1 line
2.34.1
PATCH 66/86 drm/rockchip: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 2 ++ drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 ++ drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 1 + drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 1 + drivers/gpu/drm/rockchip/inno_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_rgb.c | 1 + 13 files changed, 20 insertions(+)
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c +2 -0
@@ -22,6 +22,8 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/bridge/analogix_dp.h> #include <drm/drm_of.h> #include <drm/drm_panel.h>
drivers/gpu/drm/rockchip/cdn-dp-core.c +2 -0
@@ -17,7 +17,9 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +1 -0
@@ -20,6 +20,7 @@#include <drm/bridge/dw_mipi_dsi.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +1 -0
@@ -13,6 +13,7 @@#include <drm/bridge/dw_hdmi.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/rockchip/inno_hdmi.c +2 -0
@@ -16,7 +16,9 @@#include <linux/of_device.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/rockchip/rk3066_hdmi.c +2 -0
@@ -4,7 +4,9 @@* Zheng Yang <[email protected]> */ +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_drv.h> #include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/rockchip/rockchip_drm_drv.h +1 -0
@@ -10,6 +10,7 @@#define _ROCKCHIP_DRM_DRV_H#include <drm/drm_atomic_helper.h> +#include <drm/drm_encoder.h> #include <drm/drm_gem.h> #include <linux/i2c.h>
drivers/gpu/drm/rockchip/rockchip_drm_fb.c +1 -0
@@ -12,6 +12,7 @@#include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "rockchip_drm_drv.h"
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +2 -0
@@ -20,6 +20,7 @@#include <drm/drm.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h>
@@ -28,6 +29,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_self_refresh_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +2 -0
@@ -22,12 +22,14 @@#include <drm/drm.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_debugfs.h> #include <drm/drm_flip_work.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/rockchip/rockchip_lvds.c +2 -0
@@ -19,8 +19,10 @@#include <drm/display/drm_dp_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/rockchip/rockchip_rgb.c +1 -0
@@ -13,6 +13,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 67/86 drm/solomon: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/solomon/ssd130x.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/solomon/ssd130x.c +2 -0
@@ -20,6 +20,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_edid.h>
@@ -31,6 +32,7 @@#include <drm/drm_gem_shmem_helper.h> #include <drm/drm_managed.h> #include <drm/drm_modes.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_rect.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 68/86 drm/sprd: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/sprd/sprd_dpu.c | 2 ++ drivers/gpu/drm/sprd/sprd_drm.c | 1 + drivers/gpu/drm/sprd/sprd_dsi.c | 1 + 3 files changed, 4 insertions(+)
drivers/gpu/drm/sprd/sprd_dpu.c +2 -0
@@ -17,11 +17,13 @@#include <linux/workqueue.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sprd_drm.h" #include "sprd_dpu.h"
drivers/gpu/drm/sprd/sprd_drm.c +1 -0
@@ -14,6 +14,7 @@#include <drm/drm_drv.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/sprd/sprd_dsi.c +1 -0
@@ -13,6 +13,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 69/86 drm/sti: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/sti/sti_crtc.c | 2 ++ drivers/gpu/drm/sti/sti_cursor.c | 2 ++ drivers/gpu/drm/sti/sti_dvo.c | 2 ++ drivers/gpu/drm/sti/sti_gdp.c | 2 ++ drivers/gpu/drm/sti/sti_hda.c | 2 ++ drivers/gpu/drm/sti/sti_hdmi.c | 2 ++ drivers/gpu/drm/sti/sti_hqvdp.c | 2 ++ drivers/gpu/drm/sti/sti_tvout.c | 1 + drivers/gpu/drm/sti/sti_vid.c | 1 + 9 files changed, 16 insertions(+)
drivers/gpu/drm/sti/sti_crtc.c +2 -0
@@ -10,8 +10,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_device.h> #include <drm/drm_print.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/sti/sti_cursor.c +2 -0
@@ -10,10 +10,12 @@#include <linux/seq_file.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sti_compositor.h" #include "sti_cursor.h"
drivers/gpu/drm/sti/sti_dvo.c +2 -0
@@ -12,8 +12,10 @@#include <linux/platform_device.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/sti/sti_gdp.c +2 -0
@@ -11,11 +11,13 @@#include <linux/seq_file.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sti_compositor.h" #include "sti_gdp.h"
drivers/gpu/drm/sti/sti_hda.c +2 -0
@@ -13,10 +13,12 @@#include <linux/seq_file.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_debugfs.h> #include <drm/drm_device.h> #include <drm/drm_file.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/sti/sti_hdmi.c +2 -0
@@ -15,11 +15,13 @@#include <linux/reset.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_debugfs.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_file.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/sti/sti_hqvdp.c +2 -0
@@ -15,11 +15,13 @@#include <linux/seq_file.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_device.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sti_compositor.h" #include "sti_drv.h"
drivers/gpu/drm/sti/sti_tvout.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_debugfs.h> #include <drm/drm_device.h> #include <drm/drm_file.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include "sti_crtc.h"
drivers/gpu/drm/sti/sti_vid.c +1 -0
@@ -5,6 +5,7 @@*/ #include <linux/seq_file.h> +#include <drm/drm_crtc.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> #include <drm/drm_print.h>
Signature · 1 line
2.34.1
PATCH 70/86 drm/stm: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/stm/ltdc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/stm/ltdc.c +2 -0
@@ -24,6 +24,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h>
@@ -33,6 +34,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 71/86 drm/sun4i: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_lvds.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_tv.c | 2 ++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 ++ 11 files changed, 20 insertions(+)
drivers/gpu/drm/sun4i/sun4i_crtc.c +2 -0
@@ -17,8 +17,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_modes.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/sun4i/sun4i_drv.c +1 -0
@@ -19,6 +19,7 @@#include <drm/drm_drv.h> #include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/sun4i/sun4i_framebuffer.c +1 -0
@@ -10,6 +10,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_blend.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sun4i_drv.h" #include "sun4i_framebuffer.h"
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c +2 -0
@@ -17,8 +17,10 @@#include <linux/reset.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_encoder.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/sun4i/sun4i_layer.c +2 -0
@@ -8,8 +8,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "sun4i_backend.h" #include "sun4i_frontend.h"
drivers/gpu/drm/sun4i/sun4i_lvds.c +2 -0
@@ -7,7 +7,9 @@#include <linux/clk.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/sun4i/sun4i_rgb.c +2 -0
@@ -9,7 +9,9 @@#include <linux/clk.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/sun4i/sun4i_tv.c +2 -0
@@ -16,6 +16,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_print.h>
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +2 -0
@@ -20,7 +20,9 @@#include <linux/slab.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/sun4i/sun8i_ui_layer.c +2 -0
@@ -11,6 +11,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h>
@@ -18,6 +19,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "sun8i_mixer.h"
drivers/gpu/drm/sun4i/sun8i_vi_layer.c +2 -0
@@ -5,12 +5,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "sun8i_csc.h"
Signature · 1 line
2.34.1
PATCH 72/86 drm/tegra: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/tegra/dc.c | 2 ++ drivers/gpu/drm/tegra/drm.c | 2 ++ drivers/gpu/drm/tegra/dsi.c | 2 ++ drivers/gpu/drm/tegra/hdmi.c | 2 ++ drivers/gpu/drm/tegra/hub.c | 2 ++ drivers/gpu/drm/tegra/plane.c | 1 + drivers/gpu/drm/tegra/rgb.c | 1 + drivers/gpu/drm/tegra/sor.c | 2 ++ 8 files changed, 14 insertions(+)
drivers/gpu/drm/tegra/dc.c +2 -0
@@ -22,10 +22,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_debugfs.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "dc.h"
drivers/gpu/drm/tegra/drm.c +2 -0
@@ -20,6 +20,8 @@#include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_ioctl.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_prime.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/tegra/dsi.c +2 -0
@@ -18,9 +18,11 @@#include <video/mipi_display.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> #include <drm/drm_mipi_dsi.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/tegra/hdmi.c +2 -0
@@ -20,10 +20,12 @@#include <sound/hdmi-codec.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/tegra/hub.c +2 -0
@@ -17,9 +17,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include "drm.h"
drivers/gpu/drm/tegra/plane.c +1 -0
@@ -9,6 +9,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h>
drivers/gpu/drm/tegra/rgb.c +1 -0
@@ -8,6 +8,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge_connector.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_simple_kms_helper.h> #include "drm.h"
drivers/gpu/drm/tegra/sor.c +2 -0
@@ -19,8 +19,10 @@#include <drm/display/drm_dp_helper.h> #include <drm/display/drm_scdc_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 73/86 drm/tests: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/tests/drm_plane_helper_test.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/tests/drm_plane_helper_test.c +1 -0
@@ -8,6 +8,7 @@#include <kunit/test.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_crtc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_modes.h> #include <drm/drm_rect.h>
Signature · 1 line
2.34.1
PATCH 74/86 drm/tidss: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/tidss/tidss_crtc.c | 2 ++ drivers/gpu/drm/tidss/tidss_drv.c | 1 + drivers/gpu/drm/tidss/tidss_kms.c | 1 + drivers/gpu/drm/tidss/tidss_plane.c | 2 ++ 4 files changed, 6 insertions(+)
drivers/gpu/drm/tidss/tidss_crtc.c +2 -0
@@ -6,8 +6,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_gem_dma_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_vblank.h> #include "tidss_crtc.h"
drivers/gpu/drm/tidss/tidss_drv.c +1 -0
@@ -16,6 +16,7 @@#include <drm/drm_fbdev_generic.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_module.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/tidss/tidss_kms.c +1 -0
@@ -10,6 +10,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/tidss/tidss_plane.c +2 -0
@@ -6,11 +6,13 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_blend.h> #include <drm/drm_crtc.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "tidss_crtc.h" #include "tidss_dispc.h"
Signature · 1 line
2.34.1
PATCH 75/86 drm/tilcdc: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_plane.c | 2 ++ 3 files changed, 4 insertions(+)
drivers/gpu/drm/tilcdc/tilcdc_crtc.c +1 -0
@@ -11,6 +11,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h>
drivers/gpu/drm/tilcdc/tilcdc_drv.c +1 -0
@@ -21,6 +21,7 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_mm.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/tilcdc/tilcdc_plane.c +2 -0
@@ -6,8 +6,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include "tilcdc_drv.h"
Signature · 1 line
2.34.1
PATCH 76/86 drm/tiny: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/tiny/arcpgu.c | 2 ++ drivers/gpu/drm/tiny/bochs.c | 3 +++ drivers/gpu/drm/tiny/gm12u320.c | 1 + drivers/gpu/drm/tiny/repaper.c | 2 ++ 4 files changed, 8 insertions(+)
drivers/gpu/drm/tiny/arcpgu.c +2 -0
@@ -7,6 +7,7 @@#include <linux/clk.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_debugfs.h> #include <drm/drm_device.h> #include <drm/drm_drv.h>
@@ -17,6 +18,7 @@#include <drm/drm_framebuffer.h> #include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_of.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/tiny/bochs.c +3 -0
@@ -5,6 +5,7 @@#include <drm/drm_aperture.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_fbdev_generic.h>
@@ -13,6 +14,8 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_vram_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_module.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/tiny/gm12u320.c +1 -0
@@ -23,6 +23,7 @@#include <drm/drm_gem_shmem_helper.h> #include <drm/drm_ioctl.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/tiny/repaper.c +2 -0
@@ -22,6 +22,7 @@#include <linux/thermal.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_connector.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h>
@@ -33,6 +34,7 @@#include <drm/drm_gem_dma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_modes.h> #include <drm/drm_rect.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 77/86 drm/udl: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/udl/udl_drv.c | 1 + drivers/gpu/drm/udl/udl_modeset.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/udl/udl_drv.c +1 -0
@@ -12,6 +12,7 @@#include <drm/drm_managed.h> #include <drm/drm_modeset_helper.h> #include <drm/drm_ioctl.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_probe_helper.h> #include <drm/drm_print.h>
drivers/gpu/drm/udl/udl_modeset.c +1 -0
@@ -12,6 +12,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h>
Signature · 1 line
2.34.1
PATCH 78/86 drm/vboxvideo: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vboxvideo/vbox_mode.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/vboxvideo/vbox_mode.c +2 -0
@@ -15,12 +15,14 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_fb_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_plane_helper.h> #include <drm/drm_probe_helper.h>
Signature · 1 line
2.34.1
PATCH 79/86 drm/vc4: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vc4/vc4_crtc.c | 2 ++ drivers/gpu/drm/vc4/vc4_dpi.c | 1 + drivers/gpu/drm/vc4/vc4_dsi.c | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++ drivers/gpu/drm/vc4/vc4_kms.c | 2 ++ drivers/gpu/drm/vc4/vc4_plane.c | 2 ++ drivers/gpu/drm/vc4/vc4_txp.c | 2 ++ drivers/gpu/drm/vc4/vc4_vec.c | 2 ++ 8 files changed, 14 insertions(+)
drivers/gpu/drm/vc4/vc4_crtc.c +2 -0
@@ -36,10 +36,12 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_drv.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/vc4/vc4_dpi.c +1 -0
@@ -15,6 +15,7 @@#include <drm/drm_bridge.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_of.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h>
drivers/gpu/drm/vc4/vc4_dsi.c +1 -0
@@ -30,6 +30,7 @@#include <linux/pm_runtime.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_edid.h> #include <drm/drm_mipi_dsi.h>
drivers/gpu/drm/vc4/vc4_hdmi.c +2 -0
@@ -34,7 +34,9 @@#include <drm/display/drm_hdmi_helper.h> #include <drm/display/drm_scdc_helper.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h> #include <linux/clk.h>
drivers/gpu/drm/vc4/vc4_kms.c +2 -0
@@ -16,9 +16,11 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/vc4/vc4_plane.c +2 -0
@@ -17,6 +17,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_uapi.h> #include <drm/drm_blend.h> #include <drm/drm_drv.h>
@@ -24,6 +25,7 @@#include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> #include <drm/drm_gem_atomic_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "uapi/drm/vc4_drm.h"
drivers/gpu/drm/vc4/vc4_txp.c +2 -0
@@ -15,11 +15,13 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_fb_dma_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/vc4/vc4_vec.c +2 -0
@@ -14,8 +14,10 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_panel.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.34.1
PATCH 80/86 drm/virtio: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/virtio/virtgpu_display.c | 3 +++ drivers/gpu/drm/virtio/virtgpu_plane.c | 2 ++ 2 files changed, 5 insertions(+)
drivers/gpu/drm/virtio/virtgpu_display.c +3 -0
@@ -26,10 +26,13 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/virtio/virtgpu_plane.c +2 -0
@@ -24,8 +24,10 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "virtgpu_drv.h"
Signature · 1 line
2.34.1
PATCH 81/86 drm/vkms: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vkms/vkms_crtc.c | 2 ++ drivers/gpu/drm/vkms/vkms_drv.c | 1 + drivers/gpu/drm/vkms/vkms_output.c | 2 ++ drivers/gpu/drm/vkms/vkms_plane.c | 1 + drivers/gpu/drm/vkms/vkms_writeback.c | 2 ++ 5 files changed, 8 insertions(+)
drivers/gpu/drm/vkms/vkms_crtc.c +2 -0
@@ -4,6 +4,8 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/vkms/vkms_drv.c +1 -0
@@ -22,6 +22,7 @@#include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_ioctl.h> #include <drm/drm_managed.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_gem_shmem_helper.h> #include <drm/drm_vblank.h>
drivers/gpu/drm/vkms/vkms_output.c +2 -0
@@ -2,7 +2,9 @@#include "vkms_drv.h" #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <drm/drm_simple_kms_helper.h>
drivers/gpu/drm/vkms/vkms_plane.c +1 -0
@@ -7,6 +7,7 @@#include <drm/drm_fourcc.h> #include <drm/drm_gem_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "vkms_drv.h" #include "vkms_formats.h"
drivers/gpu/drm/vkms/vkms_writeback.c +2 -0
@@ -3,6 +3,7 @@#include <linux/iosys-map.h> #include <drm/drm_atomic.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_writeback.h>
@@ -10,6 +11,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_gem_shmem_helper.h> +#include <drm/drm_modeset_helper_vtables.h> #include "vkms_drv.h" #include "vkms_formats.h"
Signature · 1 line
2.34.1
PATCH 82/86 drm/vmwgfx: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 1 + 4 files changed, 5 insertions(+)
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +2 -0
@@ -30,8 +30,10 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper.h> #include <drm/drm_rect.h> #include <drm/drm_sysfs.h>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +1 -0
@@ -28,6 +28,7 @@#include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "vmwgfx_kms.h"
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +1 -0
@@ -29,6 +29,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "vmwgfx_kms.h"
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +1 -0
@@ -29,6 +29,7 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_damage_helper.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include "vmwgfx_kms.h" #include "vmw_surface_cache.h"
Signature · 1 line
2.34.1
PATCH 83/86 drm/xen: Direct include headers from drm_atomic_helper
In reply to Sam RavnborgDirect include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers.
--- drivers/gpu/drm/xen/xen_drm_front_conn.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/xen/xen_drm_front_conn.c +2 -0
@@ -9,8 +9,10 @@*/ #include <drm/drm_atomic_helper.h> +#include <drm/drm_atomic_state_helper.h> #include <drm/drm_drv.h> #include <drm/drm_fourcc.h> +#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_probe_helper.h> #include <video/videomode.h>
Signature · 1 line
2.34.1
PATCH 84/86 drm/drm_atomic_helper: Minimize include footprint
In reply to Sam RavnborgReduce drm_atomic_helper.h to include or forward the minimal set of files/symbols - to minimize the impact of the files that includes this header file.
--- include/drm/drm_atomic_helper.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
include/drm/drm_atomic_helper.h +14 -7
@@ -28,11 +28,9 @@#ifndef DRM_ATOMIC_HELPER_H_ #define DRM_ATOMIC_HELPER_H_ -#include <drm/drm_crtc.h> -#include <drm/drm_modeset_helper_vtables.h> -#include <drm/drm_modeset_helper.h> -#include <drm/drm_atomic_state_helper.h> -#include <drm/drm_util.h> +#include <linux/types.h> + +#include <drm/drm_plane.h> /* * Drivers that don't allow primary plane scaling may pass this macro in place
@@ -44,8 +42,17 @@#define DRM_PLANE_NO_SCALING (1<<16)struct drm_atomic_state ; -struct drm_private_obj ; -struct drm_private_state ; +struct drm_bridge ; +struct drm_bridge_state ; +struct drm_connector_state ; +struct drm_crtc_state ; +struct drm_device ; +struct drm_encoder ; +struct drm_framebuffer ; +struct drm_mode_set ; +struct drm_modeset_acquire_ctx ; +struct drm_pending_vblank_event ; +int drm_atomic_helper_check_modeset (struct drm_device *dev,struct drm_atomic_state *state);
Signature · 1 line
2.34.1
Thomas Zimmermann
maintainerRe: [PATCH 84/86] drm/drm_atomic_helper: Minimize include footprint
Hi,
in the subject line, I'd use 'dependencies' instead of 'footprint'. Your choice.
Am 21.01.23 um 21:09 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 37 lines
From: Sam Ravnborg <[email protected]>
Reduce
drm_atomic_helper.hto include or forward the minimal set of files/symbols - to minimize the impact of the files that includes this header file.Signed-off-by Sam Ravnborg <[email protected]>--- include/drm/drm_atomic_helper.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)include/drm/drm_atomic_helper.h +4
-7@@ -28,11 +28,9 @@#ifndef DRM_ATOMIC_HELPER_H_ #define DRM_ATOMIC_HELPER_H_ -#include <drm/drm_crtc.h> -#include <drm/drm_modeset_helper_vtables.h> -#include <drm/drm_modeset_helper.h> -#include <drm/drm_atomic_state_helper.h> -#include <drm/drm_util.h> +#include <linux/types.h> + +#include <drm/drm_plane.h> /* * Drivers that don't allow primary plane scaling may pass this macro in place @@ -44,8 +42,17 @@#define DRM_PLANE_NO_SCALING (1<<16)struct drm_atomic_state ; -struct drm_private_obj ; -struct drm_private_state ; +struct drm_bridge ;
include/drm/drm_atomic_helper.h line 55
Quoted 10 lines
include/drm/drm_atomic_helper.h +10
-0+struct drm_bridge_state ; +struct drm_connector_state ; +struct drm_crtc_state ; +struct drm_device ; +struct drm_encoder ; +struct drm_framebuffer ; +struct drm_mode_set ; +struct drm_modeset_acquire_ctx ; +struct drm_pending_vblank_event ; +
No extra newline here.
Quoted 4 lines
include/drm/drm_atomic_helper.h +0
-0int drm_atomic_helper_check_modeset (struct drm_device *dev,struct drm_atomic_state *state);
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
PATCH 85/86 drm: move drm_timeout_abs_to_jiffies to drm_util
In reply to Sam Ravnborgdrm_timeout_abs_to_jiffies() was implmented in drm_syncobj where it really did not belong. Create a drm_util file and move the implementation. Likewise move the prototype and update all users.
--- drivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_syncobj.c | 34 ---------------------------- drivers/gpu/drm/drm_util.c | 40 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/tegra/uapi.c | 2 +- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 2 -- 9 files changed, 46 insertions(+), 40 deletions(-)
drivers/accel/ivpu/ivpu_gem.c +1 -1
@@ -12,7 +12,7 @@#include <drm/drm_cache.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "ivpu_drv.h" #include "ivpu_gem.h"
drivers/gpu/drm/Makefile +1 -0
@@ -42,6 +42,7 @@ drm-y := \ drm_syncobj.o \ drm_sysfs.o \ drm_trace_points.o \ + drm_util.o \ drm_vblank.o \ drm_vblank_work.o \ drm_vma_manager.o \
drivers/gpu/drm/drm_syncobj.c +0 -34
@@ -197,7 +197,6 @@#include <drm/drm_gem.h> #include <drm/drm_print.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> #include "drm_internal.h"
@@ -1114,39 +1113,6 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,return timeout; } -/** -* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value -* -* @timeout_nsec: timeout nsec component in ns, 0 for poll -* -* Calculate the timeout in jiffies from an absolute time in sec/nsec. -*/ -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec) -{ -ktime_t abs_timeout, now; -u64 timeout_ns, timeout_jiffies64; - -/* make 0 timeout means poll - absolute 0 doesn't seem valid */ -if (timeout_nsec ==0 ) -return 0 ; - - abs_timeout =ns_to_ktime (timeout_nsec); - now =ktime_get (); - -if (!ktime_after (abs_timeout, now)) -return 0 ; - - timeout_ns =ktime_to_ns (ktime_sub (abs_timeout, now)); - - timeout_jiffies64 =nsecs_to_jiffies64 (timeout_ns); -/* clamp timeout to avoid infinite timeout */ -if (timeout_jiffies64 >=MAX_SCHEDULE_TIMEOUT -1 ) -return MAX_SCHEDULE_TIMEOUT -1 ; - -return timeout_jiffies64 +1 ; -} -EXPORT_SYMBOL (drm_timeout_abs_to_jiffies); - static int drm_syncobj_array_wait(struct drm_device *dev, struct drm_file *file_private, struct drm_syncobj_wait *wait,
drivers/gpu/drm/drm_util.c new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: MIT + +#include <linux/export.h> +#include <linux/ktime.h> +#include <linux/timekeeping.h> + +#include <drm/drm_util.h> + +/** +* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value +* +* @timeout_nsec: timeout nsec component in ns, 0 for poll +* +* Calculate the timeout in jiffies from an absolute time in sec/nsec. +*/ +signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec) +{ +ktime_t abs_timeout, now; +u64 timeout_ns, timeout_jiffies64; + +/* make 0 timeout means poll - absolute 0 doesn't seem valid */ +if (timeout_nsec ==0 ) +return 0 ; + + abs_timeout =ns_to_ktime (timeout_nsec); + now =ktime_get (); + +if (!ktime_after (abs_timeout, now)) +return 0 ; + + timeout_ns =ktime_to_ns (ktime_sub (abs_timeout, now)); + + timeout_jiffies64 =nsecs_to_jiffies64 (timeout_ns); +/* clamp timeout to avoid infinite timeout */ +if (timeout_jiffies64 >=MAX_SCHEDULE_TIMEOUT -1 ) +return MAX_SCHEDULE_TIMEOUT -1 ; + +return timeout_jiffies64 +1 ; +} +EXPORT_SYMBOL (drm_timeout_abs_to_jiffies);
drivers/gpu/drm/lima/lima_gem.c +1 -1
@@ -10,7 +10,7 @@#include <drm/drm_file.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include <drm/lima_drm.h>
drivers/gpu/drm/panfrost/panfrost_drv.c +1 -1
@@ -11,7 +11,7 @@#include <drm/drm_drv.h> #include <drm/drm_ioctl.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "panfrost_device.h" #include "panfrost_gem.h"
drivers/gpu/drm/tegra/uapi.c +1 -1
@@ -7,7 +7,7 @@#include <drm/drm_drv.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "drm.h" #include "uapi.h"
include/drm/drm_util.h +1 -0
@@ -80,4 +80,5 @@ static inline bool drm_can_sleep(void) return true; } +signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec);#endif
include/drm/drm_utils.h +0 -2
@@ -14,6 +14,4 @@int drm_get_panel_orientation_quirk (int width,int height); -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec); -#endif
Signature · 1 line
2.34.1
Thomas Zimmermann
maintainerRe: [PATCH 85/86] drm: move drm_timeout_abs_to_jiffies to drm_util
Hi Sam,
please see my comment below.
Am 21.01.23 um 21:09 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 61 lines
From: Sam Ravnborg <[email protected]>
drm_timeout_abs_to_jiffies()was implmented indrm_syncobjwhere it really did not belong. Create adrm_utilfile and move the implementation. Likewise move the prototype and update all users.Suggested-by Daniel Vetter <[email protected]>[https://lore.kernel.org/dri-devel/[email protected]/]Cc Daniel Vetter <[email protected]>Signed-off-by Sam Ravnborg <[email protected]>--- drivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_syncobj.c | 34 ---------------------------- drivers/gpu/drm/drm_util.c | 40 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/tegra/uapi.c | 2 +- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 2 -- 9 files changed, 46 insertions(+), 40 deletions(-)drivers/accel/ivpu/ivpu_gem.c +1
-1@@ -12,7 +12,7 @@#include <drm/drm_cache.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "ivpu_drv.h" #include "ivpu_gem.h" drivers/gpu/drm/Makefile +1
-0@@ -42,6 +42,7 @@ drm-y := \ drm_syncobj.o \ drm_sysfs.o \ drm_trace_points.o \ + drm_util.o \ drm_vblank.o \ drm_vblank_work.o \ drm_vma_manager.o \drivers/gpu/drm/drm_syncobj.c +0
-1@@ -197,7 +197,6 @@#include <drm/drm_gem.h> #include <drm/drm_print.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> #include "drm_internal.h" @@ -1114,39 +1113,6 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,return timeout;
drivers/gpu/drm/drm_syncobj.c static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, · line 1124
Quoted 10 lines
drivers/gpu/drm/drm_syncobj.c +0
-8} -/** -* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value -* -* @timeout_nsec: timeout nsec component in ns, 0 for poll -* -* Calculate the timeout in jiffies from an absolute time in sec/nsec. -*/ -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec)
This function converts an absolute timeout in nsec to a relative timeout in jiffies. (?)
It appears to me as if this helper should not exist. It uses a mixture of different time interfaces; combined with hardcoded policy for 0 and MAX_SCHEDULE_TIMEOUT.
There are only 3 callers of this helper. I think we should consider inlining it in each.
As part of this, maybe the use of ktime could go away. Convert nsecs to jiffies and do the rest of the computation in jiffies.
Best regards
Thomas
Quoted 135 lines
drivers/gpu/drm/drm_syncobj.c +0
-25-{ -ktime_t abs_timeout, now; -u64 timeout_ns, timeout_jiffies64; - -/* make 0 timeout means poll - absolute 0 doesn't seem valid */ -if (timeout_nsec ==0 ) -return 0 ; - - abs_timeout =ns_to_ktime (timeout_nsec); - now =ktime_get (); - -if (!ktime_after (abs_timeout, now)) -return 0 ; - - timeout_ns =ktime_to_ns (ktime_sub (abs_timeout, now)); - - timeout_jiffies64 =nsecs_to_jiffies64 (timeout_ns); -/* clamp timeout to avoid infinite timeout */ -if (timeout_jiffies64 >=MAX_SCHEDULE_TIMEOUT -1 ) -return MAX_SCHEDULE_TIMEOUT -1 ; - -return timeout_jiffies64 +1 ; -} -EXPORT_SYMBOL (drm_timeout_abs_to_jiffies); - static int drm_syncobj_array_wait(struct drm_device *dev, struct drm_file *file_private, struct drm_syncobj_wait *wait,drivers/gpu/drm/drm_util.c new file +40
-0@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: MIT + +#include <linux/export.h> +#include <linux/ktime.h> +#include <linux/timekeeping.h> + +#include <drm/drm_util.h> + +/** +* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value +* +* @timeout_nsec: timeout nsec component in ns, 0 for poll +* +* Calculate the timeout in jiffies from an absolute time in sec/nsec. +*/ +signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec) +{ +ktime_t abs_timeout, now; +u64 timeout_ns, timeout_jiffies64; + +/* make 0 timeout means poll - absolute 0 doesn't seem valid */ +if (timeout_nsec ==0 ) +return 0 ; + + abs_timeout =ns_to_ktime (timeout_nsec); + now =ktime_get (); + +if (!ktime_after (abs_timeout, now)) +return 0 ; + + timeout_ns =ktime_to_ns (ktime_sub (abs_timeout, now)); + + timeout_jiffies64 =nsecs_to_jiffies64 (timeout_ns); +/* clamp timeout to avoid infinite timeout */ +if (timeout_jiffies64 >=MAX_SCHEDULE_TIMEOUT -1 ) +return MAX_SCHEDULE_TIMEOUT -1 ; + +return timeout_jiffies64 +1 ; +} +EXPORT_SYMBOL (drm_timeout_abs_to_jiffies);drivers/gpu/drm/lima/lima_gem.c +1
-1@@ -10,7 +10,7 @@#include <drm/drm_file.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include <drm/lima_drm.h> drivers/gpu/drm/panfrost/panfrost_drv.c +1
-1@@ -11,7 +11,7 @@#include <drm/drm_drv.h> #include <drm/drm_ioctl.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "panfrost_device.h" #include "panfrost_gem.h" drivers/gpu/drm/tegra/uapi.c +1
-1@@ -7,7 +7,7 @@#include <drm/drm_drv.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "drm.h" #include "uapi.h" include/drm/drm_util.h +1
-0@@ -80,4 +80,5 @@ static inline bool drm_can_sleep(void) return true; } +signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec);#endif include/drm/drm_utils.h +0
-2@@ -14,6 +14,4 @@int drm_get_panel_orientation_quirk (int width,int height); -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec); -#endif
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Re: [PATCH 85/86] drm: move drm_timeout_abs_to_jiffies to drm_util
Hi Thomas,
Quoted 64 lines · Thomas Zimmermann
Hi Sam,
please see my comment below.
Am 21.01.23 um 21:09 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 59 lines
From: Sam Ravnborg <[email protected]>
drm_timeout_abs_to_jiffies()was implmented indrm_syncobjwhere it really did not belong. Create adrm_utilfile and move the implementation. Likewise move the prototype and update all users.Suggested-by Daniel Vetter <[email protected]>[https://lore.kernel.org/dri-devel/[email protected]/]Cc Daniel Vetter <[email protected]>Signed-off-by Sam Ravnborg <[email protected]>--- drivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_syncobj.c | 34 ---------------------------- drivers/gpu/drm/drm_util.c | 40 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/tegra/uapi.c | 2 +- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 2 -- 9 files changed, 46 insertions(+), 40 deletions(-)drivers/accel/ivpu/ivpu_gem.c +1
-1@@ -12,7 +12,7 @@#include <drm/drm_cache.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "ivpu_drv.h" #include "ivpu_gem.h" drivers/gpu/drm/Makefile +1
-0@@ -42,6 +42,7 @@ drm-y := \ drm_syncobj.o \ drm_sysfs.o \ drm_trace_points.o \ + drm_util.o \ drm_vblank.o \ drm_vblank_work.o \ drm_vma_manager.o \drivers/gpu/drm/drm_syncobj.c +0
-1@@ -197,7 +197,6 @@#include <drm/drm_gem.h> #include <drm/drm_print.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> #include "drm_internal.h" @@ -1114,39 +1113,6 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,return timeout; }
Quoted 8 lines
drivers/gpu/drm/drm_syncobj.c static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, · line 1124
Quoted 8 lines
drivers/gpu/drm/drm_syncobj.c +0
-8-/** -* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value -* -* @timeout_nsec: timeout nsec component in ns, 0 for poll -* -* Calculate the timeout in jiffies from an absolute time in sec/nsec. -*/ -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec)
Thanks for the critical look at this!
Quoted 8 lines
This function converts an absolute timeout in nsec to a relative timeout in jiffies. (?)
It appears to me as if this helper should not exist. It uses a mixture of different time interfaces; combined with hardcoded policy for 0 and
MAX_SCHEDULE_TIMEOUT.
Quoted 5 lines
There are only 3 callers of this helper. I think we should consider inlining it in each.
As part of this, maybe the use of ktime could go away. Convert nsecs to jiffies and do the rest of the computation in jiffies.
I blindly copied the existing function and did not consider the implementation. Looking for a helper that do what we needs here turned up empty. I also looked at your suggestion to do:
nsec in absolute => jiffies in absolute => jiffies in relative But did not find something that is better than what we have.
I will leave it for now, and focus on the other parts of the patchset. In the vain hope someone else takes a look.
Sam
Re: [PATCH 85/86] drm: move drm_timeout_abs_to_jiffies to drm_util
Hi
Am 23.01.23 um 21:46 schrieb Sam Ravnborg:
Quoted 92 lines
Hi Thomas,
Quoted 64 lines · Thomas Zimmermann
Hi Sam,
please see my comment below.
Am 21.01.23 um 21:09 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 59 lines
From: Sam Ravnborg <[email protected]>
drm_timeout_abs_to_jiffies()was implmented indrm_syncobjwhere it really did not belong. Create adrm_utilfile and move the implementation. Likewise move the prototype and update all users.Suggested-by Daniel Vetter <[email protected]>[https://lore.kernel.org/dri-devel/[email protected]/]Cc Daniel Vetter <[email protected]>Signed-off-by Sam Ravnborg <[email protected]>--- drivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_syncobj.c | 34 ---------------------------- drivers/gpu/drm/drm_util.c | 40 +++++++++++++++++++++++++++++++++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/tegra/uapi.c | 2 +- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 2 -- 9 files changed, 46 insertions(+), 40 deletions(-)drivers/accel/ivpu/ivpu_gem.c +1
-1@@ -12,7 +12,7 @@#include <drm/drm_cache.h> #include <drm/drm_debugfs.h> #include <drm/drm_file.h> -#include <drm/drm_utils.h> +#include <drm/drm_util.h> #include "ivpu_drv.h" #include "ivpu_gem.h" drivers/gpu/drm/Makefile +1
-0@@ -42,6 +42,7 @@ drm-y := \ drm_syncobj.o \ drm_sysfs.o \ drm_trace_points.o \ + drm_util.o \ drm_vblank.o \ drm_vblank_work.o \ drm_vma_manager.o \drivers/gpu/drm/drm_syncobj.c +0
-1@@ -197,7 +197,6 @@#include <drm/drm_gem.h> #include <drm/drm_print.h> #include <drm/drm_syncobj.h> -#include <drm/drm_utils.h> #include "drm_internal.h" @@ -1114,39 +1113,6 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,return timeout; }Quoted 8 lines
drivers/gpu/drm/drm_syncobj.c static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, · line 1124
Quoted 8 lines
drivers/gpu/drm/drm_syncobj.c +0
-8-/** -* drm_timeout_abs_to_jiffies - calculate jiffies timeout from absolute value -* -* @timeout_nsec: timeout nsec component in ns, 0 for poll -* -* Calculate the timeout in jiffies from an absolute time in sec/nsec. -*/ -signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec)Thanks for the critical look at this!
Quoted 8 lines
This function converts an absolute timeout in nsec to a relative timeout in jiffies. (?)
It appears to me as if this helper should not exist. It uses a mixture of different time interfaces; combined with hardcoded policy for 0 and
MAX_SCHEDULE_TIMEOUT.Quoted 5 lines
There are only 3 callers of this helper. I think we should consider inlining it in each.
As part of this, maybe the use of ktime could go away. Convert nsecs to jiffies and do the rest of the computation in jiffies.
Quoted 8 lines
I blindly copied the existing function and did not consider the implementation. Looking for a helper that do what we needs here turned up empty. I also looked at your suggestion to do:
nsec in absolute => jiffies in absolute => jiffies in relative But did not find something that is better than what we have.I will leave it for now, and focus on the other parts of the patchset. In the vain hope someone else takes a look.
No problem. You can add
to patches 85 and 86 as well.
Best regards
Thomas
Quoted 2 lines
Sam
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
PATCH 86/86 drm: Move drm_get_panel_orientation_quirk prototype to drm_panel
In reply to Sam Ravnborgdrm_panel already contain some panel orientation stuff, So this is a good home for the prototype.
Update all users of drm_get_panel_orientation_quirk. Remove drm_utils.h header as it is no longer used.
--- drivers/gpu/drm/drm_connector.c | 1 - drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +- drivers/video/fbdev/efifb.c | 2 +- include/drm/drm_panel.h | 1 + include/drm/drm_utils.h | 17 ----------------- 5 files changed, 3 insertions(+), 20 deletions(-)
drivers/gpu/drm/drm_connector.c +0 -1
@@ -31,7 +31,6 @@#include <drm/drm_print.h> #include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_sysfs.h> -#include <drm/drm_utils.h> #include <linux/fb.h> #include <linux/uaccess.h>
drivers/gpu/drm/drm_panel_orientation_quirks.c +1 -1
@@ -11,7 +11,7 @@#include <linux/dmi.h> #include <linux/module.h> #include <drm/drm_connector.h> -#include <drm/drm_utils.h> +#include <drm/drm_panel.h> #ifdef CONFIG_DMI
drivers/video/fbdev/efifb.c +1 -1
@@ -20,8 +20,8 @@#include <linux/pm_runtime.h> #include <video/vga.h> #include <asm/efi.h> -#include <drm/drm_utils.h> /* For drm_get_panel_orientation_quirk */ #include <drm/drm_connector.h> /* For DRM_MODE_PANEL_ORIENTATION_* */ +#include <drm/drm_panel.h> /* For drm_get_panel_orientation_quirk */ struct bmp_file_header {u16 id;
include/drm/drm_panel.h +1 -0
@@ -200,6 +200,7 @@ struct drm_panel {bool prepare_prev_first; }; +int drm_get_panel_orientation_quirk (int width,int height);void drm_panel_init (struct drm_panel *panel,struct device *dev,const struct drm_panel_funcs *funcs,int connector_type);
include/drm/drm_utils.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: MIT */ -/* -* Function prototypes for misc. drm utility functions. -* Specifically this file is for function prototypes for functions which -* may also be used outside of drm code (e.g. in fbdev drivers). -* -* Copyright (C) 2017 Hans de Goede <[email protected]> -*/ - -#ifndef __DRM_UTILS_H__ -#define __DRM_UTILS_H__ - -#include <linux/types.h> - -int drm_get_panel_orientation_quirk (int width,int height); - -#endif
Signature · 1 line
2.34.1
Hi Sam,
nice patchset. For patches 1 to 84, you can add
Please consider my (few) comments.
For patches 85 and 86, others may want to comment on those. Ping me if no reviewers shown up in the next days.
Best regards
Thomas
Am 21.01.23 um 21:07 schrieb Sam Ravnborg via B4 Submission Endpoint:
Quoted 439 lines
This patchset reduces the headers pulled in by other headers a little. The end result is more specific dependencies and slightly faster build times.
This ended up as a lot of patches - which makes it easier to do review and handle future conflicts.
drm_print
-drm_print.hincluded a number of files that are not required by the header file. Push the nesessary includes to their users and clean updrm_print.hto the minimal set of include files.
drm_atomic_helper
-drm_atomic_helper.hincluded a number of files that are not required by the header file. Push the nesessary includes to their users and clean updrm_atomic_helper.hto the minimal set of include files.For both the above changes this was a manual process involving bulding and adding missing includes.
I have carefully maintained the sorting of the include files (but may have failed in a few places).
I did not find any way to automate the process, so it was a tad boring.No attempt was done to find redundant includes - I hope we can find some tooling to help us one day.
On top of the above
drm_utilswas removed in a small series of two patches. One function was moved todrm_util(as per suggestion from Daniel in an old mail). Another prototype was moved to a more appropriate place.The diffstat add more lines than we delete, but the positive thing here is that the individual files now pull in less files when building.
Sam
---
Sam Ravnborg (86):
drm/komeda: Direct include headers fromdrm_print
drm/bridge: ite-it6505: Direct include headers fromdrm_printdrm/bridge: panel: Direct include headers fromdrm_printdrm/msm: Direct include headers fromdrm_print
drm/nouveau: Direct include headers fromdrm_print
drm/omapdrm: Direct include headers fromdrm_print
drm/radeon: Direct include headers fromdrm_print
drm/ttm: Direct include headers fromdrm_print
drm/scheduler: Direct include headers fromdrm_printdrm/armada: Direct include headers fromdrm_print
drm/sti: Direct include headers fromdrm_print
drm/vc4: Direct include headers fromdrm_print
drm/drm_print: Direct include headers fromdrm_printdrm/vmwgfx: Direct include headers fromdrm_print
drm/i915: Direct include headers fromdrm_print
drm/drm_print: Minimize include footprint
drm/xlnx: Direct include headers fromdrm_atomic_helperdrm/amd: Direct include headers fromdrm_atomic_helperdrm/komeda: Direct include headers fromdrm_atomic_helperdrm/arm/hdlcd: Direct include headers fromdrm_atomic_helperdrm/arm/malidp: Direct include headers fromdrm_atomic_helperdrm/armada: Direct include headers fromdrm_atomic_helperdrm/aspeed: Direct include headers fromdrm_atomic_helperdrm/ast: Direct include headers fromdrm_atomic_helperdrm/atmel-hlcdc: Direct include headers fromdrm_atomic_helperdrm/bridge: adv7511: Direct include headers fromdrm_atomic_helperdrm/bridge: analogix: Direct include headers fromdrm_atomic_helperdrm/bridge: chipone: Direct include headers fromdrm_atomic_helperdrm/bridge: chrontel: Direct include headers fromdrm_atomic_helperdrm/bridge: display-connector: Direct include headers fromdrm_atomic_helperdrm/bridge: fsl-ldb: Direct include headers fromdrm_atomic_helperdrm/bridge: ite: Direct include headers fromdrm_atomic_helperdrm/bridge: lontium: Direct include headers fromdrm_atomic_helperdrm/bridge: lvds-codec: Direct include headers fromdrm_atomic_helperdrm/bridge: megachips: Direct include headers fromdrm_atomic_helperdrm/bridge: nxp: Direct include headers fromdrm_atomic_helperdrm/bridge: panel: Direct include headers fromdrm_atomic_helperdrm/bridge: sii902x: Direct include headers fromdrm_atomic_helperdrm/bridge: simple-bridge: Direct include headers fromdrm_atomic_helperdrm/bridge: synopsys: Direct include headers fromdrm_atomic_helperdrm/bridge: tc358767: Direct include headers fromdrm_atomic_helperdrm/bridge: ti: Direct include headers fromdrm_atomic_helperdrm/display: Direct include headers fromdrm_atomic_helper
drm: Direct include headers fromdrm_atomic_helper
drm/exynos: Direct include headers fromdrm_atomic_helperdrm/fsl-dcu: Direct include headers fromdrm_atomic_helperdrm/gud: Direct include headers fromdrm_atomic_helperdrm/hisilicon: Direct include headers fromdrm_atomic_helperdrm/hyperv: Direct include headers fromdrm_atomic_helperdrm/i2c: Direct include headers fromdrm_atomic_helperdrm/i915: Direct include headers fromdrm_atomic_helperdrm/imx: Direct include headers fromdrm_atomic_helperdrm/ingenic: Direct include headers fromdrm_atomic_helperdrm/kmb: Direct include headers fromdrm_atomic_helperdrm/logicvc: Direct include headers fromdrm_atomic_helperdrm/mcde: Direct include headers fromdrm_atomic_helperdrm/mediatek: Direct include headers fromdrm_atomic_helperdrm/meson: Direct include headers fromdrm_atomic_helperdrm/mgag200: Direct include headers fromdrm_atomic_helperdrm/msm: Direct include headers fromdrm_atomic_helperdrm/mxsfb: Direct include headers fromdrm_atomic_helperdrm/nouveau: Direct include headers fromdrm_atomic_helperdrm/omapdrm: Direct include headers fromdrm_atomic_helperdrm/qxl: Direct include headers fromdrm_atomic_helperdrm/rcar-du: Direct include headers fromdrm_atomic_helperdrm/rockchip: Direct include headers fromdrm_atomic_helperdrm/solomon: Direct include headers fromdrm_atomic_helperdrm/sprd: Direct include headers fromdrm_atomic_helperdrm/sti: Direct include headers fromdrm_atomic_helper
drm/stm: Direct include headers fromdrm_atomic_helperdrm/sun4i: Direct include headers fromdrm_atomic_helperdrm/tegra: Direct include headers fromdrm_atomic_helperdrm/tests: Direct include headers fromdrm_atomic_helperdrm/tidss: Direct include headers fromdrm_atomic_helperdrm/tilcdc: Direct include headers fromdrm_atomic_helperdrm/tiny: Direct include headers fromdrm_atomic_helperdrm/udl: Direct include headers fromdrm_atomic_helperdrm/vboxvideo: Direct include headers fromdrm_atomic_helperdrm/vc4: Direct include headers fromdrm_atomic_helperdrm/virtio: Direct include headers fromdrm_atomic_helperdrm/vkms: Direct include headers fromdrm_atomic_helperdrm/vmwgfx: Direct include headers fromdrm_atomic_helperdrm/xen: Direct include headers fromdrm_atomic_helperdrm/drm_atomic_helper: Minimize include footprint
drm: movedrm_timeout_abs_to_jiffiestodrm_util
drm: Movedrm_get_panel_orientation_quirkprototype todrm_paneldrivers/accel/ivpu/ivpu_gem.c | 2 +- drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 3 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 ++ .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 ++ .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 2 ++ .../gpu/drm/arm/display/komeda/d71/d71_component.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 ++ drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 1 + .../drm/arm/display/komeda/komeda_framebuffer.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 1 + .../gpu/drm/arm/display/komeda/komeda_pipeline.c | 1 + drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 2 ++ .../drm/arm/display/komeda/komeda_private_obj.c | 3 ++ .../drm/arm/display/komeda/komeda_wb_connector.c | 2 ++ drivers/gpu/drm/arm/hdlcd_crtc.c | 2 ++ drivers/gpu/drm/arm/malidp_crtc.c | 2 ++ drivers/gpu/drm/arm/malidp_drv.c | 1 + drivers/gpu/drm/arm/malidp_mw.c | 2 ++ drivers/gpu/drm/arm/malidp_planes.c | 2 ++ drivers/gpu/drm/armada/armada_crtc.c | 2 ++ drivers/gpu/drm/armada/armada_debugfs.c | 1 + drivers/gpu/drm/armada/armada_overlay.c | 2 ++ drivers/gpu/drm/armada/armada_plane.c | 2 ++ drivers/gpu/drm/aspeed/aspeed_gfx_out.c | 2 ++ drivers/gpu/drm/ast/ast_drv.c | 1 + drivers/gpu/drm/ast/ast_mode.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 ++ drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 ++ drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + drivers/gpu/drm/bridge/chipone-icn6211.c | 1 + drivers/gpu/drm/bridge/chrontel-ch7033.c | 2 ++ drivers/gpu/drm/bridge/display-connector.c | 1 + drivers/gpu/drm/bridge/fsl-ldb.c | 1 + drivers/gpu/drm/bridge/ite-it6505.c | 3 ++ drivers/gpu/drm/bridge/ite-it66121.c | 1 + drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9211.c | 1 + drivers/gpu/drm/bridge/lontium-lt9611.c | 2 ++ drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 ++ drivers/gpu/drm/bridge/lvds-codec.c | 1 + .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 2 ++ drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 ++ drivers/gpu/drm/bridge/panel.c | 3 ++ drivers/gpu/drm/bridge/sii902x.c | 2 ++ drivers/gpu/drm/bridge/simple-bridge.c | 2 ++ drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 ++ drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 1 + drivers/gpu/drm/bridge/tc358767.c | 2 ++ drivers/gpu/drm/bridge/ti-dlpc3433.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi83.c | 1 + drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 + drivers/gpu/drm/bridge/ti-tfp410.c | 2 ++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 1 + drivers/gpu/drm/drm_atomic_helper.c | 1 + drivers/gpu/drm/drm_connector.c | 1 - drivers/gpu/drm/drm_crtc_helper.c | 1 + drivers/gpu/drm/drm_fb_dma_helper.c | 1 + drivers/gpu/drm/drm_gem_framebuffer_helper.c | 1 + drivers/gpu/drm/drm_mipi_dbi.c | 2 ++ drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +- drivers/gpu/drm/drm_print.c | 1 + drivers/gpu/drm/drm_simple_kms_helper.c | 2 ++ drivers/gpu/drm/drm_syncobj.c | 34 ------------------ drivers/gpu/drm/drm_util.c | 40 ++++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_dp.c | 1 + drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_dpi.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 +++ drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 ++ drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 ++ drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 2 ++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 2 ++ drivers/gpu/drm/gud/gud_drv.c | 1 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 3 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 + drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 ++ drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 2 ++ drivers/gpu/drm/i2c/tda998x_drv.c | 2 ++ drivers/gpu/drm/i915/display/icl_dsi.c | 2 ++ drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_atomic_plane.c | 2 ++ drivers/gpu/drm/i915/display/intel_connector.c | 1 + drivers/gpu/drm/i915/display/intel_crt.c | 2 ++ drivers/gpu/drm/i915/display/intel_crtc.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 3 ++ drivers/gpu/drm/i915/display/intel_dmc.c | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 2 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 ++ drivers/gpu/drm/i915/display/intel_dvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_hdmi.c | 2 ++ drivers/gpu/drm/i915/display/intel_lvds.c | 2 ++ drivers/gpu/drm/i915/display/intel_sdvo.c | 2 ++ drivers/gpu/drm/i915/display/intel_tv.c | 2 ++ drivers/gpu/drm/i915/display/vlv_dsi.c | 2 ++ drivers/gpu/drm/i915/i915_debugfs.c | 1 + drivers/gpu/drm/i915/i915_debugfs_params.c | 1 + drivers/gpu/drm/i915/i915_params.c | 1 + drivers/gpu/drm/imx/dcss/dcss-crtc.c | 2 ++ drivers/gpu/drm/imx/dcss/dcss-kms.c | 1 + drivers/gpu/drm/imx/dcss/dcss-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/dw_hdmi-imx.c | 1 + drivers/gpu/drm/imx/ipuv3/imx-drm-core.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 2 ++ drivers/gpu/drm/imx/ipuv3/imx-tve.c | 2 ++ drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c | 3 ++ drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c | 2 ++ drivers/gpu/drm/imx/ipuv3/parallel-display.c | 2 ++ drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 ++ drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 ++ drivers/gpu/drm/kmb/kmb_crtc.c | 1 + drivers/gpu/drm/kmb/kmb_drv.h | 1 + drivers/gpu/drm/kmb/kmb_plane.c | 2 ++ drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/logicvc/logicvc_crtc.c | 2 ++ drivers/gpu/drm/logicvc/logicvc_crtc.h | 2 ++ drivers/gpu/drm/logicvc/logicvc_interface.c | 1 + drivers/gpu/drm/logicvc/logicvc_layer.c | 2 ++ drivers/gpu/drm/mcde/mcde_drv.c | 1 + drivers/gpu/drm/mediatek/mtk_dp.c | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_plane.c | 3 ++ drivers/gpu/drm/mediatek/mtk_dsi.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 + drivers/gpu/drm/meson/meson_crtc.c | 3 ++ drivers/gpu/drm/meson/meson_drv.c | 1 + drivers/gpu/drm/meson/meson_encoder_cvbs.c | 1 + drivers/gpu/drm/meson/meson_encoder_hdmi.c | 1 + drivers/gpu/drm/meson/meson_overlay.c | 2 ++ drivers/gpu/drm/meson/meson_plane.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200er.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ev.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200ew3.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200se.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_g200wb.c | 2 ++ drivers/gpu/drm/mgag200/mgag200_mode.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c | 2 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 2 ++ .../gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c | 3 ++ drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 1 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h | 2 ++ drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 2 ++ drivers/gpu/drm/msm/dp/dp_drm.c | 1 + drivers/gpu/drm/msm/msm_drv.c | 2 ++ drivers/gpu/drm/msm/msm_fb.c | 1 + drivers/gpu/drm/mxsfb/lcdif_drv.c | 2 ++ drivers/gpu/drm/mxsfb/lcdif_kms.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2 ++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/crc.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 + drivers/gpu/drm/nouveau/dispnv50/head.c | 2 ++ drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_connector.c | 2 ++ drivers/gpu/drm/nouveau/nouveau_display.c | 1 + drivers/gpu/drm/omapdrm/omap_crtc.c | 2 ++ drivers/gpu/drm/omapdrm/omap_drv.c | 3 ++ drivers/gpu/drm/omapdrm/omap_fb.c | 1 + drivers/gpu/drm/omapdrm/omap_plane.c | 2 ++ drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ drivers/gpu/drm/radeon/r100.c | 1 + drivers/gpu/drm/radeon/r300.c | 1 + drivers/gpu/drm/radeon/r420.c | 1 + drivers/gpu/drm/radeon/r600.c | 1 + drivers/gpu/drm/radeon/radeon_fence.c | 1 + drivers/gpu/drm/radeon/radeon_gem.c | 1 + drivers/gpu/drm/radeon/radeon_ib.c | 2 ++ drivers/gpu/drm/radeon/radeon_pm.c | 1 + drivers/gpu/drm/radeon/radeon_ring.c | 2 ++ drivers/gpu/drm/radeon/radeon_ttm.c | 1 + drivers/gpu/drm/radeon/rs400.c | 1 + drivers/gpu/drm/radeon/rv515.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_kms.c | 1 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_writeback.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c | 1 + drivers/gpu/drm/rcar-du/rzg2l_mipi_dsi.c | 1 + drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 2 ++ drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 ++ drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 1 + drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 1 + drivers/gpu/drm/rockchip/inno_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_rgb.c | 1 + drivers/gpu/drm/scheduler/sched_main.c | 1 + drivers/gpu/drm/solomon/ssd130x.c | 2 ++ drivers/gpu/drm/sprd/sprd_dpu.c | 2 ++ drivers/gpu/drm/sprd/sprd_drm.c | 1 + drivers/gpu/drm/sprd/sprd_dsi.c | 1 + drivers/gpu/drm/sti/sti_crtc.c | 2 ++ drivers/gpu/drm/sti/sti_cursor.c | 2 ++ drivers/gpu/drm/sti/sti_drv.c | 1 + drivers/gpu/drm/sti/sti_dvo.c | 2 ++ drivers/gpu/drm/sti/sti_gdp.c | 2 ++ drivers/gpu/drm/sti/sti_hda.c | 2 ++ drivers/gpu/drm/sti/sti_hdmi.c | 2 ++ drivers/gpu/drm/sti/sti_hqvdp.c | 2 ++ drivers/gpu/drm/sti/sti_tvout.c | 1 + drivers/gpu/drm/sti/sti_vid.c | 1 + drivers/gpu/drm/stm/ltdc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_lvds.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 ++ drivers/gpu/drm/sun4i/sun4i_tv.c | 2 ++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 ++ drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 ++ drivers/gpu/drm/tegra/dc.c | 2 ++ drivers/gpu/drm/tegra/drm.c | 2 ++ drivers/gpu/drm/tegra/dsi.c | 2 ++ drivers/gpu/drm/tegra/hdmi.c | 2 ++ drivers/gpu/drm/tegra/hub.c | 2 ++ drivers/gpu/drm/tegra/plane.c | 1 + drivers/gpu/drm/tegra/rgb.c | 1 + drivers/gpu/drm/tegra/sor.c | 2 ++ drivers/gpu/drm/tegra/uapi.c | 2 +- drivers/gpu/drm/tests/drm_plane_helper_test.c | 1 + drivers/gpu/drm/tidss/tidss_crtc.c | 2 ++ drivers/gpu/drm/tidss/tidss_drv.c | 1 + drivers/gpu/drm/tidss/tidss_kms.c | 1 + drivers/gpu/drm/tidss/tidss_plane.c | 2 ++ drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_plane.c | 2 ++ drivers/gpu/drm/tiny/arcpgu.c | 2 ++ drivers/gpu/drm/tiny/bochs.c | 3 ++ drivers/gpu/drm/tiny/gm12u320.c | 1 + drivers/gpu/drm/tiny/repaper.c | 2 ++ drivers/gpu/drm/ttm/ttm_device.c | 1 + drivers/gpu/drm/ttm/ttm_resource.c | 1 + drivers/gpu/drm/ttm/ttm_tt.c | 1 + drivers/gpu/drm/udl/udl_drv.c | 1 + drivers/gpu/drm/udl/udl_modeset.c | 1 + drivers/gpu/drm/vboxvideo/vbox_mode.c | 2 ++ drivers/gpu/drm/vc4/vc4_crtc.c | 2 ++ drivers/gpu/drm/vc4/vc4_dpi.c | 1 + drivers/gpu/drm/vc4/vc4_drv.h | 1 + drivers/gpu/drm/vc4/vc4_dsi.c | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++ drivers/gpu/drm/vc4/vc4_kms.c | 2 ++ drivers/gpu/drm/vc4/vc4_plane.c | 2 ++ drivers/gpu/drm/vc4/vc4_txp.c | 2 ++ drivers/gpu/drm/vc4/vc4_vec.c | 2 ++ drivers/gpu/drm/virtio/virtgpu_display.c | 3 ++ drivers/gpu/drm/virtio/virtgpu_plane.c | 2 ++ drivers/gpu/drm/vkms/vkms_crtc.c | 2 ++ drivers/gpu/drm/vkms/vkms_drv.c | 1 + drivers/gpu/drm/vkms/vkms_output.c | 2 ++ drivers/gpu/drm/vkms/vkms_plane.c | 1 + drivers/gpu/drm/vkms/vkms_writeback.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_gem.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 1 + drivers/gpu/drm/xen/xen_drm_front_conn.c | 2 ++ drivers/gpu/drm/xlnx/zynqmp_dp.c | 1 + drivers/gpu/drm/xlnx/zynqmp_kms.c | 2 ++ drivers/video/fbdev/efifb.c | 2 +- include/drm/drm_atomic_helper.h | 21 ++++++++---- include/drm/drm_panel.h | 1 + include/drm/drm_print.h | 11 +++--- include/drm/drm_util.h | 1 + include/drm/drm_utils.h | 19 ---------- 309 files changed, 558 insertions(+), 73 deletions(-)---
base-commit:2e337a8d14bd4b04913d52ccf076be29d846acd7
change-id: 20230113-drm-include-v1-17dc8bdd5adaBest regards,
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Hi Thomas,
Quoted 5 lines · Thomas Zimmermann
Hi Sam,
nice patchset. For patches 1 to 84, you can add
Reviewed-by Thomas Zimmermann <[email protected]>
Thanks, I will update the changelogs per your suggestions but need to sort out the build bug before I do anything else.
Sam