[git pull] drm fixes for 7.4-rc6

From: Dave Airlie

Date: Fri Dec 04 2026 - 17:25:05 EST


Hi Linus,

Usual weekly fixes, the usual suspects in xe/i915/amdgpu, but mediatek
seems to have ran into the AI hammer for this week, but they are all
small trivial fixes, otherwise just a few scattered fix across other
drivers and core.

Dave.

drm-fixes-2026-12-05-2:
drm fixes for 7.4-rc6

core:
- edid: Don't mark DisplayID Type VII YCbCr 4:2:0 timings preferred
- sched: Fix timestamp handling
- ttm: Destroy the ttm_tt in ttm_bo_move_null() when it's no longer needed

bridge:
- lt9611uxc: Fix firmware update verification
- nwl-dsi: Fix DSI disable logic
- tc358762: Fix reset gpio handling

dma-buf:
- dma-fence: Fix timestamp misordering

panel:
- raydium-rm68200: Set prepare_prev_first

i915:
- Reject relocation writes to RO userptr
- Fix GitLab #17232: eDP panel stays black after s2idle
- Fix GitLab #17848: No signal on DP on ThinkPad TB5 dock
- Fix 2 PPC hscale adjustment for min CDCLK
- Refcount fixes to folio handling

xe:
- Hold a fence reference while waiting for migration
- VSEC requires soc-remapper
- Restore default PF scheduling on failed VF enable
- restore userptr invalidations on VMA op unwind
- vf: Free preempt fences on rebind worker retry
- survivability: Fix infinite loop in aux info traversal
- hwmon: Improve mailbox power limit init and visibility
- guc: Scale suspend wait timeout with preempt timeout
- Unplug the drm device on probe failure
- Bump the LRU on a successful page fault
- OA fixes related to cleanup stream on PCI unbind/remove
- migrate: fix pte_update_cmd_size() for non-4K PAGE_SIZE
- allow callers to specify interruptible suballocator waits
- configfs: Fix out-of-bounds read in parse_wa_bb_lines
- GuC state machine harding checks

amdgpu:
- Fix timestamp misordering
- TMZ fixes
- GPUVM fixes
- GC 12.x fixes
- GC 9 fix
- UALink fix

amdkfd:
- MES fix

exynos:
- hdmi: Put bridge on errors

imagination:
- Fix leaks in HWRT data set handling

nouveau:
- Do not unmask hardware interrupts while unarmed

panthor:
- Fix NULL deref in syncobj handling
- Fix partial unmaps

mediatek:
- mtk_hdmi: Set tz_disabled for mt8167
- mtk_hdmi: Improve the secure output bit toggle
- mtk_crtc: Look up connector routes in the CRTC's own mmsys
- mtk_crtc: Skip the empty connector route slot in destroy
- mtk_crtc: Pick the connector route on every CRTC enable
- mtk_dsi: Fix handling of long packet reads
- Keep the mutex node reference across deferred binds
- Validate gamma_lut size
- mtk_dsi: do not enable HS clock in pre-enable for LPM panels
- mtk_dsi: Don't let a signal cut the IRQ wait short
- dp: Unregister child devices on probe failure
- mtk_hdmi_common: Fix clock reference leaks
- Initialize ret in mtk_drm_of_ddp_path_build()
- mtk_dsi: return tx_len for write transfers in mtk_dsi_host_transfer()
- ovl: Report coverage blending on older SoCs
The following changes since commit 4cd3c5bdf16789fc8c8736ed1a1a645b8cecb3b6:

i915/vma: use kfree_rcu to make sure vma are freed after a rcu grace
period (2026-12-02 08:53:56 +1000)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2026-12-05-2

for you to fetch changes up to a11b38521a1204adac03fe85e5abab9f167b53e1:

Merge tag 'mediatek-drm-fixes-20261203' of
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux
into drm-fixes (2026-12-05 08:10:33 +1000)

----------------------------------------------------------------
drm fixes for 7.4-rc6

core:
- edid: Don't mark DisplayID Type VII YCbCr 4:2:0 timings preferred
- sched: Fix timestamp handling
- ttm: Destroy the ttm_tt in ttm_bo_move_null() when it's no longer needed

bridge:
- lt9611uxc: Fix firmware update verification
- nwl-dsi: Fix DSI disable logic
- tc358762: Fix reset gpio handling

dma-buf:
- dma-fence: Fix timestamp misordering

