mbox series

[PULL] drm-xe-fixes

Message ID Zr4KWF5nM1YvnT8H@intel.com (mailing list archive)
State New, archived
Headers show
Series [PULL] drm-xe-fixes | expand

Pull-request

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-08-15

Message

Rodrigo Vivi Aug. 15, 2024, 2:02 p.m. UTC
Hi Dave and Sima,

Here goes another round of drm-xe-fixes.

The amount of patches is higher for this round, but not
because we have more fixes merged this week, but because
of me and because a few fixes are depending on some
other prep/refactor patches, now merged.

1. As I had told you last week, there were some cases
not applying cleanly, and I noticed we need those and to
get those applied, some preparation patches were needed.

2. I had tagged a drm-xe-next-fixes before going on
vacation, but the sending part failed and I didn't noticed.
With that dim was not picking the fixes to drm-xe-fixes.
But now they are here in this round.
Kudos to Lucas who noticed these missing patches.

Sorry and Thanks,
Rodrigo.

drm-xe-fixes-2024-08-15:
- Validate user fence during creation (Brost)
- Fix use after free when client stats are captured (Umesh)
- SRIOV fixes (Michal)
- Runtime PM fixes (Brost)
The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba:

  Linux 6.11-rc3 (2024-08-11 14:27:14 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-08-15

for you to fetch changes up to f002702290fccbd473f5bb94e52f25c96917fff2:

  drm/xe: Hold a PM ref when GT TLB invalidations are inflight (2024-08-15 09:44:22 -0400)

----------------------------------------------------------------
- Validate user fence during creation (Brost)
- Fix use after free when client stats are captured (Umesh)
- SRIOV fixes (Michal)
- Runtime PM fixes (Brost)

----------------------------------------------------------------
Matthew Brost (5):
      drm/xe: Validate user fence during creation
      drm/xe: Build PM into GuC CT layer
      drm/xe: Add xe_gt_tlb_invalidation_fence_init helper
      drm/xe: Drop xe_gt_tlb_invalidation_wait
      drm/xe: Hold a PM ref when GT TLB invalidations are inflight

Michal Wajdeczko (2):
      drm/xe/vf: Fix register value lookup
      drm/xe/pf: Fix VF config validation on multi-GT platforms

Umesh Nerlige Ramappa (4):
      drm/xe: Move part of xe_file cleanup to a helper
      drm/xe: Add ref counting for xe_file
      drm/xe: Take a ref to xe file when user creates a VM
      drm/xe: Fix use after free when client stats are captured

 drivers/gpu/drm/xe/xe_device.c                    |  59 ++++++-
 drivers/gpu/drm/xe/xe_device.h                    |   3 +
 drivers/gpu/drm/xe/xe_device_types.h              |   3 +
 drivers/gpu/drm/xe/xe_drm_client.c                |   5 +-
 drivers/gpu/drm/xe/xe_exec_queue.c                |  10 +-
 drivers/gpu/drm/xe/xe_exec_queue_types.h          |   7 +-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c        |  11 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c               |   2 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c       | 201 ++++++++++++----------
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h       |  12 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h |   4 +
 drivers/gpu/drm/xe/xe_guc_ct.c                    |  10 +-
 drivers/gpu/drm/xe/xe_guc_submit.c                |   4 +
 drivers/gpu/drm/xe/xe_pt.c                        |  26 +--
 drivers/gpu/drm/xe/xe_sync.c                      |  12 +-
 drivers/gpu/drm/xe/xe_vm.c                        |  38 ++--
 16 files changed, 247 insertions(+), 160 deletions(-)