Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Enable device atomics with a VM bind flag
@ 2024-04-10 17:03 Nirmoy Das
  2024-04-10 17:03 ` [PATCH 1/3] drm/xe: Consolidate setting PTE_AE into one place Nirmoy Das
                   ` (6 more replies)
  0 siblings, 7 replies; 27+ messages in thread
From: Nirmoy Das @ 2024-04-10 17:03 UTC (permalink / raw)
  To: intel-xe
  Cc: Nirmoy Das, Balasubramani Vivekanandan, Brian Welty, Fei Yang,
	Lionel G Landwerlin, Matt Roper, Matthew Brost, Michal Mrozek,
	Oak Zeng, Thomas Hellstr_m

Currently device atomics in SMEM only buffer is not supported and
given that simultaneous usage of device atomics and CPU atomics on
the same SMEM buffer is not guaranteed to function without migration,
and UMD expects no migration for SMEM-only buffer objects, so this
provide a way to set device atomics when UMD is certain to use the
buffer only for device atomics.

Test-with: 20240410170041.24963-1-nirmoy.das@intel.com
Cc: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Cc: Brian Welty <brian.welty@intel.com>
Cc: Fei Yang <fei.yang@intel.com>
Cc: Lionel G Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Mrozek <michal.mrozek@intel.com>
Cc: Oak Zeng <oak.zeng@intel.com>
Cc: Thomas Hellstr_m <thomas.hellstrom@linux.intel.com>

Nirmoy Das (3):
  drm/xe: Consolidate setting PTE_AE into one place
  drm/xe: Add function to check if BO has single placement
  drm/xe/uapi: Introduce VMA bind flag for device atomics

 drivers/gpu/drm/xe/xe_bo.c       | 14 ++++++++++++++
 drivers/gpu/drm/xe/xe_bo.h       |  1 +
 drivers/gpu/drm/xe/xe_pt.c       |  4 +---
 drivers/gpu/drm/xe/xe_vm.c       | 32 ++++++++++++++++++++++++++++----
 drivers/gpu/drm/xe/xe_vm_types.h |  2 ++
 include/uapi/drm/xe_drm.h        |  9 +++++----
 6 files changed, 51 insertions(+), 11 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2024-04-12 11:33 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 17:03 [PATCH 0/3] Enable device atomics with a VM bind flag Nirmoy Das
2024-04-10 17:03 ` [PATCH 1/3] drm/xe: Consolidate setting PTE_AE into one place Nirmoy Das
2024-04-11 23:22   ` Matt Roper
2024-04-12  9:34     ` Nirmoy Das
2024-04-12 11:33       ` Nirmoy Das
2024-04-10 17:03 ` [PATCH 2/3] drm/xe: Add function to check if BO has single placement Nirmoy Das
2024-04-10 17:03 ` [PATCH 3/3] drm/xe/uapi: Introduce VMA bind flag for device atomics Nirmoy Das
2024-04-10 17:35   ` Matthew Brost
2024-04-11  9:22     ` Nirmoy Das
2024-04-11 14:00     ` Nirmoy Das
2024-04-11 13:14   ` Lionel Landwerlin
2024-04-11 13:32     ` Lionel Landwerlin
2024-04-11 13:42     ` Nirmoy Das
2024-04-11 14:00       ` Lionel Landwerlin
2024-04-11 14:07         ` Souza, Jose
2024-04-11 14:32           ` Nirmoy Das
2024-04-11 14:40             ` Souza, Jose
2024-04-11 14:54               ` Nirmoy Das
2024-04-11 23:44   ` Matt Roper
2024-04-12  8:06     ` Nirmoy Das
2024-04-10 18:04 ` ✓ CI.Patch_applied: success for Enable device atomics with a VM bind flag Patchwork
2024-04-10 18:04 ` ✓ CI.checkpatch: " Patchwork
2024-04-10 18:04 ` ✗ CI.KUnit: failure " Patchwork
2024-04-11 16:22 ` [PATCH 0/3] " Zeng, Oak
2024-04-11 17:00   ` Nirmoy Das
2024-04-11 17:23     ` Zeng, Oak
2024-04-12  5:06       ` Mrozek, Michal

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