panel:
- raydium-rm68200: Set prepare_prev_first

i915:
- Reject relocation writes to RO userptr
- Fix GitLab #17232: eDP panel stays black after s2idle
- Fix GitLab #17848: No signal on DP on ThinkPad TB5 dock
- Fix 2 PPC hscale adjustment for min CDCLK
- Refcount fixes to folio handling

xe:
- Hold a fence reference while waiting for migration
- VSEC requires soc-remapper
- Restore default PF scheduling on failed VF enable
- restore userptr invalidations on VMA op unwind
- vf: Free preempt fences on rebind worker retry
- survivability: Fix infinite loop in aux info traversal
- hwmon: Improve mailbox power limit init and visibility
- guc: Scale suspend wait timeout with preempt timeout
- Unplug the drm device on probe failure
- Bump the LRU on a successful page fault
- OA fixes related to cleanup stream on PCI unbind/remove
- migrate: fix pte_update_cmd_size() for non-4K PAGE_SIZE
- allow callers to specify interruptible suballocator waits
- configfs: Fix out-of-bounds read in parse_wa_bb_lines
- GuC state machine harding checks

amdgpu:
- Fix timestamp misordering
- TMZ fixes
- GPUVM fixes
- GC 12.x fixes
- GC 9 fix
- UALink fix

amdkfd:
- MES fix

exynos:
- hdmi: Put bridge on errors

imagination:
- Fix leaks in HWRT data set handling

nouveau:
- Do not unmask hardware interrupts while unarmed

panthor:
- Fix NULL deref in syncobj handling
- Fix partial unmaps

mediatek:
- mtk_hdmi: Set tz_disabled for mt8167
- mtk_hdmi: Improve the secure output bit toggle
- mtk_crtc: Look up connector routes in the CRTC's own mmsys
- mtk_crtc: Skip the empty connector route slot in destroy
- mtk_crtc: Pick the connector route on every CRTC enable
- mtk_dsi: Fix handling of long packet reads
- Keep the mutex node reference across deferred binds
- Validate gamma_lut size
- mtk_dsi: do not enable HS clock in pre-enable for LPM panels
- mtk_dsi: Don't let a signal cut the IRQ wait short
- dp: Unregister child devices on probe failure
- mtk_hdmi_common: Fix clock reference leaks
- Initialize ret in mtk_drm_of_ddp_path_build()
- mtk_dsi: return tx_len for write transfers in mtk_dsi_host_transfer()
- ovl: Report coverage blending on older SoCs

----------------------------------------------------------------
Alex Deucher (4):
drm/amdgpu: move tmz init into early_init()
drm/amdgpu/gfx11: don't enable gfx on pipe1 with tmz
drm/amdgpu: allow dispatch tunneling on GFX12
drm/amdgpu: allow dispatch tunneling on GFX12.1

Andreas Kemnade (1):
gpio: tc358762: fix reset gpio handling

Arun Iyengar (1):
drm/edid: Don't mark DisplayID Type VII YCbCr 4:2:0 timings preferred

Ben Grisdale (1):
drm/mediatek: dsi: Fix handling of long packet reads

Bob Zhou (1):
drm/amdgpu: keep the address of cleared PDEs with translate further

Bommu Krishnaiah (1):
drm/xe: Hold a fence reference while waiting for migration

Boris Brezillon (5):
drm/panthor: Avoid false positives in iova_mapped_as_huge_page()
drm/panthor: Fix iova_mapped_as_huge_page() for imported BOs
drm/panthor: Consolidate the is-huge-page-mapping test
drm/panthor: Actually check huge-page mapping on sparse regions
drm/panthor: Remove redundant panthor_fix_sparse_map_offset() call

Christoph Berliner (1):
drm/amdgpu/gfx9: deactivate the KIQ before MODE2 on APUs

Dave Airlie (5):
Merge tag 'drm-intel-fixes-2026-12-03' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
Merge tag 'amd-drm-fixes-7.4-2026-12-03' of
https://gitlab.freedesktop.org/drm/amdgpu/kernel into drm-fixes
Merge tag 'drm-xe-fixes-2026-12-03' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
Merge tag 'drm-misc-fixes-2026-12-04' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Merge tag 'mediatek-drm-fixes-20261203' of
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux
into drm-fixes

