drm-misc-fixes
Hi Dave, Sima,
drm-misc-fixes for v7.2-rc2!
Kind regards,
~Maarten Lankhorst
drm-misc-fixes-2026-07-02:
drm-misc-fixes for v7.2-rc2:
- Fix potential null pointer dereference in dma-buf.
- Handle 0 in dma_fence_dedup_array.
- Use the correct callback in dma_fence_timeline_name.
- Fix device removal handling in amdxdna.
- kernel-doc fixes.
- Include header fix for drm_ras.h
- Handle edids better in virtio.
- Use the clk_bulk api for error handling in malidp.
- More clk handling fixes for komeda.
- panthor scheduler block fallout fixes.
- panthor unplug fixes.
- other panthor fixes.
- Fix unnecessary WARN_ON in topology probe after teardown.
- Add refcount to amdxdna job to fix use-after free.
- Fix increasing args->size in ioctl's of drm/imagination.
- Handle stride correctly in pvr_set_uobj_array.
- Only call imagination's drm_sched_entity_fini once.
The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:
Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2026-07-02
for you to fetch changes up to 8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7a:
drm/imagination: Fix user array stride in pvr_set_uobj_array() (2026-07-02 11:16:18 +0100)
----------------------------------------------------------------
drm-misc-fixes for v7.2-rc2:
- Fix potential null pointer dereference in dma-buf.
- Handle 0 in dma_fence_dedup_array.
- Use the correct callback in dma_fence_timeline_name.
- Fix device removal handling in amdxdna.
- kernel-doc fixes.
- Include header fix for drm_ras.h
- Handle edids better in virtio.
- Use the clk_bulk api for error handling in malidp.
- More clk handling fixes for komeda.
- panthor scheduler block fallout fixes.
- panthor unplug fixes.
- other panthor fixes.
- Fix unnecessary WARN_ON in topology probe after teardown.
- Add refcount to amdxdna job to fix use-after free.
- Fix increasing args->size in ioctl's of drm/imagination.
- Handle stride correctly in pvr_set_uobj_array.
- Only call imagination's drm_sched_entity_fini once.
----------------------------------------------------------------
André Draszik (1):
dma-fence: use correct callback in dma_fence_timeline_name()
Baineng Shou (1):
dma-fence: Make dma_fence_dedup_array() robust against 0-count input
Boris Brezillon (10):
drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock drm/panthor: Keep the reset work disabled until everything is initialized drm/panthor: Fix potential invalid pointer deref in group_process_tiler_oom() drm/panthor: Fix theoretical IOMEM access in suspended state drm/panthor: Don't overrule pending immediate ticks in sched_resume_tick() drm/panthor: Fix panthor_pwr_unplug()
drm/panthor: Drop a needless check in panthor_fw_unplug() drm/panthor: Fix a leak when a group is evicted before the tiler OOM is serviced drm/panthor: Interrupt group start/resumption if group_bind_locked() fails drm/panthor: Keep interrupts masked until they are needed
Brajesh Gupta (2):
drm/imagination: Fix double call to drm_sched_entity_fini() drm/imagination: Fix returned size for DRM_IOCTL_PVR_DEV_QUERY
Bryam Vargas (1):
drm/virtio: bound EDID block reads to the response buffer
Gustavo Kenji Mendonça Kaneko (2):
drm/arm/malidp: use clk_bulk API in runtime PM resume and suspend drm/arm/komeda: fix error handling for clk_prepare_enable() and callers
Jani Nikula (3):
drm/dp: fix kernel-doc for struct drm_dp_as_sdp drm/fixed: fix kernel-doc for drm_sm2fixp() drm/ras: include linux/types.h in drm_ras.h
Lizhi Hou (4):
accel/amdxdna: Fix amdxdna_client lifetime race during device removal accel/amdxdna: Fix notifier_wq lifetime race during device removal accel/amdxdna: Fix iommu domain lifetime race during device removal accel/amdxdna: Fix use-after-free in debug BO command handling
Luca Coelho (1):
drm/dp_mst: Handle torn-down topology gracefully in drm_dp_mst_topology_queue_probe()
Maarten Lankhorst (1):
Merge drm/drm-fixes into drm-misc-fixes
Philipp Stanner (1):
dma-buf: dma-fence: Fix potential NULL pointer dereference
Shuvam Pandey (1):
drm/imagination: Fix user array stride in pvr_set_uobj_array()
drivers/accel/amdxdna/aie2_ctx.c | 68 +++++++++++---- drivers/accel/amdxdna/amdxdna_ctx.h | 1 + drivers/accel/amdxdna/amdxdna_iommu.c | 43 +++++++--- drivers/accel/amdxdna/amdxdna_pci_drv.c | 38 ++++----- drivers/accel/amdxdna/amdxdna_pci_drv.h | 1 + drivers/dma-buf/dma-fence-unwrap.c | 3 + drivers/dma-buf/dma-fence.c | 6 +- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 6 +- drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 14 +-- drivers/gpu/drm/arm/malidp_drv.c | 22 +++-- drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 +- drivers/gpu/drm/imagination/pvr_context.c | 18 ++-- drivers/gpu/drm/imagination/pvr_drv.c | 19 +++-- drivers/gpu/drm/imagination/pvr_queue.c | 6 +- drivers/gpu/drm/imagination/pvr_queue.h | 2 +- drivers/gpu/drm/imagination/pvr_vm.c | 6 +- drivers/gpu/drm/panthor/panthor_device.c | 4 + drivers/gpu/drm/panthor/panthor_device.h | 17 ++-- drivers/gpu/drm/panthor/panthor_fw.c | 6 +- drivers/gpu/drm/panthor/panthor_gpu.c | 3 +- drivers/gpu/drm/panthor/panthor_mmu.c | 9 +- drivers/gpu/drm/panthor/panthor_pwr.c | 10 ++- drivers/gpu/drm/panthor/panthor_sched.c | 108 +++++++++++++----------- drivers/gpu/drm/virtio/virtgpu_vq.c | 3 +- include/drm/display/drm_dp_helper.h | 1 + include/drm/drm_fixed.h | 3 +- include/drm/drm_ras.h | 2 + 27 files changed, 265 insertions(+), 158 deletions(-)