dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PULL] drm-xe-fixes
@ 2026-03-19 21:00 Thomas Hellstrom
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Hellstrom @ 2026-03-19 21:00 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave, Simona

Here's the drm-xe-fixes PR towards -rc5.

Thanks,
Thomas

drm-xe-fixes-2026-03-19:
Driver Changes:
- A number of teardown fixes (Daniele, Matt Brost, Zhanjun, Ashutosh)
- Skip over non-leaf PTE for PRL generation  (Brian)
- Fix an unitialized variable (Umesh)
- Fix a missing runtime PM reference (Sanjay)
The following changes since commit 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681:

  Linux 7.0-rc3 (2026-03-08 16:56:54 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-03-19

for you to fetch changes up to 65d046b2d8e0d6d855379a981869005fd6b6a41b:

  drm/xe: Fix missing runtime PM reference in ccs_mode_store (2026-03-19 18:05:04 +0100)

----------------------------------------------------------------
Driver Changes:
- A number of teardown fixes (Daniele, Matt Brost, Zhanjun, Ashutosh)
- Skip over non-leaf PTE for PRL generation  (Brian)
- Fix an unitialized variable (Umesh)
- Fix a missing runtime PM reference (Sanjay)

----------------------------------------------------------------
Ashutosh Dixit (1):
      drm/xe/oa: Allow reading after disabling OA stream

Brian Nguyen (1):
      drm/xe: Skip over non leaf pte for PRL generation

Daniele Ceraolo Spurio (1):
      drm/xe/guc: Fail immediately on GuC load error

Matthew Brost (4):
      drm/xe: Always kill exec queues in xe_guc_submit_pause_abort
      drm/xe: Forcefully tear down exec queues in GuC submit fini
      drm/xe: Trigger queue cleanup if not in wedged mode 2
      drm/xe: Open-code GGTT MMIO access protection

Sanjay Yadav (1):
      drm/xe: Fix missing runtime PM reference in ccs_mode_store

Umesh Nerlige Ramappa (1):
      drm/xe/lrc: Fix uninitialized new_ts when capturing context timestamp

Zhanjun Dong (1):
      drm/xe/guc: Ensure CT state transitions via STOP before DISABLED

 drivers/gpu/drm/xe/xe_ggtt.c        | 10 ++---
 drivers/gpu/drm/xe/xe_ggtt_types.h  |  5 ++-
 drivers/gpu/drm/xe/xe_gt_ccs_mode.c |  2 +
 drivers/gpu/drm/xe/xe_guc.c         | 32 +++++++++++---
 drivers/gpu/drm/xe/xe_guc.h         |  1 +
 drivers/gpu/drm/xe/xe_guc_ct.c      |  1 +
 drivers/gpu/drm/xe/xe_guc_submit.c  | 86 ++++++++++++++++++++++++++-----------
 drivers/gpu/drm/xe/xe_lrc.c         |  4 +-
 drivers/gpu/drm/xe/xe_oa.c          |  7 ++-
 drivers/gpu/drm/xe/xe_pt.c          | 38 ++++++++++++----
 10 files changed, 136 insertions(+), 50 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL] drm-xe-fixes
@ 2026-03-26 12:03 Rodrigo Vivi
  0 siblings, 0 replies; 6+ messages in thread
From: Rodrigo Vivi @ 2026-03-26 12:03 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Here goes or xe fixes for this round.

Thanks,
Rodrigo.

drm-xe-fixes-2026-03-26:
- Fix UAF in SRIOV migration restore (Winiarski)
- Updates to HW W/a (Roper)
- VMBind remap fix (Auld)
The following changes since commit c369299895a591d96745d6492d4888259b004a9e:

  Linux 7.0-rc5 (2026-03-22 14:42:17 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-03-26

for you to fetch changes up to bfe9e314d7574d1c5c851972e7aee342733819d2:

  drm/xe: always keep track of remap prev/next (2026-03-25 08:05:33 -0400)

----------------------------------------------------------------
- Fix UAF in SRIOV migration restore (Winiarski)
- Updates to HW W/a (Roper)
- VMBind remap fix (Auld)

----------------------------------------------------------------
Matt Roper (1):
      drm/xe: Implement recent spec updates to Wa_16025250150

Matthew Auld (1):
      drm/xe: always keep track of remap prev/next

Michał Winiarski (1):
      drm/xe/pf: Fix use-after-free in migration restore

 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  1 +
 drivers/gpu/drm/xe/xe_pt.c           | 12 ++++++------
 drivers/gpu/drm/xe/xe_sriov_packet.c |  2 ++
 drivers/gpu/drm/xe/xe_vm.c           | 22 ++++++++++++++++++----
 drivers/gpu/drm/xe/xe_vm_types.h     |  4 ++++
 drivers/gpu/drm/xe/xe_wa.c           |  3 ++-
 6 files changed, 33 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL] drm-xe-fixes