Dmitry Baryshkov (2):
drm/bridge: lt9611uxc: read the flash back in read mode
drm/bridge: lt9611uxc: report a failed firmware update as a failure

Fei Shao (1):
drm/mediatek: Validate gamma_lut size

Frederik Schwan (1):
drm/i915/dp: Fix source PHY updates for UHBR links with LTTPRs

Haoxiang Li (2):
drm/mediatek: dp: Unregister child devices on probe failure
drm/mediatek: mtk_hdmi_common: Fix clock reference leaks

Himal Prasad Ghimiray (1):
drm/xe/guc: Scale suspend wait timeout with preempt timeout

Ian Rogers (1):
drm/mediatek: Initialize ret in mtk_drm_of_ddp_path_build()

Ilia Snezhkov (1):
drm/mediatek: dsi: return tx_len for write transfers in
mtk_dsi_host_transfer()

Jesse Zhang (3):
drm/amdgpu: unlink userptr bo_vas under the notifier_lock
drm/amdgpu: reject userptr BOs at address 0
drm/amdkfd: only fence and flush the devices whose queues got suspended

Joonas Lahtinen (1):
drm/i915: Reject relocation writes to RO userptr

Karthik Poosa (1):
drm/xe/hwmon: Improve mailbox power limit init and visibility

Krzysztof Karas (2):
drm/i915/gem: Count mapped pages in a folio
drm/i915/gem: Free sg table on failure to acquire second folio

Lin Huiyi (1):
drm/amdgpu: Unwind UALink peer GART mappings on sw_init failure

Liu Ying (1):
drm/bridge: nwl-dsi: Move DSI host disablement to ->atomic_post_disable()

Luca Leonardo Scorcia (2):
drm/mediatek: mtk_hdmi: Set tz_disabled for mt8167
drm/mediatek: mtk_hdmi: Improve the secure output bit toggle

Marcin Bernatowicz (1):
drm/xe/pf: Restore default PF scheduling on failed VF enable

Matthew Auld (3):
drm/xe/vm: restore userptr invalidations on VMA op unwind
drm/xe/migrate: fix pte_update_cmd_size() for non-4K PAGE_SIZE
drm/xe/sa: allow callers to specify interruptible suballocator waits

Matthew Brost (1):
drm/xe: Bump the LRU on a successful page fault

Maxime Ripard (1):
MAINTAINERS: Add Luca Ceresoli as bridge maintainer

Michael J. Ruhl (1):
drm/xe/vsec: VSEC requires soc-remapper

Philipp Stanner (3):
dma-buf: dma-fence: Fix timestamp misordering
drm/sched: Prevent overwrite of non-existing timestamp
drm/amdgpu: Fix timestamp misordering

Pufan Jin (1):
drm/nouveau/intr: do not unmask hardware interrupts while unarmed

Raag Jadav (1):
drm/xe: Unplug the drm device on probe failure

Roman Vivchar (1):
drm/mediatek: mtk_dsi: do not enable HS clock in pre-enable for LPM panels

Ryan Brue (1):
drm/mediatek: ovl: Report coverage blending on older SoCs

Shahyan Soltani (1):
drm/amdgpu: clear root PT after setting vm->is_npa = true

Sk Anirban (1):
drm/xe/survivability: Fix infinite loop in aux info traversal

Stefan Ghetu (1):
drm/panel: raydium-rm68200: Set prepare_prev_first

Stuart Summers (1):
drm/xe/configfs: Fix out-of-bounds read in parse_wa_bb_lines()

Suraj Kandpal (1):
drm/i915/pps: Reject eDP ports whose PPS is already in use

Suyuan Wang (2):
drm/imagination: Destroy the common FW object when HWRT data setup fails
drm/imagination: Don't truncate the layer count in max_rts

Thomas Hellström (2):
drm/ttm: Destroy the ttm_tt in ttm_bo_move_null() when it's no
longer needed
drm/xe/vf: Free preempt fences on rebind worker retry

Tuo Li (1):
drm/panthor: Fix NULL pointer dereference in sync signal cleanup

Uma Shankar (1):
drm/i915/cdclk: Fix 2 PPC hscale adjustment for min CDCLK

Umesh Nerlige Ramappa (5):
drm/xe/oa: Ignore a HW tail pointer outside the OA buffer
drm/xe/oa: Use the drm device address_space for the OA stream fd
drm/xe: Reject vm_ops->access on BO mappings of an unplugged device
drm/xe/guc: Reject a duplicate deregister-done G2H
drm/xe/guc: Sanity check GuC-reported hwconfig table size

Yige Jiang (2):
drm/mediatek: Keep the mutex node reference across deferred binds
drm/exynos: hdmi: put bridge reference on probe failure

Zhigang Luo (1):
drm/amdgpu: align the sysvm GART start to 8GB

Zi-Hao Huang (1):
drm/mediatek: dsi: Don't let a signal cut the IRQ wait short

zoan37 (3):
drm/mediatek: mtk_crtc: Look up connector routes in the CRTC's own mmsys
drm/mediatek: mtk_crtc: Skip the empty connector route slot in destroy
drm/mediatek: mtk_crtc: Pick the connector route on every CRTC enable

MAINTAINERS | 2 +-
drivers/dma-buf/dma-fence.c | 9 ++
drivers/gpio/gpiolib-of.c | 7 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 13 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 46 +++++++--
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 36 +++----
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 14 ++-
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 13 ++-
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 12 +--
drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 3 +-
drivers/gpu/drm/bridge/nwl-dsi.c | 6 +-
drivers/gpu/drm/bridge/tc358762.c | 6 +-
drivers/gpu/drm/drm_edid.c | 8 +-
drivers/gpu/drm/exynos/exynos_hdmi.c | 6 +-
drivers/gpu/drm/i915/display/intel_dp.c | 12 ++-
.../gpu/drm/i915/display/intel_dp_link_training.c | 16 ++-
drivers/gpu/drm/i915/display/intel_plane.c | 42 +++++---
drivers/gpu/drm/i915/display/intel_pps.c | 59 ++++++++---
drivers/gpu/drm/i915/display/intel_pps.h | 2 +-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 +
drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 103 +++++++++++--------
drivers/gpu/drm/imagination/pvr_hwrt.c | 2 +
drivers/gpu/drm/imagination/pvr_hwrt.h | 2 +-
drivers/gpu/drm/mediatek/mtk_crtc.c | 26 +++--
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 20 ++--
drivers/gpu/drm/mediatek/mtk_dp.c | 20 +++-
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +-
drivers/gpu/drm/mediatek/mtk_dsi.c | 20 ++--
drivers/gpu/drm/mediatek/mtk_hdmi.c | 3 +-
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 6 +-
drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 1 +
drivers/gpu/drm/nouveau/nvkm/core/intr.c | 9 +-
drivers/gpu/drm/panel/panel-raydium-rm68200.c | 2 +
drivers/gpu/drm/panthor/panthor_drv.c | 4 +-
drivers/gpu/drm/panthor/panthor_mmu.c | 112 ++++++++++++++-------
drivers/gpu/drm/scheduler/sched_main.c | 15 ++-
drivers/gpu/drm/ttm/ttm_bo_util.c | 20 ++++
drivers/gpu/drm/xe/xe_bb.c | 4 +-
drivers/gpu/drm/xe/xe_bb.h | 9 +-
drivers/gpu/drm/xe/xe_bo.c | 15 ++-
drivers/gpu/drm/xe/xe_configfs.c | 6 +-
drivers/gpu/drm/xe/xe_device.c | 2 +-
drivers/gpu/drm/xe/xe_guc_buf.c | 4 +-
drivers/gpu/drm/xe/xe_guc_hwconfig.c | 19 ++++
drivers/gpu/drm/xe/xe_guc_submit.c | 34 +++++--
drivers/gpu/drm/xe/xe_hwmon.c | 16 +--
drivers/gpu/drm/xe/xe_migrate.c | 22 ++--
drivers/gpu/drm/xe/xe_oa.c | 50 ++++++++-
drivers/gpu/drm/xe/xe_page_reclaim.c | 2 +-
drivers/gpu/drm/xe/xe_pagefault.c | 6 ++
drivers/gpu/drm/xe/xe_pci_sriov.c | 1 +
drivers/gpu/drm/xe/xe_sa.c | 6 +-
drivers/gpu/drm/xe/xe_sa.h | 9 +-
drivers/gpu/drm/xe/xe_survivability_mode.c | 8 +-
drivers/gpu/drm/xe/xe_vm.c | 37 +++++--
include/drm/ttm/ttm_bo.h | 15 +--
include/linux/dma-fence.h | 6 +-
63 files changed, 688 insertions(+), 290 deletions(-)