drm-xe-next
Hi Dave, Simona!
Here is this week's drm-xe-next PR. Highlights:
Series
------
- Introduce Xe PCIe FLR
10/10 patches pushed
Adds PCIe Function Level Reset support to xe. After FLR the driver re-initializes the GT: migrate context, kernel exec queues, BO mappings, GuC submission and firmware, with temporary device wedging and suspend/resume helpers. Documentation for PCI error handling is wired up. (Raag Jadav)
- Handle non-fatal errors routed via IRQ
8/8 patches pushed
Processes, logs and recovers non-fatal errors routed via direct IRQ, including double-bit ECC page offlining, and implements wa_14028434957 on CRI. Handles races with AER-reported errors that require a secondary bus reset, and wedges the device with a bus reset when needed. (Riana Tauro, Raag Jadav)
- Separate GGTT pools for submissions and VFs provisioning 5/5 patches pushed
Splits the GGTT into logical usable and shareable pools so driver-owned allocations and VF provisioning can be managed independently. Pools are initialized by SR-IOV mode and covered by new KUnit tests. (Piotr Piórkowski)
- drm/xe/display: Transparent fallback from stolen to sysmem 4/5 patches pushed
Avoids using stolen memory for the framebuffer when a media GT exists, adds sysmem<->stolen copy support in the migrate code, and adds an i915 fbdev BIOS fb takeover helper. Also raises GT frequency slightly earlier. (The "HACK: Always fallback" patch was not pushed.) (Maarten Lankhorst)
- Define GuC firmware for CRI and NVL-P
2/4 patches pushed
Defines the GuC firmware (70.83.0) for CRI and NVL-P. The two for-CI revert patches in the series were not pushed to drm-xe-next. (Daniele Ceraolo Spurio)
- drm/xe/guc: Fix TLB invalidation WARN when GuC CT is disabled during GT reset 2/2 patches pushed
Treats a CT-disabled TLB invalidation as cancelled, avoiding a WARN in userptr invalidation during GT reset, and drops a redundant error remap in the GGTT full invalidation path.
(Zongyao Bai)
Single patches
--------------
- drm/xe/pf: Reset PF scheduling defaults on auto provisioning restore (Rachapalli Bandi Jagadeesh)
- drm/xe/dma-buf: Validate BOs on export to charge the exporter (Thomas Hellström)
- drm/xe/lrc: Fix math in LRC offset comments (Matt Roper)
- drm/xe/cri: Add new PCI IDs (Ranu Maurya)
- drm/xe/irq: Always free requested IRQs on uninstall (Arvind Yadav)
- drm/xe/guc: Reset TLB invalidation state in submit fini (Piotr Piórkowski)
- drm/xe/query: Use ordered clock reads for engine cycles cpu_delta (Sanjay Yadav)
The following changes since commit be73339dd9d70623b7dbc9c4e3b966824b771069:
drm: xe: select configfs (2026-11-11 13:53:05 -0500)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2026-11-19
for you to fetch changes up to 72f716775dae43f2f6ea042bc97f6552f5240db7:
drm/xe/pf: Reset PF scheduling defaults on auto provisioning restore (2026-11-19 11:21:28 +0100)
----------------------------------------------------------------
Cross-subsystem Changes:
- drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover() (Maarten Lankhorst)
Core Changes:
- drm/xe/cri: Add new PCI IDs (Ranu Maurya)
Driver Changes:
- drm/xe/pf: Reset PF scheduling defaults on auto provisioning restore (Rachapalli Bandi Jagadeesh)
- drm/xe/guc: Drop redundant error remap in send_tlb_inval_ggtt_full() (Zongyao Bai)
- drm/xe/guc: Treat CT-disabled TLB invalidation as cancelled (Zongyao Bai)
- drm/xe/dma-buf: Validate BOs on export to charge the exporter (Thomas Hellström)
- drm/xe: Raise gt frequency slightly earlier. (Maarten Lankhorst)
- drm/xe/migrate: Support copying between sysmem and stolen (Maarten Lankhorst)
- drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists. (Maarten Lankhorst)
- drm/xe/lrc: Fix math in LRC offset comments (Matt Roper)
- drm/xe/irq: Always free requested IRQs on uninstall (Arvind Yadav)
- drm/xe/ggtt: Add KUnit tests for usable and shareable pools (Piotr Piórkowski)
- drm/xe/ggtt: Initialize GGTT pools by SR-IOV mode (Piotr Piórkowski)
- drm/xe/ggtt: Split GGTT into usable and shareable pools (Piotr Piórkowski)
- drm/xe/ggtt: Introduce full GGTT range size (Piotr Piórkowski)
- drm/xe/ggtt: Assert lower bound of GGTT PTE address (Piotr Piórkowski)
- drm/xe/guc: Reset TLB invalidation state in submit fini (Piotr Piórkowski)
- drm/xe/query: Use ordered clock reads for engine cycles cpu_delta (Sanjay Yadav)
- drm/xe/doc: Wire up PCI Error Handling (Raag Jadav)
- drm/xe/pci: Introduce PCIe Function Level Reset (Raag Jadav)
- drm/xe: Introduce temporary device wedging (Raag Jadav)
- drm/xe/pm: Introduce xe_device_suspend/resume() (Raag Jadav)
- drm/xe/migrate: Introduce xe_migrate_reinit() and xe_cpu_bind_reinit() (Raag Jadav)
- drm/xe/exec_queue: Introduce xe_exec_queue_reinit() (Raag Jadav)
- drm/xe/bo_evict: Introduce xe_bo_restore_map() (Raag Jadav)
- drm/xe/gt: Introduce FLR helpers (Raag Jadav)
- drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel() (Raag Jadav)
- drm/xe/uc_fw: Allow re-initializing firmware (Raag Jadav)
- drm/xe/guc: Define GuC firmware for NVL-P (Daniele Ceraolo Spurio)
- drm/xe/guc: Define GuC firmware for CRI (Daniele Ceraolo Spurio)
- drm/xe/xe_ras: Skip double-bit ECC page offlining on AER path (Riana Tauro)
- drm/xe: Add support for wa_14028434957 (Riana Tauro)
- drm/xe/xe_ras: Add a flag for uncorrectable internal error (Riana Tauro)
- drm/xe/pci: Add upstream switch port lookup helper (Riana Tauro)
- drm/xe/ras: Treat non-fatal PCIe errors as recovered (Riana Tauro)
- drm/xe/survivability: Guard runtime survivability enable against unbind (Riana Tauro)
- drm/xe/hw_error: Initialize hw_error_work per tile (Raag Jadav)
- drm/xe/hw_error: Reuse CSC worker for generic error handling (Raag Jadav)
----------------------------------------------------------------
Arvind Yadav (1):
drm/xe/irq: Always free requested IRQs on uninstall
Daniele Ceraolo Spurio (2):
drm/xe/guc: Define GuC firmware for CRI
drm/xe/guc: Define GuC firmware for NVL-P
Maarten Lankhorst (4):
drm/xe/display: Avoid using stolen memory for framebuffer when media gt exists. drm/xe/migrate: Support copying between sysmem and stolen
drm/xe: Raise gt frequency slightly earlier.
drm/i915: Introduce intel_bo_fbdev_bios_fb_takeover()
Matt Roper (1):
drm/xe/lrc: Fix math in LRC offset comments
Piotr Piórkowski (6):
drm/xe/guc: Reset TLB invalidation state in submit fini drm/xe/ggtt: Assert lower bound of GGTT PTE address drm/xe/ggtt: Introduce full GGTT range size drm/xe/ggtt: Split GGTT into usable and shareable pools drm/xe/ggtt: Initialize GGTT pools by SR-IOV mode drm/xe/ggtt: Add KUnit tests for usable and shareable pools
Raag Jadav (12):
drm/xe/hw_error: Reuse CSC worker for generic error handling drm/xe/hw_error: Initialize hw_error_work per tile drm/xe/uc_fw: Allow re-initializing firmware drm/xe/guc_submit: Introduce guc_exec_queue_reinit_kernel() drm/xe/gt: Introduce FLR helpers
drm/xe/bo_evict: Introduce xe_bo_restore_map() drm/xe/exec_queue: Introduce xe_exec_queue_reinit() drm/xe/migrate: Introduce xe_migrate_reinit() and xe_cpu_bind_reinit() drm/xe/pm: Introduce xe_device_suspend/resume()
drm/xe: Introduce temporary device wedging
drm/xe/pci: Introduce PCIe Function Level Reset drm/xe/doc: Wire up PCI Error Handling
Rachapalli Bandi Jagadeesh (1):
drm/xe/pf: Reset PF scheduling defaults on auto provisioning restore
Ranu Maurya (1):
drm/xe/cri: Add new PCI IDs
Riana Tauro (6):
drm/xe/survivability: Guard runtime survivability enable against unbind drm/xe/ras: Treat non-fatal PCIe errors as recovered drm/xe/pci: Add upstream switch port lookup helper drm/xe/xe_ras: Add a flag for uncorrectable internal error drm/xe: Add support for wa_14028434957
drm/xe/xe_ras: Skip double-bit ECC page offlining on AER path
Sanjay Yadav (1):
drm/xe/query: Use ordered clock reads for engine cycles cpu_delta
Thomas Hellström (1):
drm/xe/dma-buf: Validate BOs on export to charge the exporter
Zongyao Bai (2):
drm/xe/guc: Treat CT-disabled TLB invalidation as cancelled drm/xe/guc: Drop redundant error remap in send_tlb_inval_ggtt_full()
Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_pci_error.rst | 8 + drivers/gpu/drm/i915/display/intel_bo.c | 7 + drivers/gpu/drm/i915/display/intel_bo.h | 1 + drivers/gpu/drm/i915/display/intel_fbdev.c | 63 ++++- drivers/gpu/drm/i915/i915_bo.c | 14 +- drivers/gpu/drm/i915/i915_bo.h | 6 - drivers/gpu/drm/i915/i915_initial_plane.c | 14 -- drivers/gpu/drm/xe/display/xe_display_bo.c | 70 +++++- drivers/gpu/drm/xe/display/xe_display_bo.h | 6 - drivers/gpu/drm/xe/display/xe_initial_plane.c | 8 - drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c | 334 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_bo_evict.c | 43 +++- drivers/gpu/drm/xe/xe_bo_evict.h | 1 + drivers/gpu/drm/xe/xe_cpu_bind.c | 11 + drivers/gpu/drm/xe/xe_cpu_bind.h | 1 + drivers/gpu/drm/xe/xe_device.c | 161 ++++++++++++- drivers/gpu/drm/xe/xe_device.h | 2 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_device_wa_oob.rules | 1 + drivers/gpu/drm/xe/xe_dma_buf.c | 82 ++++--- drivers/gpu/drm/xe/xe_exec_queue.c | 47 +++- drivers/gpu/drm/xe/xe_exec_queue.h | 1 + drivers/gpu/drm/xe/xe_exec_queue_types.h | 2 + drivers/gpu/drm/xe/xe_execlist.c | 6 + drivers/gpu/drm/xe/xe_ggtt.c | 297 +++++++++++++++++++---- drivers/gpu/drm/xe/xe_ggtt.h | 4 + drivers/gpu/drm/xe/xe_gpu_scheduler.c | 17 ++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 1 + drivers/gpu/drm/xe/xe_gpu_scheduler_types.h | 5 + drivers/gpu/drm/xe/xe_gsc.c | 14 ++ drivers/gpu/drm/xe/xe_gsc.h | 1 + drivers/gpu/drm/xe/xe_gt.c | 42 ++++ drivers/gpu/drm/xe/xe_gt.h | 2 + drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 +- drivers/gpu/drm/xe/xe_guc.c | 29 +++ drivers/gpu/drm/xe/xe_guc.h | 2 + drivers/gpu/drm/xe/xe_guc_ct.c | 6 +- drivers/gpu/drm/xe/xe_guc_submit.c | 11 + drivers/gpu/drm/xe/xe_guc_tlb_inval.c | 27 +-- drivers/gpu/drm/xe/xe_huc.c | 14 ++ drivers/gpu/drm/xe/xe_huc.h | 1 + drivers/gpu/drm/xe/xe_hw_error.c | 65 ++++- drivers/gpu/drm/xe/xe_hw_error.h | 1 + drivers/gpu/drm/xe/xe_irq.c | 6 +- drivers/gpu/drm/xe/xe_lrc.c | 21 +- drivers/gpu/drm/xe/xe_lrc.h | 2 + drivers/gpu/drm/xe/xe_migrate.c | 100 ++++++-- drivers/gpu/drm/xe/xe_migrate.h | 2 + drivers/gpu/drm/xe/xe_pci.c | 25 ++ drivers/gpu/drm/xe/xe_pci.h | 1 + drivers/gpu/drm/xe/xe_pci_error.c | 199 +++++++++++++-- drivers/gpu/drm/xe/xe_pm.c | 114 ++------- drivers/gpu/drm/xe/xe_pm.h | 1 + drivers/gpu/drm/xe/xe_query.c | 6 +- drivers/gpu/drm/xe/xe_ras.c | 78 ++++-- drivers/gpu/drm/xe/xe_ras.h | 2 + drivers/gpu/drm/xe/xe_ras_types.h | 2 + drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 7 + drivers/gpu/drm/xe/xe_survivability_mode.c | 10 + drivers/gpu/drm/xe/xe_tile_types.h | 4 +- drivers/gpu/drm/xe/xe_uc.c | 77 ++++++ drivers/gpu/drm/xe/xe_uc.h | 2 + drivers/gpu/drm/xe/xe_uc_fw.c | 70 ++++++ drivers/gpu/drm/xe/xe_uc_fw.h | 1 + drivers/gpu/drm/xe/xe_uc_types.h | 14 ++ drivers/gpu/drm/xe/xe_wedge.c | 48 +++- drivers/gpu/drm/xe/xe_wedge.h | 13 +- drivers/gpu/drm/xe/xe_wedge_types.h | 13 +- include/drm/intel/display_parent_interface.h | 1 + include/drm/intel/pciids.h | 6 +- 71 files changed, 1911 insertions(+), 348 deletions(-) create mode 100644 Documentation/gpu/xe/xe_pci_error.rst create mode 100644 drivers/gpu/drm/xe/tests/xe_ggtt_kunit.c