On Fri, Jul 21, 2023 at 04:50:44PM +0200, Maxime Ripard wrote: > Hi, > > Here's this week drm-misc-next PR > > Thanks! > Maxime > > The following changes since commit 36672dda2eb715af99e9abbcdc400d46598b691c: > > drm/loongson: Remove a useless check in cursor_plane_atomic_async_check() (2023-07-13 01:24:42 +0800) > > are available in the Git repository at: > > ssh://git.freedesktop.org/git/drm/drm-misc tags/drm-misc-next-2023-07-21 > > for you to fetch changes up to d281eeaa4de2636ff0c8e6ae387bb07b50e5fcbb: > > drm: adv7511: Fix low refresh rate register for ADV7533/5 (2023-07-21 13:37:18 +0200) Pulled, thanks. -Sima > > ---------------------------------------------------------------- > drm-misc-next for 6.6: > > UAPI Changes: > - syncobj: New DRM_IOCTL_SYNCOBJ_EVENTFD ioctl > > Cross-subsystem Changes: > - Converge to use of_device_uevent() > > Core Changes: > - GPU VA Manager > - improvements to make it clearer that drm_minor_type is uAPI > > Driver Changes: > - ssd130x: Improve intermediate buffer size computation > - bridges: > - adv7511: Fix low refresh rate > - anx7625: Switch to macros instead of hardcoded values > - panel: > - ld9040: Backlight support, magic improved > > ---------------------------------------------------------------- > Bogdan Togorean (1): > drm: adv7511: Fix low refresh rate register for ADV7533/5 > > Chen-Yu Tsai (2): > drm/bridge: anx7625: Use common macros for DP power sequencing commands > drm/bridge: anx7625: Use common macros for HDCP capabilities > > Danilo Krummrich (2): > drm: manager to keep track of GPUs VA mappings > drm: debugfs: provide infrastructure to dump a DRM GPU VA space > > Javier Martinez Canillas (1): > drm/ssd130x: Change pixel format used to compute the buffer size > > Marek Vasut (1): > drm/panel: simple: Drop prepared_time > > Miquel Raynal (2): > of: module: Export of_device_uevent() > gpu: host1x: Stop open-coding of_device_uevent() > > Paul Cercueil (2): > drm/panel: ld9040: Use better magic values > drm/panel: ld9040: Register a backlight device > > Rob Herring (2): > gpu/host1x: Explicitly include correct DT includes > drm: Explicitly include correct DT includes > > Simon Ser (3): > drm/drv: use enum drm_minor_type when appropriate > drm/file: use explicit values for enum drm_minor_type > drm/syncobj: add IOCTL to register an eventfd > > Steven Price (2): > drm: manager: Fix printk format for size_t > drm: debugfs: Silence warning from cast > > Documentation/gpu/drm-mm.rst | 36 + > drivers/gpu/drm/Makefile | 1 + > drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 2 +- > drivers/gpu/drm/arm/malidp_drv.c | 1 + > drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 1 - > drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 11 +- > drivers/gpu/drm/bridge/analogix/anx7625.c | 12 +- > drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c | 3 +- > .../gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 1 - > drivers/gpu/drm/bridge/chipone-icn6211.c | 2 +- > drivers/gpu/drm/bridge/display-connector.c | 1 - > drivers/gpu/drm/bridge/fsl-ldb.c | 1 - > drivers/gpu/drm/bridge/imx/imx8qm-ldb.c | 2 +- > drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c | 1 + > drivers/gpu/drm/bridge/lontium-lt9211.c | 1 - > drivers/gpu/drm/bridge/lvds-codec.c | 1 - > drivers/gpu/drm/bridge/nwl-dsi.c | 2 +- > drivers/gpu/drm/bridge/parade-ps8622.c | 1 - > drivers/gpu/drm/bridge/samsung-dsim.c | 3 +- > drivers/gpu/drm/bridge/simple-bridge.c | 3 +- > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 +- > drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 2 +- > drivers/gpu/drm/bridge/ti-sn65dsi83.c | 2 +- > drivers/gpu/drm/drm_debugfs.c | 40 + > drivers/gpu/drm/drm_drv.c | 8 +- > drivers/gpu/drm/drm_gem.c | 3 + > drivers/gpu/drm/drm_gpuva_mgr.c | 1725 ++++++++++++++++++++ > drivers/gpu/drm/drm_internal.h | 2 + > drivers/gpu/drm/drm_ioctl.c | 2 + > drivers/gpu/drm/drm_mipi_dsi.c | 1 + > drivers/gpu/drm/drm_syncobj.c | 148 +- > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 +- > drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 +- > drivers/gpu/drm/exynos/exynos7_drm_decon.c | 1 - > drivers/gpu/drm/exynos/exynos_drm_dsi.c | 3 +- > drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 - > drivers/gpu/drm/exynos/exynos_drm_rotator.c | 2 +- > drivers/gpu/drm/exynos/exynos_drm_scaler.c | 2 +- > drivers/gpu/drm/exynos/exynos_hdmi.c | 2 +- > drivers/gpu/drm/exynos/exynos_mixer.c | 1 - > drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- > drivers/gpu/drm/imx/dcss/dcss-dev.c | 5 +- > drivers/gpu/drm/imx/lcdc/imx-lcdc.c | 2 +- > drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +- > drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +- > drivers/gpu/drm/lima/lima_drv.c | 3 +- > drivers/gpu/drm/logicvc/logicvc_drm.c | 2 +- > drivers/gpu/drm/mcde/mcde_drv.c | 2 +- > drivers/gpu/drm/mediatek/mtk_disp_aal.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_color.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_merge.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 3 +- > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 3 +- > drivers/gpu/drm/mediatek/mtk_dpi.c | 1 - > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 1 + > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +- > drivers/gpu/drm/mediatek/mtk_ethdr.c | 2 +- > drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 3 +- > drivers/gpu/drm/meson/meson_drv.h | 1 - > drivers/gpu/drm/meson/meson_dw_hdmi.c | 3 +- > drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 3 +- > drivers/gpu/drm/meson/meson_encoder_dsi.c | 1 - > drivers/gpu/drm/meson/meson_encoder_hdmi.c | 4 +- > drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 + > drivers/gpu/drm/msm/dp/dp_audio.c | 2 +- > drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- > drivers/gpu/drm/msm/hdmi/hdmi.c | 2 + > drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 3 +- > drivers/gpu/drm/msm/msm_mdss.c | 2 + > drivers/gpu/drm/mxsfb/lcdif_drv.c | 1 - > drivers/gpu/drm/panel/panel-abt-y030xx067a.c | 3 +- > drivers/gpu/drm/panel/panel-auo-a030jtn01.c | 2 +- > drivers/gpu/drm/panel/panel-boe-himax8279d.c | 1 - > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 1 - > drivers/gpu/drm/panel/panel-dsi-cm.c | 2 +- > drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c | 1 - > .../gpu/drm/panel/panel-feiyang-fy07024di26a30d.c | 2 +- > drivers/gpu/drm/panel/panel-himax-hx8394.c | 2 +- > drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 3 +- > drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 2 +- > drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 2 +- > drivers/gpu/drm/panel/panel-innolux-ej030na.c | 3 +- > drivers/gpu/drm/panel/panel-innolux-p079zca.c | 1 - > drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 2 +- > drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 1 - > drivers/gpu/drm/panel/panel-lvds.c | 2 +- > .../gpu/drm/panel/panel-magnachip-d53e6ea8966.c | 1 - > drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c | 2 +- > drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 2 +- > drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 3 +- > drivers/gpu/drm/panel/panel-novatek-nt35510.c | 2 +- > drivers/gpu/drm/panel/panel-novatek-nt35560.c | 1 - > drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +- > drivers/gpu/drm/panel/panel-novatek-nt36523.c | 2 +- > drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 1 - > drivers/gpu/drm/panel/panel-novatek-nt39016.c | 1 - > drivers/gpu/drm/panel/panel-orisetech-ota5601a.c | 1 - > .../gpu/drm/panel/panel-raspberrypi-touchscreen.c | 1 - > drivers/gpu/drm/panel/panel-samsung-ld9040.c | 41 +- > drivers/gpu/drm/panel/panel-samsung-s6d16d0.c | 2 +- > drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 1 - > drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 2 +- > drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c | 2 +- > drivers/gpu/drm/panel/panel-samsung-sofef00.c | 1 - > drivers/gpu/drm/panel/panel-simple.c | 4 - > drivers/gpu/drm/panel/panel-sitronix-st7701.c | 2 +- > drivers/gpu/drm/panel/panel-sitronix-st7703.c | 2 +- > drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 1 - > drivers/gpu/drm/panel/panel-truly-nt35597.c | 2 +- > drivers/gpu/drm/panel/panel-visionox-rm69299.c | 2 +- > drivers/gpu/drm/panfrost/panfrost_drv.c | 3 +- > drivers/gpu/drm/pl111/pl111_versatile.c | 1 + > drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c | 2 +- > drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c | 2 + > drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c | 1 + > drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c | 1 - > drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c | 1 - > drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 3 +- > drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 2 + > drivers/gpu/drm/rockchip/inno_hdmi.c | 3 +- > drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + > drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 - > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 - > drivers/gpu/drm/solomon/ssd130x.c | 2 +- > drivers/gpu/drm/sprd/sprd_dpu.c | 4 +- > drivers/gpu/drm/sprd/sprd_drm.c | 3 +- > drivers/gpu/drm/sprd/sprd_dsi.c | 6 +- > drivers/gpu/drm/sti/sti_drv.c | 2 + > drivers/gpu/drm/stm/drv.c | 3 +- > drivers/gpu/drm/stm/ltdc.c | 1 - > drivers/gpu/drm/sun4i/sun4i_frontend.c | 2 +- > drivers/gpu/drm/sun4i/sun4i_frontend.h | 1 + > drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 +- > drivers/gpu/drm/sun4i/sun4i_tcon.c | 6 +- > drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 2 +- > drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 3 +- > drivers/gpu/drm/sun4i/sun8i_mixer.c | 2 + > drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 2 +- > drivers/gpu/drm/tegra/dc.c | 3 +- > drivers/gpu/drm/tegra/dpaux.c | 2 +- > drivers/gpu/drm/tegra/gr2d.c | 3 +- > drivers/gpu/drm/tegra/gr3d.c | 2 +- > drivers/gpu/drm/tegra/hdmi.c | 3 +- > drivers/gpu/drm/tegra/hub.c | 2 +- > drivers/gpu/drm/tegra/nvdec.c | 2 - > drivers/gpu/drm/tegra/sor.c | 2 +- > drivers/gpu/drm/tegra/vic.c | 2 - > drivers/gpu/drm/tidss/tidss_dispc.c | 2 - > drivers/gpu/drm/tidss/tidss_drv.c | 2 +- > drivers/gpu/drm/vc4/vc4_crtc.c | 3 +- > drivers/gpu/drm/vc4/vc4_dpi.c | 4 +- > drivers/gpu/drm/vc4/vc4_drv.c | 2 +- > drivers/gpu/drm/vc4/vc4_dsi.c | 3 +- > drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- > drivers/gpu/drm/vc4/vc4_txp.c | 4 +- > drivers/gpu/drm/vc4/vc4_vec.c | 4 +- > drivers/gpu/drm/xen/xen_drm_front.c | 1 - > drivers/gpu/host1x/bus.c | 29 +- > drivers/gpu/host1x/context.c | 2 +- > drivers/gpu/host1x/dev.c | 3 +- > drivers/gpu/ipu-v3/ipu-common.c | 2 +- > drivers/of/device.c | 1 + > include/drm/drm_debugfs.h | 25 + > include/drm/drm_drv.h | 6 + > include/drm/drm_file.h | 8 +- > include/drm/drm_gem.h | 79 + > include/drm/drm_gpuva_mgr.h | 706 ++++++++ > include/drm/drm_syncobj.h | 6 +- > include/uapi/drm/drm.h | 23 + > 172 files changed, 3014 insertions(+), 215 deletions(-) > create mode 100644 drivers/gpu/drm/drm_gpuva_mgr.c > create mode 100644 include/drm/drm_gpuva_mgr.h -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch