drm-misc-next
Hi Dave, Sima,
Here's this week drm-misc-next PR. It's likely to be the last PR for this release cycle.
Maxime
drm-misc-next-2025-07-10:
drm-misc-next for 6.17:
UAPI Changes:
Cross-subsystem Changes:
Core Changes:
Driver Changes:
- amdgpu: debugfs improvements
- ast: Improve hardware generations implementation
- dma-buf heaps:
- Give the CMA heap a stable name
- panthor: fix UAF in debugfs
- rockchip: Convert inno_hdmi to a bridge
- sti: Convert to devm_drm_bridge_alloc()
- vkms: Use faux_device
- bridge:
- Improve CEC handling code, convertions to devm_drm_bridge_alloc()
The following changes since commit 203dcde881561f1a4ee1084e2ee438fb4522c94a:
Merge tag 'drm-msm-next-2025-07-05' of https://gitlab.freedesktop.org/drm/msm into drm-next (2025-07-08 14:31:19 +0200)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-07-10
for you to fetch changes up to fe69a391808404977b1f002a6e7447de3de7a88e:
drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code (2025-07-10 10:16:50 +0100)
----------------------------------------------------------------
drm-misc-next for 6.17:
UAPI Changes:
Cross-subsystem Changes:
Core Changes:
Driver Changes:
- amdgpu: debugfs improvements
- ast: Improve hardware generations implementation
- dma-buf heaps:
- Give the CMA heap a stable name
- panthor: fix UAF in debugfs
- rockchip: Convert inno_hdmi to a bridge
- sti: Convert to devm_drm_bridge_alloc()
- vkms: Use faux_device
- bridge:
- Improve CEC handling code, convertions to devm_drm_bridge_alloc()
----------------------------------------------------------------
Alessio Belle (1):
drm/imagination: Clear runtime PM errors while resetting the GPU
Andy Yan (9):
drm/rockchip: inno_hdmi: Merge register definition to c file
drm/rockchip: inno_hdmi: Refactor register macros to make checkpatch happy
drm/rockchip: inno_hdmi: Remove unnecessary parentheses to make checkpatch happy
drm/rockchip: inno_hdmi: Rename function inno_hdmi_reset to inno_hdmi_init_hw
drm/rockchip: inno_hdmi: Move ddc/i2c configuration and HOTPLUG unmute to inno_hdmi_init_hw drm/rockchip: inno_hdmi: Use sleep_range instead of udelay
drm/rockchip: inno_hdmi: switch i2c registration to devm functions
drm/rockchip: inno_hdmi: Simpify clk get/enable by devm_clk_get_enabled api
drm/rockchip: vop2: Fix the update of LAYER/PORT select registers when there are multi display output on rk3588/rk3568
Chaoyi Chen (2):
drm/rockchip: lvds: Convert to drm bridge
drm/rockchip: cdn-dp: Convert to drm bridge
Cristian Ciocaltea (3):
drm/display: hdmi-cec-helper: Fix adapter unregistration drm/bridge: Fix kdoc comment for DRM_BRIDGE_OP_HDMI_CEC_ADAPTER drm/bridge: adv7511: Fix DRM_BRIDGE_OP_HDMI_{AUDIO|CEC_ADAPTER} setup
Dan Carpenter (1):
drm/dp: Clean up white space in drm_edp_backlight_probe_state()
Greg Kroah-Hartman (2):
drm/vkms: convert to use faux_device drm/vgem/vgem_drv convert to use faux_device
Heiko Stuebner (1):
drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port
Jared Kangas (3):
Documentation: dma-buf: heaps: Fix code markup
dma-buf: heaps: Parameterize heap name in __add_cma_heap()
dma-buf: heaps: Give default CMA heap a fixed name
Juston Li (1):
gpu/trace: make TRACE_GPU_MEM configurable
Luca Ceresoli (3):
drm/bridge: tc358767: fix uninitialized variable regression drm/sti: hdmi: convert to devm_drm_bridge_alloc() API drm/sti: hda: convert to devm_drm_bridge_alloc() API
Maarten Lankhorst (1):
Merge remote-tracking branch 'drm/drm-next' into drm-misc-next
Marek Szyprowski (1):
drm/bridge: analogix_dp: Use devm_drm_bridge_alloc() API
Matthew Brost (1):
drm: Simplify drmm_alloc_ordered_workqueue return
Shixiong Ou (1):
fbcon: Fix outdated registered_fb reference in comment
Simona Vetter (1):
drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code
Sunil Khatri (6):
drm: move drm based debugfs funcs to drm_debugfs.c
drm: add debugfs support on per client-id basis drm/amdgpu: add debugfs support for VM pagetable per client drm/amdgpu: add support of debugfs for mqd information drm/amdgpu: fix MQD debugfs undefined symbol when DEBUG_FS=n drm/amdgpu: fix the logic to validate fpriv and root bo
T.J. Mercier (1):
dma-buf: system_heap: No separate allocation for attachment sg_tables
Tamir Duberstein (1):
rust: drm: remove unnecessary imports
Thierry Reding (1):
drm/fbdev-client: Skip DRM clients if modesetting is absent
Thomas Zimmermann (13):
drm/gem-shmem: Do not map s/g table by default drm/tegra: Test for imported buffers with drm_gem_is_imported() drm/tegra: Use dma_buf from GEM object instance drm/ast: Declare helpers for POST in header
drm/ast: Move Gen7+ POST code to separate source file drm/ast: Move Gen6+ POST code to separate source file drm/ast: Move Gen4+ POST code to separate source file drm/ast: Move Gen2+ and Gen1 POST code to separate source files drm/ast: Move struct ast_dramstruct to ast_post.h drm/ast: Handle known struct ast_dramstruct with helpers drm/ast: Split ast_set_def_ext_reg() by chip generation drm/ast: Gen7: Disable VGASR0[1] as on Gen4+ drm/ast: Gen7: Switch default registers to gen4+ state
Tvrtko Ursulin (2):
drm/sched: De-clutter drm_sched_init drm/sched: Consolidate drm_sched_rq_select_entity_rr
Yumeng Fang (1):
drm/rockchip: dw_hdmi: Use dev_err_probe() to simplify code
Documentation/userspace-api/dma-buf-heaps.rst | 11 +- drivers/Kconfig | 2 - drivers/accel/drm_accel.c | 16 - drivers/dma-buf/heaps/Kconfig | 10 + drivers/dma-buf/heaps/cma_heap.c | 36 +- drivers/dma-buf/heaps/system_heap.c | 43 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 52 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 55 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 + drivers/gpu/drm/ast/Makefile | 5 + drivers/gpu/drm/ast/ast_2000.c | 149 ++ drivers/gpu/drm/ast/ast_2100.c | 348 ++++ drivers/gpu/drm/ast/ast_2300.c | 1328 +++++++++++++ drivers/gpu/drm/ast/ast_2500.c | 569 ++++++ drivers/gpu/drm/ast/ast_2600.c | 44 + drivers/gpu/drm/ast/ast_dram_tables.h | 207 -- drivers/gpu/drm/ast/ast_drv.c | 4 +- drivers/gpu/drm/ast/ast_drv.h | 17 +- drivers/gpu/drm/ast/ast_post.c | 2027 +------------------- drivers/gpu/drm/ast/ast_post.h | 50 + drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 6 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 40 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 3 +- drivers/gpu/drm/bridge/tc358767.c | 1 + drivers/gpu/drm/clients/drm_client_setup.c | 5 + drivers/gpu/drm/display/drm_dp_helper.c | 14 +- drivers/gpu/drm/display/drm_hdmi_cec_helper.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 118 +- drivers/gpu/drm/drm_drv.c | 16 +- drivers/gpu/drm/drm_file.c | 11 + drivers/gpu/drm/drm_internal.h | 6 +- drivers/gpu/drm/drm_panic_qr.rs | 2 +- drivers/gpu/drm/imagination/pvr_power.c | 59 +- drivers/gpu/drm/panthor/panthor_gem.c | 31 +- drivers/gpu/drm/panthor/panthor_gem.h | 3 - drivers/gpu/drm/rockchip/cdn-dp-core.c | 291 ++- drivers/gpu/drm/rockchip/cdn-dp-core.h | 8 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 452 ++++- drivers/gpu/drm/rockchip/inno_hdmi.h | 349 ---- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 29 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 33 + drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 +- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 89 +- drivers/gpu/drm/scheduler/sched_main.c | 81 +- drivers/gpu/drm/sti/sti_hda.c | 27 +- drivers/gpu/drm/sti/sti_hdmi.c | 26 +- drivers/gpu/drm/sti/sti_hdmi.h | 2 + drivers/gpu/drm/tegra/gem.c | 4 +- drivers/gpu/drm/udl/udl_drv.c | 2 +- drivers/gpu/drm/vgem/vgem_drv.c | 30 +- drivers/gpu/drm/vkms/vkms_crtc.c | 2 - drivers/gpu/drm/vkms/vkms_drv.c | 28 +- drivers/gpu/drm/vkms/vkms_drv.h | 4 +- drivers/gpu/trace/Kconfig | 11 +- drivers/video/Kconfig | 2 + drivers/video/fbdev/core/fbcon.c | 4 +- include/drm/drm_accel.h | 5 - include/drm/drm_bridge.h | 2 +- include/drm/drm_debugfs.h | 11 + include/drm/drm_drv.h | 19 +- include/drm/drm_file.h | 7 + include/drm/drm_gem_shmem_helper.h | 18 +- include/drm/drm_managed.h | 15 +- rust/kernel/drm/driver.rs | 1 - 67 files changed, 3761 insertions(+), 3169 deletions(-) create mode 100644 drivers/gpu/drm/ast/ast_2000.c create mode 100644 drivers/gpu/drm/ast/ast_2100.c create mode 100644 drivers/gpu/drm/ast/ast_2300.c create mode 100644 drivers/gpu/drm/ast/ast_2500.c create mode 100644 drivers/gpu/drm/ast/ast_2600.c delete mode 100644 drivers/gpu/drm/ast/ast_dram_tables.h create mode 100644 drivers/gpu/drm/ast/ast_post.h delete mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h
Quoted 30 lines · Maxime Ripard
Hi Dave, Sima,
Here's this week drm-misc-next PR. It's likely to be the last PR for this release cycle.
Maxime
drm-misc-next-2025-07-10:
drm-misc-next for 6.17:UAPI Changes:
Cross-subsystem Changes:
Core Changes:
Driver Changes:
- amdgpu: debugfs improvements
- ast: Improve hardware generations implementation
- dma-buf heaps:
- Give the CMA heap a stable name
- panthor: fix UAF in debugfs
- rockchip: Convertinno_hdmito a bridge
- sti: Convert todevm_drm_bridge_alloc()
- vkms: Usefaux_device- bridge:
- Improve CEC handling code, convertions todevm_drm_bridge_alloc()
The following changes since commit203dcde881561f1a4ee1084e2ee438fb4522c94a:
Quoted 5 lines
Merge tag 'drm-msm-next-2025-07-05' of https://gitlab.freedesktop.org/drm/msm into drm-next (2025-07-08 14:31:19 +0200)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-07-10
Pulled into drm-next, thanks!
-Sima
Quoted 204 lines
for you to fetch changes up to
fe69a391808404977b1f002a6e7447de3de7a88e:drm/panthor: Fix UAF in
panthor_gem_create_with_handle()debugfs code (2025-07-10 10:16:50 +0100)----------------------------------------------------------------
drm-misc-next for 6.17:UAPI Changes:
Cross-subsystem Changes:
Core Changes:
Driver Changes:
- amdgpu: debugfs improvements
- ast: Improve hardware generations implementation
- dma-buf heaps:
- Give the CMA heap a stable name
- panthor: fix UAF in debugfs
- rockchip: Convertinno_hdmito a bridge
- sti: Convert todevm_drm_bridge_alloc()
- vkms: Usefaux_device- bridge:
- Improve CEC handling code, convertions todevm_drm_bridge_alloc()----------------------------------------------------------------
Alessio Belle (1):
drm/imagination: Clear runtime PM errors while resetting the GPUAndy Yan (9):
drm/rockchip:inno_hdmi: Merge register definition to c file
drm/rockchip:inno_hdmi: Refactor register macros to make checkpatch happy
drm/rockchip:inno_hdmi: Remove unnecessary parentheses to make checkpatch happy
drm/rockchip:inno_hdmi: Rename functioninno_hdmi_resettoinno_hdmi_init_hw
drm/rockchip:inno_hdmi: Move ddc/i2c configuration and HOTPLUG unmute toinno_hdmi_init_hwdrm/rockchip:inno_hdmi: Usesleep_rangeinstead of udelay
drm/rockchip:inno_hdmi: switch i2c registration to devm functions
drm/rockchip:inno_hdmi: Simpify clk get/enable bydevm_clk_get_enabledapi
drm/rockchip: vop2: Fix the update of LAYER/PORT select registers when there are multi display output on rk3588/rk3568Chaoyi Chen (2):
drm/rockchip: lvds: Convert to drm bridge
drm/rockchip: cdn-dp: Convert to drm bridgeCristian Ciocaltea (3):
drm/display: hdmi-cec-helper: Fix adapter unregistration drm/bridge: Fix kdoc comment forDRM_BRIDGE_OP_HDMI_CEC_ADAPTERdrm/bridge: adv7511: Fix DRM_BRIDGE_OP_HDMI_{AUDIO|CEC_ADAPTER} setupDan Carpenter (1):
drm/dp: Clean up white space indrm_edp_backlight_probe_state()Greg Kroah-Hartman (2):
drm/vkms: convert to usefaux_devicedrm/vgem/vgem_drv convert to usefaux_deviceHeiko Stuebner (1):
drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-portJared Kangas (3):
Documentation: dma-buf: heaps: Fix code markup
dma-buf: heaps: Parameterize heap name in__add_cma_heap()
dma-buf: heaps: Give default CMA heap a fixed nameJuston Li (1):
gpu/trace: makeTRACE_GPU_MEMconfigurableLuca Ceresoli (3):
drm/bridge: tc358767: fix uninitialized variable regression drm/sti: hdmi: convert todevm_drm_bridge_alloc()API drm/sti: hda: convert todevm_drm_bridge_alloc()APIMaarten Lankhorst (1):
Merge remote-tracking branch 'drm/drm-next' into drm-misc-nextMarek Szyprowski (1):
drm/bridge:analogix_dp: Usedevm_drm_bridge_alloc()APIMatthew Brost (1):
drm: Simplifydrmm_alloc_ordered_workqueuereturnShixiong Ou (1):
fbcon: Fix outdatedregistered_fbreference in commentSimona Vetter (1):
drm/panthor: Fix UAF inpanthor_gem_create_with_handle()debugfs codeSunil Khatri (6):
drm: move drm based debugfs funcs todrm_debugfs.c
drm: add debugfs support on per client-id basis drm/amdgpu: add debugfs support for VM pagetable per client drm/amdgpu: add support of debugfs for mqd information drm/amdgpu: fix MQD debugfs undefined symbol when DEBUG_FS=n drm/amdgpu: fix the logic to validate fpriv and root boT.J. Mercier (1):
dma-buf:system_heap: No separate allocation for attachmentsg_tablesTamir Duberstein (1):
rust: drm: remove unnecessary importsThierry Reding (1):
drm/fbdev-client: Skip DRM clients if modesetting is absentThomas Zimmermann (13):
drm/gem-shmem: Do not map s/g table by default drm/tegra: Test for imported buffers withdrm_gem_is_imported()drm/tegra: Usedma_buffrom GEM object instance drm/ast: Declare helpers for POST in header
drm/ast: Move Gen7+ POST code to separate source file drm/ast: Move Gen6+ POST code to separate source file drm/ast: Move Gen4+ POST code to separate source file drm/ast: Move Gen2+ and Gen1 POST code to separate source files drm/ast: Move structast_dramstructtoast_post.hdrm/ast: Handle known structast_dramstructwith helpers drm/ast: Splitast_set_def_ext_reg()by chip generation drm/ast: Gen7: Disable VGASR0[1] as on Gen4+ drm/ast: Gen7: Switch default registers to gen4+ stateTvrtko Ursulin (2):
drm/sched: De-clutterdrm_sched_initdrm/sched: Consolidatedrm_sched_rq_select_entity_rrYumeng Fang (1):
drm/rockchip:dw_hdmi: Usedev_err_probe()to simplify codeDocumentation/userspace-api/dma-buf-heaps.rst | 11 +- drivers/Kconfig | 2 - drivers/accel/drm_accel.c | 16 - drivers/dma-buf/heaps/Kconfig | 10 + drivers/dma-buf/heaps/cma_heap.c | 36 +- drivers/dma-buf/heaps/system_heap.c | 43 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 52 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 55 + drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 + drivers/gpu/drm/ast/Makefile | 5 + drivers/gpu/drm/ast/ast_2000.c | 149 ++ drivers/gpu/drm/ast/ast_2100.c | 348 ++++ drivers/gpu/drm/ast/ast_2300.c | 1328 +++++++++++++ drivers/gpu/drm/ast/ast_2500.c | 569 ++++++ drivers/gpu/drm/ast/ast_2600.c | 44 + drivers/gpu/drm/ast/ast_dram_tables.h | 207 -- drivers/gpu/drm/ast/ast_drv.c | 4 +- drivers/gpu/drm/ast/ast_drv.h | 17 +- drivers/gpu/drm/ast/ast_post.c | 2027 +------------------- drivers/gpu/drm/ast/ast_post.h | 50 + drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 6 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 40 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 3 +- drivers/gpu/drm/bridge/tc358767.c | 1 + drivers/gpu/drm/clients/drm_client_setup.c | 5 + drivers/gpu/drm/display/drm_dp_helper.c | 14 +- drivers/gpu/drm/display/drm_hdmi_cec_helper.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 118 +- drivers/gpu/drm/drm_drv.c | 16 +- drivers/gpu/drm/drm_file.c | 11 + drivers/gpu/drm/drm_internal.h | 6 +- drivers/gpu/drm/drm_panic_qr.rs | 2 +- drivers/gpu/drm/imagination/pvr_power.c | 59 +- drivers/gpu/drm/panthor/panthor_gem.c | 31 +- drivers/gpu/drm/panthor/panthor_gem.h | 3 - drivers/gpu/drm/rockchip/cdn-dp-core.c | 291 ++- drivers/gpu/drm/rockchip/cdn-dp-core.h | 8 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 452 ++++- drivers/gpu/drm/rockchip/inno_hdmi.h | 349 ---- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 29 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 33 + drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 +- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 89 +- drivers/gpu/drm/scheduler/sched_main.c | 81 +- drivers/gpu/drm/sti/sti_hda.c | 27 +- drivers/gpu/drm/sti/sti_hdmi.c | 26 +- drivers/gpu/drm/sti/sti_hdmi.h | 2 + drivers/gpu/drm/tegra/gem.c | 4 +- drivers/gpu/drm/udl/udl_drv.c | 2 +- drivers/gpu/drm/vgem/vgem_drv.c | 30 +- drivers/gpu/drm/vkms/vkms_crtc.c | 2 - drivers/gpu/drm/vkms/vkms_drv.c | 28 +- drivers/gpu/drm/vkms/vkms_drv.h | 4 +- drivers/gpu/trace/Kconfig | 11 +- drivers/video/Kconfig | 2 + drivers/video/fbdev/core/fbcon.c | 4 +- include/drm/drm_accel.h | 5 - include/drm/drm_bridge.h | 2 +- include/drm/drm_debugfs.h | 11 + include/drm/drm_drv.h | 19 +- include/drm/drm_file.h | 7 + include/drm/drm_gem_shmem_helper.h | 18 +- include/drm/drm_managed.h | 15 +- rust/kernel/drm/driver.rs | 1 - 67 files changed, 3761 insertions(+), 3169 deletions(-) create mode 100644 drivers/gpu/drm/ast/ast_2000.c create mode 100644 drivers/gpu/drm/ast/ast_2100.c create mode 100644 drivers/gpu/drm/ast/ast_2300.c create mode 100644 drivers/gpu/drm/ast/ast_2500.c create mode 100644 drivers/gpu/drm/ast/ast_2600.c delete mode 100644 drivers/gpu/drm/ast/ast_dram_tables.h create mode 100644 drivers/gpu/drm/ast/ast_post.h delete mode 100644 drivers/gpu/drm/rockchip/inno_hdmi.h
Signature · 3 lines
Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch