[PULL] drm-xe-fixes

Lucas De Marchi
2024-11-08T15:28:37Z

Hi Dave and Simona,

drm-xe-fixes for 6.12-rc7. Still busier than I'd like for an rc7, but
needed particularly for LNL.

thanks,
Lucas De Marchi

drm-xe-fixes-2024-11-08:
Driver Changes:
- Fix ccs_mode setting for Xe2 and later (Balasubramani)
- Synchronize ccs_mode setting with client creation (Balasubramani)
- Apply scheduling WA for LNL in additional places as needed
(Nirmoy)
- Fix leak and lock handling in error paths of xe_exec ioctl
(Matthew Brost)
- Fix GGTT allocation leak leading to eventual crash in SR-IOV
(Michal Wajdeczko)
- Move run_ticks update out of job handling to avoid synchronization
with reader (Lucas)
The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230:

Linux 6.12-rc6 (2024-11-03 14:05:52 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 514447a1219021298329ce586536598c3b4b2dc0:

drm/xe: Stop accumulating LRC timestamp on job_free (2024-11-05 15:40:13 -0800)

----------------------------------------------------------------
Driver Changes:
- Fix ccs_mode setting for Xe2 and later (Balasubramani)
- Synchronize ccs_mode setting with client creation (Balasubramani)
- Apply scheduling WA for LNL in additional places as needed
(Nirmoy)
- Fix leak and lock handling in error paths of xe_exec ioctl
(Matthew Brost)
- Fix GGTT allocation leak leading to eventual crash in SR-IOV
(Michal Wajdeczko)
- Move run_ticks update out of job handling to avoid synchronization
with reader (Lucas)

----------------------------------------------------------------
Balasubramani Vivekanandan (2):
drm/xe: Set mask bits for CCS_MODE register
drm/xe: Use the filelist from drm for ccs_mode change

Lucas De Marchi (1):
drm/xe: Stop accumulating LRC timestamp on job_free

Matthew Brost (2):
drm/xe: Fix possible exec queue leak in exec IOCTL
drm/xe: Drop VM dma-resv lock on xe_sync_in_fence_get failure in exec IOCTL

Michal Wajdeczko (1):
drm/xe/pf: Fix potential GGTT allocation leak

Nirmoy Das (3):
drm/xe: Move LNL scheduling WA to xe_device.h
drm/xe/ufence: Flush xe ordered_wq in case of ufence timeout
drm/xe/guc/tlb: Flush g2h worker in case of tlb timeout

drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 +-
drivers/gpu/drm/xe/xe_device.c | 10 ----------
drivers/gpu/drm/xe/xe_device.h | 14 ++++++++++++++
drivers/gpu/drm/xe/xe_device_types.h | 9 ---------
drivers/gpu/drm/xe/xe_exec.c | 13 +++++++++----
drivers/gpu/drm/xe/xe_exec_queue.c | 6 ++++++
drivers/gpu/drm/xe/xe_gt_ccs_mode.c | 15 +++++++++++----
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 4 +++-
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 2 ++
drivers/gpu/drm/xe/xe_guc_ct.c | 11 +----------
drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
drivers/gpu/drm/xe/xe_wait_user_fence.c | 7 +++++++
12 files changed, 54 insertions(+), 41 deletions(-)