[PULL] drm-misc-fixes

Thomas Zimmermann
2025-04-10T12:24:22Z

Hi Dave, Sima,

this is the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2025-04-10:
Short summary of fixes pull:

imagination:
- Fix overflow
- Fix use-after-free

ivpu:
- Fix suspend/resume

nouveau:
- Do not deref dangling pointer

rockchip:
- Set DP/HDMI registers correctly

tests:
- Clean up struct drm_display_mode in various places

udmabuf:
- Fix overflow

virtgpu:
- Set reservation lock on dma-buf import
- Fix error handling in prepare_fb
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2025-04-10

for you to fetch changes up to 1d34597a1e23004c7dd0ab5f58ba1ef95fd9ded5:

drm/rockchip: dw_hdmi_qp: Fix io init for dw_hdmi_qp_rockchip_resume (2025-04-10 10:51:06 +0200)

----------------------------------------------------------------
Short summary of fixes pull:

imagination:
- Fix overflow
- Fix use-after-free

ivpu:
- Fix suspend/resume

nouveau:
- Do not deref dangling pointer

rockchip:
- Set DP/HDMI registers correctly

tests:
- Clean up struct drm_display_mode in various places

udmabuf:
- Fix overflow

virtgpu:
- Set reservation lock on dma-buf import
- Fix error handling in prepare_fb

----------------------------------------------------------------
Andy Yan (2):
drm/rockchip: vop2: Fix interface enable/mux setting of DP1 on rk3588
drm/rockchip: dw_hdmi_qp: Fix io init for dw_hdmi_qp_rockchip_resume

Brendan King (2):
drm/imagination: take paired job reference
drm/imagination: fix firmware memory leaks

Chris Bainbridge (1):
drm/nouveau: prime: fix ttm_bo_delayed_delete oops

Dmitry Osipenko (2):
drm/virtio: Don't attach GEM to a non-created context in gem_object_open()
drm/virtio: Fix missed dmabuf unpinning in error path of prepare_fb()

Jacek Lawrynowicz (3):
accel/ivpu: Fix warning in ivpu_ipc_send_receive_internal()
accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
accel/ivpu: Fix PM related deadlocks in MS IOCTLs

Maxime Ripard (7):
drm/tests: helpers: Create kunit helper to destroy a drm_display_mode
drm/tests: modeset: Fix drm_display_mode memory leak
drm/tests: modeset: Fix drm_display_mode memory leak
drm/tests: cmdline: Fix drm_display_mode memory leak
drm/tests: modes: Fix drm_display_mode memory leak
drm/tests: modes: Fix drm_display_mode memory leak
drm/tests: probe-helper: Fix drm_display_mode memory leak

Rolf Eike Beer (1):
drm/sti: remove duplicate object names

Thomas Zimmermann (1):
Merge drm/drm-fixes into drm-misc-fixes

Vivek Kasireddy (1):
drm/virtio: Fix flickering issue seen with imported dmabufs

Xiaogang Chen (1):
udmabuf: fix a buf size overflow issue during udmabuf creation

drivers/accel/ivpu/ivpu_debugfs.c | 4 ++--
drivers/accel/ivpu/ivpu_ipc.c | 3 ++-
drivers/accel/ivpu/ivpu_ms.c | 24 ++++++++++++++++++++++
drivers/dma-buf/udmabuf.c | 2 +-
drivers/gpu/drm/imagination/pvr_fw.c | 27 ++++++++++++++++++-------
drivers/gpu/drm/imagination/pvr_job.c | 7 +++++++
drivers/gpu/drm/imagination/pvr_queue.c | 4 ++++
drivers/gpu/drm/nouveau/nouveau_bo.c | 3 +++
drivers/gpu/drm/nouveau/nouveau_gem.c | 3 ---
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 23 +++------------------
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 6 +++---
drivers/gpu/drm/sti/Makefile | 2 --
drivers/gpu/drm/tests/drm_client_modeset_test.c | 9 ++++++++-
drivers/gpu/drm/tests/drm_cmdline_parser_test.c | 10 ++++++++-
drivers/gpu/drm/tests/drm_kunit_helpers.c | 22 ++++++++++++++++++++
drivers/gpu/drm/tests/drm_modes_test.c | 26 ++++++++++++++++++++++++
drivers/gpu/drm/tests/drm_probe_helper_test.c | 8 +++++++-
drivers/gpu/drm/virtio/virtgpu_gem.c | 11 +++++-----
drivers/gpu/drm/virtio/virtgpu_plane.c | 20 ++++++++++++------
drivers/gpu/drm/virtio/virtgpu_prime.c | 1 +
include/drm/drm_kunit_helpers.h | 3 +++
21 files changed, 165 insertions(+), 53 deletions(-)

--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)