@ 2026-04-02 12:50 Rodrigo Vivi
  0 siblings, 0 replies; 6+ messages in thread
From: Rodrigo Vivi @ 2026-04-02 12:50 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Here goes our Xe fixes for this round.

Please notice there's a uAPI fix on canonical address handling.
That should had been the original expectation and shouldn't break
anyone.

Thanks,
Rodrigo.

drm-xe-fixes-2026-04-02:
uAPI Fix:
 - Accept canonical GPU addresses in xe_vm_madvise_ioctl (Arvind)

Driver Fixes:
 - Disallow writes to read-only VMAs (Jonathan)
 - PXP fixes (Daniele)
 - Disable garbage collector work item on SVM clos (Brost)
 - void memory allocations in xe_device_declare_wedged (Brost)
The following changes since commit 7aaa8047eafd0bd628065b15757d9b48c5f9c07d:

  Linux 7.0-rc6 (2026-03-29 15:40:00 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-04-02

for you to fetch changes up to 56b7432b7e8e6ae1b289cb405d16db4150ef193b:

  drm/xe: Avoid memory allocations in xe_device_declare_wedged() (2026-03-30 08:52:20 -0400)

----------------------------------------------------------------
uAPI Fix:
 - Accept canonical GPU addresses in xe_vm_madvise_ioctl (Arvind)

Driver Fixes:
 - Disallow writes to read-only VMAs (Jonathan)
 - PXP fixes (Daniele)
 - Disable garbage collector work item on SVM clos (Brost)
 - void memory allocations in xe_device_declare_wedged (Brost)

----------------------------------------------------------------
Arvind Yadav (1):
      drm/xe/madvise: Accept canonical GPU addresses in xe_vm_madvise_ioctl

Daniele Ceraolo Spurio (4):
      drm/xe/pxp: Clean up termination status on failure
      drm/xe/pxp: Remove incorrect handling of impossible state during suspend
      drm/xe/pxp: Clear restart flag in pxp_start after jumping back
      drm/xe/pxp: Don't allow PXP on older PTL GSC FWs

Jonathan Cavitt (1):
      drm/xe/xe_pagefault: Disallow writes to read-only VMAs

Matthew Brost (2):
      drm/xe: Disable garbage collector work item on SVM close
      drm/xe: Avoid memory allocations in xe_device_declare_wedged()

 drivers/gpu/drm/xe/xe_device.c     | 27 +++++++++++++--------------
 drivers/gpu/drm/xe/xe_pagefault.c  |  6 ++++++
 drivers/gpu/drm/xe/xe_pxp.c        | 23 ++++++++++++++++-------
 drivers/gpu/drm/xe/xe_svm.c        |  2 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c | 16 ++++++++++++----
 5 files changed, 48 insertions(+), 26 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL] drm-xe-fixes
@ 2026-04-08 20:01 Rodrigo Vivi
  0 siblings, 0 replies; 6+ messages in thread
From: Rodrigo Vivi @ 2026-04-08 20:01 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Here goes our single xe fix for this round.

Thanks,
Rodrigo.

drm-xe-fixes-2026-04-08:
- Fix HW engine idleness unit conversion (Vinay)
The following changes since commit 591cd656a1bf5ea94a222af5ef2ee76df029c1d2:

  Linux 7.0-rc7 (2026-04-05 15:26:23 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-04-08

for you to fetch changes up to 7596459f3c93d8d45a1bf12d4d7526b50c15baa2:

  drm/xe: Fix bug in idledly unit conversion (2026-04-07 16:17:25 -0400)

----------------------------------------------------------------
- Fix HW engine idleness unit conversion (Vinay)

----------------------------------------------------------------
Vinay Belgaumkar (1):
      drm/xe: Fix bug in idledly unit conversion

 drivers/gpu/drm/xe/xe_hw_engine.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL] drm-xe-fixes
