[git pull] drm fixes for 7.2-rc4

From: Dave Airlie

Date: Fri Jul 17 2026 - 17:32:14 EST


Hi Linus,

Weekly drm fixes, this is xe and i915 and then a lot of scattered
fixes, there should be a bunch of amdpgu fixes in here, but there was
some missing Signoffs so I dropped the whole pull request until Alex
fixes it up, so that might arrive later or might not.

Dave.

drm-fixes-2026-07-18:
drm fixes for 7.2-rc4

ttm:
- Handle NULL pages and backup handles in ttm_pool_backup() correctly.

gpusvm:
- Improve unmap and error handling on gpusvm.

udmabuf:
- Always synchronize for CPU in begin_cpu_udmabuf.

xe:
- Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOCK
- Hold a dma-buf reference for imported BOs
- Fix writable override for CRI
- Fix VF CCS attach/detach race with in-flight BO moves
- Fix WOPCM size for LNL+
- Reset current_op in xe_pt_update_ops_init
- Keep scheduler timeline name alive
- Hold device ref until queue teardown completes
- Disable display in admin only PF mode

i915:
- NV12 display fix for bigjoiner
- clear watermark on plane disable
- GT selftest fixes

host1x:
- Fix UAF

amdxdna
- Fix UAF
- Reject more invalid amdxdna command submissions.

ivpu:
- Fix wrong read
- Handle invalid firmware log in ivpu.

panthor:
- Fix error handling

virtio:
- Fix virtio deadlock
- Fix invalid gem detach.
The following changes since commit a13c140cc289c0b7b3770bce5b3ad42ab35074aa:

Linux 7.2-rc3 (2026-07-12 14:16:39 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2026-07-18

for you to fetch changes up to 5554e0599c960a2b320a78ef1429ddb1a1d94aec:

Merge tag 'drm-intel-fixes-2026-07-17' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
(2026-07-18 07:18:18 +1000)

----------------------------------------------------------------
drm fixes for 7.2-rc4

ttm:
- Handle NULL pages and backup handles in ttm_pool_backup() correctly.

gpusvm:
- Improve unmap and error handling on gpusvm.

udmabuf:
- Always synchronize for CPU in begin_cpu_udmabuf.

xe:
- Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOCK
- Hold a dma-buf reference for imported BOs
- Fix writable override for CRI
- Fix VF CCS attach/detach race with in-flight BO moves
- Fix WOPCM size for LNL+
- Reset current_op in xe_pt_update_ops_init
- Keep scheduler timeline name alive
- Hold device ref until queue teardown completes
- Disable display in admin only PF mode

i915:
- NV12 display fix for bigjoiner
- clear watermark on plane disable
- GT selftest fixes

host1x:
- Fix UAF

amdxdna
- Fix UAF
- Reject more invalid amdxdna command submissions.

ivpu:
- Fix wrong read
- Handle invalid firmware log in ivpu.

panthor:
- Fix error handling

virtio:
- Fix virtio deadlock
- Fix invalid gem detach.

----------------------------------------------------------------
Alexander Usyskin (1):
drm/xe/nvm: fix writable override for CRI

Arvind Yadav (2):
drm/xe/guc: Keep scheduler timeline name alive
drm/xe/guc: Hold device ref until queue teardown completes

Daniele Ceraolo Spurio (1):
drm/xe/wopcm: fix WOPCM size for LNL+

Dave Airlie (3):
Merge tag 'drm-misc-fixes-2026-07-17' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Merge tag 'drm-xe-fixes-2026-07-17' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
Merge tag 'drm-intel-fixes-2026-07-17' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes

Doruk Tan Ozturk (2):
accel/amdxdna: reject user command submission without a command BO
accel/amdxdna: reject command submission on devices without a submit op

Emre Cecanpunar (1):
drm/i915/selftests: Fix GT PM sort comparators

Himal Prasad Ghimiray (1):
drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC

Honglei Huang (3):
drm/gpusvm: free the whole IOVA reservation on unmap
drm/gpusvm: do not route system pages to device_unmap() on IOVA unmap
drm/gpusvm: publish dpagemap early to avoid device mapping leak on error

Jason Macnak (1):
drm/virtio: Don't detach GEM from a non-created context

Jhonraushan (1):
accel/ivpu: Reject firmware log with size smaller than header

Karol Wachowski (1):
accel/ivpu: Fix wrong register read in LNL failure diagnostics

Linmao Li (1):
drm/panthor: Check debugfs GEM lock initialization

Lizhi Hou (1):
accel/amdxdna: Fix use-after-free of mm_struct in job scheduler

Maarten Lankhorst (1):
Merge v7.2-rc3 into drm-misc-fixes

Matthew Brost (2):
drm/ttm: Account for NULL and handle pages in ttm_pool_backup
drm/xe/vf: Fix VF CCS attach/detach race with in-flight BO moves

Mikko Perttunen (1):
gpu: host1x: Fix use-after-free in host1x_bo_clear_cached_mappings

Nitin Gote (1):
drm/xe: Hold a dma-buf reference for imported BOs

Osama Abdelkader (1):
drm/panthor: return error on truncated firmware

Pengpeng Hou (1):
drm/i915/gt: use correct selftest config symbol

Robert Mader (1):
udmabuf: Ensure to perform cache synchronisation in begin_cpu_udmabuf()

Ryosuke Yasuoka (1):
drm/virtio: fix deadlock in display_info_cb by removing hotplug
from dequeue worker

Satyanarayana K V P (1):
drm/xe/pf: Disable display in admin only PF mode

Vidya Srinivas (1):
drm/i915/display: Fix NV12 ceiling division for bigjoiner case

Vinod Govindapillai (1):
drm/i915/wm: clear the plane ddb_y entries on plane disable

Zongyao Bai (1):
drm/xe/pt: Reset current_op in xe_pt_update_ops_init()

drivers/accel/amdxdna/amdxdna_ctx.c | 18 ++++++
drivers/accel/ivpu/ivpu_fw_log.c | 4 ++
drivers/accel/ivpu/ivpu_hw_btrs.c | 2 +-
drivers/dma-buf/udmabuf.c | 9 +--
drivers/gpu/drm/drm_gpusvm.c | 53 +++++++++++-----
drivers/gpu/drm/i915/display/skl_universal_plane.c | 33 ++++------
drivers/gpu/drm/i915/display/skl_watermark.c | 2 +-
drivers/gpu/drm/i915/gt/intel_engine_user.c | 2 +-
drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 8 +--
drivers/gpu/drm/panthor/panthor_device.c | 5 +-
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/ttm/ttm_pool.c | 34 +++++++++--
drivers/gpu/drm/virtio/virtgpu_gem.c | 14 +++--
drivers/gpu/drm/virtio/virtgpu_kms.c | 5 +-
drivers/gpu/drm/virtio/virtgpu_vq.c | 3 -
drivers/gpu/drm/xe/xe_bo.c | 58 +++++++++++++-----
drivers/gpu/drm/xe/xe_bo.h | 3 +-
drivers/gpu/drm/xe/xe_bo_types.h | 2 +
drivers/gpu/drm/xe/xe_device.c | 4 +-
drivers/gpu/drm/xe/xe_device_types.h | 2 +-
drivers/gpu/drm/xe/xe_dma_buf.c | 2 +-
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 5 ++
drivers/gpu/drm/xe/xe_guc_submit.c | 70 +++++++++++++---------
drivers/gpu/drm/xe/xe_guc_types.h | 2 -
drivers/gpu/drm/xe/xe_migrate.c | 5 +-
drivers/gpu/drm/xe/xe_migrate.h | 1 +
drivers/gpu/drm/xe/xe_module.c | 49 +++++++++++++++
drivers/gpu/drm/xe/xe_module.h | 5 ++
drivers/gpu/drm/xe/xe_nvm.c | 9 ++-
drivers/gpu/drm/xe/xe_pci.c | 9 ++-
drivers/gpu/drm/xe/xe_pt.c | 3 +
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c | 20 ++++++-
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h | 3 +-
drivers/gpu/drm/xe/xe_vm.c | 25 ++++++--
drivers/gpu/drm/xe/xe_wopcm.c | 15 +++--
drivers/gpu/host1x/bus.c | 4 +-
36 files changed, 356 insertions(+), 133 deletions(-)