All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
To: Dave Airlie <airlied@gmail.com>, Simona Vetter <simona.vetter@ffwll.ch>
Cc: "Jani Nikula" <jani.nikula@linux.intel.com>,
	"Joonas Lahtinen" <joonas.lahtinen@linux.intel.com>,
	"Tvrtko Ursulin" <tursulin@ursulin.net>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Matthew Brost" <matthew.brost@intel.com>,
	"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
	"Oded Gabbay" <ogabbay@kernel.org>,
	dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	intel-xe@lists.freedesktop.org, dim-tools@lists.freedesktop.org
Subject: [PULL] drm-xe-next
Date: Thu, 19 Nov 2026 13:37:03 +0100	[thread overview]
Message-ID: <av7tXyAinG4Pjaua@fedora> (raw)

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

             reply	other threads:[~2026-11-19 12:37 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 12:37 Thomas Hellstrom [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-12  9:42 [PULL] drm-xe-next Thomas Hellstrom
2026-11-05 15:38 Thomas Hellstrom
2026-10-01 20:57 Matthew Brost
2026-10-01 12:57 Rodrigo Vivi
2026-10-01 21:05 ` Rodrigo Vivi
2026-09-18 19:45 Matthew Brost
2026-09-01  0:26 Matthew Brost
2026-07-30 16:06 Rodrigo Vivi
2026-07-03 18:13 Rodrigo Vivi
2026-05-28 12:57 Thomas Hellstrom
2026-05-21 18:38 Thomas Hellstrom
2026-05-14 13:20 Thomas Hellstrom
2026-04-30 13:00 Thomas Hellstrom
2026-03-27  3:24 Matthew Brost
2026-03-26  4:44 Matthew Brost
2026-03-12 14:57 Matthew Brost
2026-03-02 22:40 Matthew Brost
2026-01-15 16:16 Rodrigo Vivi
2025-12-30  9:58 Thomas Hellstrom
2025-12-19 22:41 Rodrigo Vivi
2025-11-14 10:49 Thomas Hellstrom
2025-11-17 20:56 ` Dave Airlie
2025-11-18  8:34   ` Thomas Hellström
2025-11-05 16:53 Thomas Hellstrom
2025-10-28 11:16 Thomas Hellstrom
2025-10-31 17:46 ` Simona Vetter
2025-10-20  8:31 Thomas Hellstrom
2025-10-24 11:26 ` Simona Vetter
2025-09-19 14:53 Lucas De Marchi
2025-08-29 22:00 Lucas De Marchi
2025-07-15 18:21 Rodrigo Vivi
2025-07-10 22:16 Rodrigo Vivi
2025-07-11  9:12 ` Simona Vetter
2025-07-11  9:25 ` Simona Vetter
2025-06-18 20:05 Rodrigo Vivi
2025-05-08 16:01 Thomas Hellstrom
2025-04-28 16:03 Thomas Hellstrom
2025-04-28 14:27 Thomas Hellstrom
2025-04-28 15:40 ` Thomas Hellström
2025-04-17 10:22 Thomas Hellstrom
2025-03-07  8:02 Lucas De Marchi
2025-03-07 14:51 ` Lucas De Marchi
2025-03-07 19:04   ` Lucas De Marchi
2025-02-24 18:50 Lucas De Marchi
2025-01-10 14:54 Rodrigo Vivi
2025-01-07 19:01 Rodrigo Vivi
2024-12-11 23:27 Rodrigo Vivi
2024-10-31 11:50 Thomas Hellstrom
2024-10-24 17:52 Thomas Hellstrom
2024-10-24 19:22 ` Matthew Brost
2024-10-25  7:30   ` Thomas Hellström
2024-10-25  9:34     ` Jani Nikula
2024-10-25 10:45       ` Thomas Hellström
2024-10-25 22:26         ` Matthew Brost
2024-10-17  9:32 Thomas Hellstrom
2024-10-10  9:56 Thomas Hellstrom
2024-09-06  2:29 Lucas De Marchi
2024-08-28 19:18 Lucas De Marchi
2024-08-22 20:55 Lucas De Marchi
2024-08-27 10:51 ` Daniel Vetter
2024-07-30 22:39 Lucas De Marchi
2024-07-02 19:02 Rodrigo Vivi
2024-07-05  8:18 ` Daniel Vetter
2024-06-26 22:32 Rodrigo Vivi
2024-06-06 21:43 Rodrigo Vivi
2024-04-23 12:54 Thomas Hellstrom
2024-02-26  3:21 Lucas De Marchi
2024-02-26  9:58 ` Daniel Vetter
2024-02-26 10:46 ` Daniel Stone
2024-02-26 14:16   ` Lucas De Marchi
2023-12-15 22:28 Rodrigo Vivi
2023-12-17 12:35 ` Oded Gabbay
2023-12-17 12:35   ` Oded Gabbay
2023-12-18 12:09 ` Oded Gabbay
2023-12-18 12:09   ` Oded Gabbay
2023-12-18 14:27 ` Oded Gabbay
2023-12-18 14:27   ` Oded Gabbay
2023-12-19  7:17   ` Ohad Sharabi
2023-12-19  9:15   ` Dani Liberman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=av7tXyAinG4Pjaua@fedora \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=airlied@gmail.com \
    --cc=dim-tools@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=matthew.brost@intel.com \
    --cc=mripard@kernel.org \
    --cc=ogabbay@kernel.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona.vetter@ffwll.ch \
    --cc=tursulin@ursulin.net \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.