@ 2026-04-30 20:00 Rodrigo Vivi
  0 siblings, 0 replies; 6+ messages in thread
From: Rodrigo Vivi @ 2026-04-30 20:00 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Here goes our first drm-xe-fixes of this 7.1-rc cycle.

The unusual high number of patches is only because we have
missed the drm-xe-next-fixes cycle. Mostly due to some issues with
Matt's permissions to push on fixes branches. Fixed now.

Anyway, I'm also covering for him during this first week.

Thanks,
Rodrigo.

drm-xe-fixes-2026-04-30:
API Fixes:
 - Add missing pad and extensions check (Jonathan)
 - Reject unsafe PAT indices for CPU cached memory (Jia)

 Driver Fixes:
 - Drop registration of guc_submit_wedged_fini from xe_guc_submit_wedge (Brost)
 - Xe3p tuning and workaround fixes (Roper, Gustavo)
 - USE drm mm instead of drm SA for CCS read/write (Satya)
 - Fix leaks and null derefs (Shuicheng)
 - Fix Wa_18022495364 (Tvrtko)
The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

  Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-04-30

for you to fetch changes up to 662f9ddc8077792129440d05cbef2f944a07777a:

  drm/xe/uapi: Reject coh_none PAT index for CPU_ADDR_MIRROR (2026-04-29 12:51:21 -0400)

----------------------------------------------------------------
API Fixes:
 - Add missing pad and extensions check (Jonathan)
 - Reject unsafe PAT indices for CPU cached memory (Jia)

 Driver Fixes:
 - Drop registration of guc_submit_wedged_fini from xe_guc_submit_wedge (Brost)
 - Xe3p tuning and workaround fixes (Roper, Gustavo)
 - USE drm mm instead of drm SA for CCS read/write (Satya)
 - Fix leaks and null derefs (Shuicheng)
 - Fix Wa_18022495364 (Tvrtko)

----------------------------------------------------------------
Gustavo Sousa (1):
      drm/xe/xe3p_lpg: Add missing indirect ring state feature flag

Jia Yao (2):
      drm/xe/uapi: Reject coh_none PAT index for CPU cached memory in madvise
      drm/xe/uapi: Reject coh_none PAT index for CPU_ADDR_MIRROR

Jonathan Cavitt (1):
      drm/xe/vm: Add missing pad and extensions check

Matt Roper (4):
      drm/xe: Drop redundant rtp entries for Wa_14019988906 & Wa_14019877138
      drm/xe/tuning: Use proper register offset for GAMSTLB_CTRL
      drm/xe: Mark ROW_CHICKEN5 as a masked register
      drm/xe/debugfs: Correct printing of register whitelist ranges

Matthew Brost (1):
      drm/xe: Drop registration of guc_submit_wedged_fini from xe_guc_submit_wedge()

Satyanarayana K V P (2):
      drm/xe: Add memory pool with shadow support
      drm/xe/vf: Use drm mm instead of drm sa for CCS read/write

Shuicheng Lin (8):
      drm/xe: Fix potential NULL deref in xe_exec_queue_tlb_inval_last_fence_put_unlocked
      drm/xe/bo: Fix bo leak on unaligned size validation in xe_bo_init_locked()
      drm/xe/bo: Fix bo leak on GGTT flag validation in xe_bo_init_locked()
      drm/xe: Fix bo leak in xe_dma_buf_init_obj() on allocation failure
      drm/xe: Fix dma-buf attachment leak in xe_gem_prime_import()
      drm/xe: Fix error cleanup in xe_exec_queue_create_ioctl()
      drm/xe/eustall: Fix drm_dev_put called before stream disable in close
      drm/xe/gsc: Fix BO leak on error in query_compatibility_version()

Tvrtko Ursulin (1):
      drm/xe/xelp: Fix Wa_18022495364

 drivers/gpu/drm/xe/Makefile                |   1 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h       |   2 +-
 drivers/gpu/drm/xe/xe_bo.c                 |   8 +-
 drivers/gpu/drm/xe/xe_bo_types.h           |   3 +-
 drivers/gpu/drm/xe/xe_dma_buf.c            |  23 +-
 drivers/gpu/drm/xe/xe_eu_stall.c           |   4 +-
 drivers/gpu/drm/xe/xe_exec_queue.c         |   9 +-
 drivers/gpu/drm/xe/xe_gsc.c                |   2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c         |  33 +--
 drivers/gpu/drm/xe/xe_lrc.c                |   2 +-
 drivers/gpu/drm/xe/xe_mem_pool.c           | 403 +++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_mem_pool.h           |  35 +++
 drivers/gpu/drm/xe/xe_mem_pool_types.h     |  21 ++
 drivers/gpu/drm/xe/xe_migrate.c            |  56 ++--
 drivers/gpu/drm/xe/xe_pci.c                |   1 +
 drivers/gpu/drm/xe/xe_reg_whitelist.c      |   2 +-
 drivers/gpu/drm/xe/xe_sriov_vf_ccs.c       |  54 ++--
 drivers/gpu/drm/xe/xe_sriov_vf_ccs_types.h |   5 +-
 drivers/gpu/drm/xe/xe_tuning.c             |   2 +-
 drivers/gpu/drm/xe/xe_vm.c                 |   5 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c         |  47 ++++
 drivers/gpu/drm/xe/xe_wa.c                 |   8 -
 22 files changed, 621 insertions(+), 105 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_mem_pool.c
 create mode 100644 drivers/gpu/drm/xe/xe_mem_pool.h
 create mode 100644 drivers/gpu/drm/xe/xe_mem_pool_types.h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL] drm-xe-fixes
@ 2026-05-07  7:04 Matthew Brost
  0 siblings, 0 replies; 6+ messages in thread
From: Matthew Brost @ 2026-05-07  7:04 UTC (permalink / raw)
  To: Dave Airlie, Simona Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Matthew Brost, Thomas Hellström, Oded Gabbay, dri-devel,
	intel-gfx, intel-xe, dim-tools

Dave, Sima

Here is this weeks PR for for drm-xe-fixes. Nothing major, just a few
small fixes.

Matt

drm-xe-fixes-2026-05-07:
UAPI Changes:

Cross-subsystem Changes:

Core Changes:

Driver Changes:
- Add NULL check for media_gt in intel_hdcp_gsc_check_status (Gustavo)
- Fix EAGAIN sign in pf_migration_consume (Shuicheng)
- Fix MMIO access using PF view instead of VF view during migration (Shuicheng)
- Exclude indirect ring state page from ADS engine state size (Satya)
The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:

  Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b29987dfd943e655df6e3b641ecffad5cc1509c2:

  drm/xe/guc: Exclude indirect ring state page from ADS engine state size (2026-05-05 16:15:04 -0700)

----------------------------------------------------------------
UAPI Changes:

Cross-subsystem Changes:

Core Changes:

Driver Changes:
- Add NULL check for media_gt in intel_hdcp_gsc_check_status (Gustavo)
- Fix EAGAIN sign in pf_migration_consume (Shuicheng)
- Fix MMIO access using PF view instead of VF view during migration (Shuicheng)
- Exclude indirect ring state page from ADS engine state size (Satya)

----------------------------------------------------------------
Gustavo Sousa (1):
      drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()

Satyanarayana K V P (1):
      drm/xe/guc: Exclude indirect ring state page from ADS engine state size

Shuicheng Lin (2):
      drm/xe/pf: Fix EAGAIN sign in pf_migration_consume()
      drm/xe/pf: Fix MMIO access using PF view instead of VF view during migration

 drivers/gpu/drm/xe/display/xe_hdcp_gsc.c      | 12 ++++++++++--
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c |  8 ++++----
 drivers/gpu/drm/xe/xe_guc_ads.c               |  5 +----
 drivers/gpu/drm/xe/xe_lrc.c                   | 11 +++++++++--
 drivers/gpu/drm/xe/xe_lrc.h                   |  2 +-
 drivers/gpu/drm/xe/xe_sriov_pf_migration.c    |  7 ++++---
 6 files changed, 29 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-05-07  7:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07  7:04 [PULL] drm-xe-fixes Matthew Brost
  -- strict thread matches above, loose matches on Subject: below --
2026-04-30 20:00 Rodrigo Vivi
2026-04-08 20:01 Rodrigo Vivi
2026-04-02 12:50 Rodrigo Vivi
2026-03-26 12:03 Rodrigo Vivi
2026-03-19 21:00 Thomas Hellstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox