intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PULL] drm-xe-fixes
@ 2024-04-25 20:50 Lucas De Marchi
  0 siblings, 0 replies; 11+ messages in thread
From: Lucas De Marchi @ 2024-04-25 20:50 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima

Please pull the drm-xe-fixes for this week targeting v6.9-rc6.
Simple fixes not really visible to end users: 2 around error paths on
drm managed allocations and 1 on PF/VF relay messages that are not
enabled by default.

thanks
Lucas De Marchi

drm-xe-fixes-2024-04-25:
- Fix error paths on managed allocations
- Fix PF/VF relay messages
The following changes since commit ed30a4a51bb196781c8058073ea720133a65596f:

   Linux 6.9-rc5 (2024-04-21 12:35:54 -0700)

are available in the Git repository at:

   https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-04-25

for you to fetch changes up to e3e989522ac9a6b7960c75b762e1e9568717b31e:

   drm/xe/guc: Fix arguments passed to relay G2H handlers (2024-04-24 10:20:00 -0500)

----------------------------------------------------------------
- Fix error paths on managed allocations
- Fix PF/VF relay messages

----------------------------------------------------------------
Himal Prasad Ghimiray (2):
       drm/xe: Remove sysfs only once on action add failure
       drm/xe: call free_gsc_pkt only once on action add failure

Michal Wajdeczko (1):
       drm/xe/guc: Fix arguments passed to relay G2H handlers

  drivers/gpu/drm/xe/xe_gt.c          |  4 +++-
  drivers/gpu/drm/xe/xe_gt_ccs_mode.c | 19 +++++++------------
  drivers/gpu/drm/xe/xe_gt_ccs_mode.h |  2 +-
  drivers/gpu/drm/xe/xe_guc_ct.c      |  4 ++--
  drivers/gpu/drm/xe/xe_huc.c         |  9 +--------
  5 files changed, 14 insertions(+), 24 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-05-02 16:37 Lucas De Marchi
  0 siblings, 0 replies; 11+ messages in thread
From: Lucas De Marchi @ 2024-05-02 16:37 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Please pull the drm-xe-fixes for this week targeting v6.9-rc7.

Two important fixes: one avoiding a use-after-free in the rebind worker
and the other to make display work in ADL-N.

thanks
Lucas De Marchi

drm-xe-fixes-2024-05-02:
- Fix UAF on rebind worker
- Fix ADL-N display integration
The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:

   Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)

are available in the Git repository at:

   https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-05-02

for you to fetch changes up to df04b152fca2d46e75fbb74ed79299bc420bc9e6:

   drm/xe/display: Fix ADL-N detection (2024-05-02 11:11:01 -0500)

----------------------------------------------------------------
- Fix UAF on rebind worker
- Fix ADL-N display integration

----------------------------------------------------------------
Lucas De Marchi (1):
       drm/xe/display: Fix ADL-N detection

Matthew Auld (1):
       drm/xe/vm: prevent UAF in rebind_work_func()

  drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 3 ++-
  drivers/gpu/drm/xe/xe_vm.c                        | 3 +++
  2 files changed, 5 insertions(+), 1 deletion(-)

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

* [PULL] drm-xe-fixes
@ 2024-04-18 15:47 Lucas De Marchi
  0 siblings, 0 replies; 11+ messages in thread
From: Lucas De Marchi @ 2024-04-18 15:47 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Please pull the drm-xe-fixes for this week targeting v6.9-rc5.

thanks
Lucas De Marchi

drm-xe-fixes-2024-04-18:
- Fix bo leak on error path during fb init
- Fix use-after-free due to order vm is put and destroyed
The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680:

   Linux 6.9-rc4 (2024-04-14 13:38:39 -0700)

are available in the Git repository at:

   https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-04-18

for you to fetch changes up to ca7c52ac7ad384bcf299d89482c45fec7cd00da9:

   drm/xe/vm: prevent UAF with asid based lookup (2024-04-17 08:03:13 -0500)

----------------------------------------------------------------
- Fix bo leak on error path during fb init
- Fix use-after-free due to order vm is put and destroyed

----------------------------------------------------------------
Maarten Lankhorst (1):
       drm/xe: Fix bo leak in intel_fb_bo_framebuffer_init

Matthew Auld (1):
       drm/xe/vm: prevent UAF with asid based lookup

  drivers/gpu/drm/xe/display/intel_fb_bo.c |  8 ++++++--
  drivers/gpu/drm/xe/xe_vm.c               | 21 +++++++++++----------
  2 files changed, 17 insertions(+), 12 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-04-11 17:34 Lucas De Marchi
  0 siblings, 0 replies; 11+ messages in thread
From: Lucas De Marchi @ 2024-04-11 17:34 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Please pull the drm-xe-fixes for this week targeting v6.9-rc4.

Just some trivial fixes, mostly from code analysis.  The last one
doesn't trigger any issue for now since the register is not used for
mmio. I decided to include it, because it would be a silent prereq of
any future commit making use of that register.

thanks
Lucas De Marchi

drm-xe-fixes-2024-04-11:
- Fix double display mutex initializations
- Fix u32 -> u64 implicit conversions
- Fix RING_CONTEXT_CONTROL not marked as masked
The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

   Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f76646c83f028c62853c23dac49204232e903597:

   drm/xe: Label RING_CONTEXT_CONTROL as masked (2024-04-11 08:41:54 -0500)

----------------------------------------------------------------
- Fix double display mutex initializations
- Fix u32 -> u64 implicit conversions
- Fix RING_CONTEXT_CONTROL not marked as masked

----------------------------------------------------------------
Ashutosh Dixit (1):
       drm/xe: Label RING_CONTEXT_CONTROL as masked

Himal Prasad Ghimiray (1):
       drm/xe/xe_migrate: Cast to output precision before multiplying operands

Karthik Poosa (1):
       drm/xe/hwmon: Cast result to output precision on left shift of operand

Lucas De Marchi (1):
       drm/xe/display: Fix double mutex initialization

  drivers/gpu/drm/xe/display/xe_display.c  | 5 -----
  drivers/gpu/drm/xe/regs/xe_engine_regs.h | 2 +-
  drivers/gpu/drm/xe/xe_hwmon.c            | 4 ++--
  drivers/gpu/drm/xe/xe_lrc.c              | 5 ++---
  drivers/gpu/drm/xe/xe_migrate.c          | 8 ++++----
  5 files changed, 9 insertions(+), 15 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-04-04 14:49 Lucas De Marchi
  0 siblings, 0 replies; 11+ messages in thread
From: Lucas De Marchi @ 2024-04-04 14:49 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave and Sima,

Please pull the drm-xe-fixes for this week targeting v6.9-rc3.

This is a little late in the week as I was waiting a critical fix to be
applied to get our CI back. This is mainly due to some stress tests
creating hundreds of exec queues and that not playing nice with the
workqueue changes introduced in v6.9. That shouldn't be the normal use
case but was causing CI to abort further tests.  Other changes include
fixes around rebinding and TLB invalidation.

thanks
Lucas De Marchi

drm-xe-fixes-2024-04-04:
- Stop using system_unbound_wq for preempt fences,
   as this can cause starvation when reaching more
   than max_active defined by workqueue
- Fix saving unordered rebinding fences by attaching
   them as kernel feces to the vm's resv
- Fix TLB invalidation fences completing out of order
- Move rebind TLB invalidation to the ring ops to reduce
   the latency
The following changes since commit 39cd87c4eb2b893354f3b850f916353f2658ae6f:

   Linux 6.9-rc2 (2024-03-31 14:32:39 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 77a011012d7d8b98368a763bf74317c6d5ce00f1:

   drm/xe: Use ordered wq for preempt fence waiting (2024-04-04 08:32:34 -0500)

----------------------------------------------------------------
- Stop using system_unbound_wq for preempt fences,
   as this can cause starvation when reaching more
   than max_active defined by workqueue
- Fix saving unordered rebinding fences by attaching
   them as kernel feces to the vm's resv
- Fix TLB invalidation fences completing out of order
- Move rebind TLB invalidation to the ring ops to reduce
   the latency

----------------------------------------------------------------
Matthew Brost (1):
       drm/xe: Use ordered wq for preempt fence waiting

Thomas Hellström (4):
       drm/xe: Use ring ops TLB invalidation for rebinds
       drm/xe: Rework rebinding
       drm/xe: Make TLB invalidation fences unordered
       drm/xe: Move vma rebinding to the drm_exec locking loop

  drivers/gpu/drm/xe/xe_device.c              |  11 ++-
  drivers/gpu/drm/xe/xe_device_types.h        |   3 +
  drivers/gpu/drm/xe/xe_exec.c                |  79 ++------------------
  drivers/gpu/drm/xe/xe_exec_queue_types.h    |   5 ++
  drivers/gpu/drm/xe/xe_gt_pagefault.c        |   3 +-
  drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c |   1 -
  drivers/gpu/drm/xe/xe_gt_types.h            |   7 --
  drivers/gpu/drm/xe/xe_preempt_fence.c       |   2 +-
  drivers/gpu/drm/xe/xe_pt.c                  |  25 +++++--
  drivers/gpu/drm/xe/xe_ring_ops.c            |  11 +--
  drivers/gpu/drm/xe/xe_sched_job.c           |  10 +++
  drivers/gpu/drm/xe/xe_sched_job_types.h     |   2 +
  drivers/gpu/drm/xe/xe_vm.c                  | 110 +++++++++++++++++-----------
  drivers/gpu/drm/xe/xe_vm.h                  |   8 +-
  drivers/gpu/drm/xe/xe_vm_types.h            |   8 +-
  15 files changed, 140 insertions(+), 145 deletions(-)

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

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

Hi Dave and Sima,

Please pull the drm-xe-fixes for this week targeting v6.9-rc2. 

drm-xe-fixes-2024-03-26:
- Fix build on mips
- Fix wrong bound checks
- Fix use of msec rather than jiffies
- Remove dead code
The following changes since commit 4cece764965020c22cff7665b18a012006359095:

   Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 0d8cf0c924732a045273c6aca6900a340ac88529:

   drm/xe: Fix END redefinition (2024-03-25 13:47:48 -0500)

----------------------------------------------------------------
- Fix build on mips
- Fix wrong bound checks
- Fix use of msec rather than jiffies
- Remove dead code

----------------------------------------------------------------
Lucas De Marchi (1):
       drm/xe: Fix END redefinition

Matthew Auld (5):
       drm/xe/guc_submit: use jiffies for job timeout
       drm/xe/queue: fix engine_class bounds check
       drm/xe/device: fix XE_MAX_GT_PER_TILE check
       drm/xe/device: fix XE_MAX_TILES_PER_DEVICE check
       drm/xe/query: fix gt_id bounds check

Nirmoy Das (1):
       drm/xe: Remove unused xe_bo->props struct

  drivers/gpu/drm/xe/xe_bo.c         | 59 ++++++--------------------------------
  drivers/gpu/drm/xe/xe_bo_types.h   | 19 ------------
  drivers/gpu/drm/xe/xe_device.h     |  4 +--
  drivers/gpu/drm/xe/xe_exec_queue.c |  2 +-
  drivers/gpu/drm/xe/xe_guc_submit.c |  2 +-
  drivers/gpu/drm/xe/xe_lrc.c        | 20 ++++++-------
  drivers/gpu/drm/xe/xe_query.c      |  2 +-
  7 files changed, 23 insertions(+), 85 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-03-07 10:48 Thomas Hellstrom
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Hellstrom @ 2024-03-07 10:48 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Hi Dave, Sima

A single error path fix for 6.8 final (-rc8).

Thanks,
Thomas

drm-xe-fixes-2024-03-07:
Driver Changes:
- An error path fix.

The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

  Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-03-07

for you to fetch changes up to a4e7596e209783a7be2727d6b947cbd863c2bbcb:

  drm/xe: Return immediately on tile_init failure (2024-03-07 09:13:38 +0100)

----------------------------------------------------------------
Driver Changes:
- An error path fix.

----------------------------------------------------------------
Rodrigo Vivi (1):
      drm/xe: Return immediately on tile_init failure

 drivers/gpu/drm/xe/xe_tile.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-02-29 13:07 Thomas Hellstrom
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Hellstrom @ 2024-02-29 13:07 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, intel-xe, dim-tools

Dave, Sima

The xe fixes for -rc7. It's mostly uapi sanitizing and future-proofing,
and a couple of driver fixes.

drm-xe-fixes-2024-02-29:
UAPI Changes:
- A couple of tracepoint updates from Priyanka and Lucas.
- Make sure BINDs are completed before accepting UNBINDs on LR vms.
- Don't arbitrarily restrict max number of batched binds.
- Add uapi for dumpable bos (agreed on IRC).
- Remove unused uapi flags and a leftover comment.

Driver Changes:
- A couple of fixes related to the execlist backend.
- A 32-bit fix.

/Thomas


The following changes since commit 6650d23f3e20ca00482a71a4ef900f0ea776fb15:

  drm/xe: Fix modpost warning on xe_mocs kunit module (2024-02-21 11:06:52 +0100)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-02-29

for you to fetch changes up to 8188cae3cc3d8018ec97ca9ab8caa3acc69a056d:

  drm/xe/xe_trace: Add move_lacks_source detail to xe_bo_move trace (2024-02-29 12:32:15 +0100)

----------------------------------------------------------------
UAPI Changes:
- A couple of tracepoint updates from Priyanka and Lucas.
- Make sure BINDs are completed before accepting UNBINDs on LR vms.
- Don't arbitrarily restrict max number of batched binds.
- Add uapi for dumpable bos (agreed on IRC).
- Remove unused uapi flags and a leftover comment.

Driver Changes:
- A couple of fixes related to the execlist backend.
- A 32-bit fix.
----------------------------------------------------------------
Arnd Bergmann (1):
      drm/xe/mmio: fix build warning for BAR resize on 32-bit

Francois Dugast (1):
      drm/xe/uapi: Remove unused flags

José Roberto de Souza (1):
      drm/xe/uapi: Remove DRM_XE_VM_BIND_FLAG_ASYNC comment left over

Lucas De Marchi (1):
      drm/xe: Use pointers in trace events

Maarten Lankhorst (1):
      drm/xe: Add uapi for dumpable bos

Matthew Brost (3):
      drm/xe: Fix execlist splat
      drm/xe: Don't support execlists in xe_gt_tlb_invalidation layer
      drm/xe: Use vmalloc for array of bind allocation in bind IOCTL

Mika Kuoppala (2):
      drm/xe: Expose user fence from xe_sync_entry
      drm/xe: Deny unbinds if uapi ufence pending

Paulo Zanoni (1):
      drm/xe: get rid of MAX_BINDS

Priyanka Dandamudi (2):
      drm/xe/xe_bo_move: Enhance xe_bo_move trace
      drm/xe/xe_trace: Add move_lacks_source detail to xe_bo_move trace

 drivers/gpu/drm/xe/xe_bo.c                  | 11 +++-
 drivers/gpu/drm/xe/xe_bo.h                  |  1 +
 drivers/gpu/drm/xe/xe_drm_client.c          | 12 +---
 drivers/gpu/drm/xe/xe_exec_queue.c          | 88 +----------------------------
 drivers/gpu/drm/xe/xe_exec_queue_types.h    | 10 ----
 drivers/gpu/drm/xe/xe_execlist.c            |  2 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 12 ++++
 drivers/gpu/drm/xe/xe_lrc.c                 | 10 +---
 drivers/gpu/drm/xe/xe_mmio.c                |  2 +-
 drivers/gpu/drm/xe/xe_sync.c                | 58 +++++++++++++++----
 drivers/gpu/drm/xe/xe_sync.h                |  4 ++
 drivers/gpu/drm/xe/xe_sync_types.h          |  2 +-
 drivers/gpu/drm/xe/xe_trace.h               | 59 +++++++++++++------
 drivers/gpu/drm/xe/xe_vm.c                  | 80 ++++++++++++++++++--------
 drivers/gpu/drm/xe/xe_vm_types.h            | 11 ++--
 include/uapi/drm/xe_drm.h                   | 21 +------
 16 files changed, 187 insertions(+), 196 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-02-22 11:12 Thomas Hellstrom
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Hellstrom @ 2024-02-22 11:12 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, dim-tools, intel-xe

Hi, Dave Sima

The Xe pull request for 6.8-rc6
The uAPI fixes / adjustments we've been discussing
are starting to appear, and I will hopefully have the rest
for next week's PR. In addition two driver fixes.

drm-xe-fixes-2024-02-22:
UAPI Changes:
- Remove support for persistent exec_queues
- Drop a reduntant sysfs newline printout

Cross-subsystem Changes:

Core Changes:

Driver Changes:
- A three-patch fix for a VM_BIND rebind optimization path
- Fix a modpost warning on an xe KUNIT module

/Thomas

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

  Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-02-22

for you to fetch changes up to 6650d23f3e20ca00482a71a4ef900f0ea776fb15:

  drm/xe: Fix modpost warning on xe_mocs kunit module (2024-02-21 11:06:52 +0100)

----------------------------------------------------------------
UAPI Changes:
- Remove support for persistent exec_queues
- Drop a reduntant sysfs newline printout

Cross-subsystem Changes:

Core Changes:

Driver Changes:
- A three-patch fix for a VM_BIND rebind optimization path
- Fix a modpost warning on an xe KUNIT module

----------------------------------------------------------------
Ashutosh Dixit (2):
      drm/xe/xe_gt_idle: Drop redundant newline in name
      drm/xe: Fix modpost warning on xe_mocs kunit module

Matthew Brost (3):
      drm/xe: Fix xe_vma_set_pte_size
      drm/xe: Add XE_VMA_PTE_64K VMA flag
      drm/xe: Return 2MB page size for compact 64k PTEs

Thomas Hellström (1):
      drm/xe/uapi: Remove support for persistent exec_queues

 drivers/gpu/drm/xe/tests/xe_mocs_test.c  |  1 +
 drivers/gpu/drm/xe/xe_device.c           | 39 --------------------------------
 drivers/gpu/drm/xe/xe_device.h           |  4 ----
 drivers/gpu/drm/xe/xe_device_types.h     |  8 -------
 drivers/gpu/drm/xe/xe_exec_queue.c       | 33 ++++-----------------------
 drivers/gpu/drm/xe/xe_exec_queue_types.h | 10 --------
 drivers/gpu/drm/xe/xe_execlist.c         |  2 --
 drivers/gpu/drm/xe/xe_gt_idle.c          |  4 ++--
 drivers/gpu/drm/xe/xe_guc_submit.c       |  2 --
 drivers/gpu/drm/xe/xe_pt.c               | 11 ++++++---
 drivers/gpu/drm/xe/xe_vm.c               | 14 ++++++++----
 drivers/gpu/drm/xe/xe_vm_types.h         |  2 ++
 include/uapi/drm/xe_drm.h                |  1 -
 13 files changed, 28 insertions(+), 103 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-02-15 12:43 Thomas Hellstrom
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Hellstrom @ 2024-02-15 12:43 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, dim-tools, intel-xe

Hi Dave, Sima!

The xe fixes pull request for -rc5.
drm-xe-fixes-2024-02-15:
Driver Changes:
- Fix an out-of-bounds shift.
- Fix the display code thinking xe uses shmem
- Fix a warning about index out-of-bound
- Fix a clang-16 compilation warning

Thanks,
Thomas

The following changes since commit bf4c27b8267d7848bb81fd41e6aa07aa662f07fb:

  drm/xe: Remove TEST_VM_ASYNC_OPS_ERROR (2024-02-08 09:51:19 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 455dae7549aed709707feda5d6b3e085b37d33f7:

  drm/xe: avoid function cast warnings (2024-02-15 09:53:38 +0100)

----------------------------------------------------------------
Driver Changes:
- Fix an out-of-bounds shift.
- Fix the display code thinking xe uses shmem
- Fix a warning about index out-of-bound
- Fix a clang-16 compilation warning

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/xe: avoid function cast warnings

Matthew Auld (1):
      drm/xe/display: fix i915_gem_object_is_shmem() wrapper

Thomas Hellström (2):
      drm/xe/vm: Avoid reserving zero fences
      drm/xe/pt: Allow for stricter type- and range checking

 .../xe/compat-i915-headers/gem/i915_gem_object.h   |  2 +-
 drivers/gpu/drm/xe/xe_pt.c                         | 39 ++++++++++++++--------
 drivers/gpu/drm/xe/xe_pt_walk.c                    |  2 +-
 drivers/gpu/drm/xe/xe_pt_walk.h                    | 19 ++---------
 drivers/gpu/drm/xe/xe_range_fence.c                |  7 +++-
 drivers/gpu/drm/xe/xe_vm.c                         | 13 ++++++--
 6 files changed, 46 insertions(+), 36 deletions(-)

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

* [PULL] drm-xe-fixes
@ 2024-02-08 11:08 Thomas Hellstrom
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Hellstrom @ 2024-02-08 11:08 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Tvrtko Ursulin, Rodrigo Vivi,
	Thomas Zimmermann, Maarten Lankhorst, Maxime Ripard,
	Thomas Hellström, Oded Gabbay, Lucas De Marchi, dri-devel,
	intel-gfx, dim-tools, intel-xe

Dave, Sima

The drm-xe-fixes pull for -rc4.

Thanks,
Thomas

drm-xe-fixes-2024-02-08:
Driver Changes:
- Fix a loop in an error path
- Fix a missing dma-fence reference
- Fix a retry path on userptr REMAP
- Workaround for a false gcc warning
- Fix missing map of the usm batch buffer
  in the migrate vm.
- Fix a memory leak.
- Fix a bad assumption of used page size
- Fix hitting a BUG() due to zero pages to map.
- Remove some leftover async bind queue relics
The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

  Linux 6.8-rc3 (2024-02-04 12:20:36 +0000)

are available in the Git repository at:

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

for you to fetch changes up to bf4c27b8267d7848bb81fd41e6aa07aa662f07fb:

  drm/xe: Remove TEST_VM_ASYNC_OPS_ERROR (2024-02-08 09:51:19 +0100)

----------------------------------------------------------------
Driver Changes:
- Fix a loop in an error path
- Fix a missing dma-fence reference
- Fix a retry path on userptr REMAP
- Workaround for a false gcc warning
- Fix missing map of the usm batch buffer
  in the migrate vm.
- Fix a memory leak.
- Fix a bad assumption of used page size
- Fix hitting a BUG() due to zero pages to map.
- Remove some leftover async bind queue relics

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/xe: circumvent bogus stringop-overflow warning

Matthew Auld (1):
      drm/xe/vm: don't ignore error when in_kthread

Matthew Brost (6):
      drm/xe: Fix loop in vm_bind_ioctl_ops_unwind
      drm/xe: Take a reference in xe_exec_queue_last_fence_get()
      drm/xe: Pick correct userptr VMA to repin on REMAP op failure
      drm/xe: Map both mem.kernel_bb_pool and usm.bb_pool
      drm/xe: Assume large page size if VMA not yet bound
      drm/xe: Remove TEST_VM_ASYNC_OPS_ERROR

Xiaoming Wang (1):
      drm/xe/display: Fix memleak in display initialization

 drivers/gpu/drm/xe/xe_display.c      |  6 ----
 drivers/gpu/drm/xe/xe_exec_queue.c   |  8 +++--
 drivers/gpu/drm/xe/xe_gt.c           |  5 ++-
 drivers/gpu/drm/xe/xe_gt_pagefault.c |  2 +-
 drivers/gpu/drm/xe/xe_migrate.c      | 28 ++++++++++++----
 drivers/gpu/drm/xe/xe_sched_job.c    |  1 -
 drivers/gpu/drm/xe/xe_sync.c         |  2 --
 drivers/gpu/drm/xe/xe_vm.c           | 62 ++++++++++++++----------------------
 drivers/gpu/drm/xe/xe_vm_types.h     |  8 -----
 9 files changed, 57 insertions(+), 65 deletions(-)

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

end of thread, other threads:[~2024-05-02 16:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 20:50 [PULL] drm-xe-fixes Lucas De Marchi
  -- strict thread matches above, loose matches on Subject: below --
2024-05-02 16:37 Lucas De Marchi
2024-04-18 15:47 Lucas De Marchi
2024-04-11 17:34 Lucas De Marchi
2024-04-04 14:49 Lucas De Marchi
2024-03-26 17:10 Lucas De Marchi
2024-03-07 10:48 Thomas Hellstrom
2024-02-29 13:07 Thomas Hellstrom
2024-02-22 11:12 Thomas Hellstrom
2024-02-15 12:43 Thomas Hellstrom
2024-02-08 11:08 Thomas Hellstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).