Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: support VM sharing between apps
@ 2024-02-06 14:18 Moti Haimovski
  2024-02-06 14:18 ` [PATCH 1/2] drm/xe: add ref count to xe_file Moti Haimovski
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Moti Haimovski @ 2024-02-06 14:18 UTC (permalink / raw)
  To: intel-xe; +Cc: mhaimovski, lucas.demarchi, matthew.brost

This first patch set introduces support for sharing a VM (or context) between
applications that use different resources on the same Xe device.

The first patch adds a refcount to the VM in order support managing it by
multiple users/apps.

The second patch exports the VM as a FD in order to allow other apps to use it.

Follow-up series will include the driver code to provide full functionality for
this feature.

Bharat Jauhari (1):
  drm/xe: support to export VM as fd

Moti Haimovski (1):
  drm/xe: add ref count to xe_file

 drivers/gpu/drm/xe/xe_device.c       |  52 ++++++++++--
 drivers/gpu/drm/xe/xe_device.h       |   6 ++
 drivers/gpu/drm/xe/xe_device_types.h |   3 +
 drivers/gpu/drm/xe/xe_vm.c           | 121 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_vm.h           |   2 +
 drivers/gpu/drm/xe/xe_vm_types.h     |  28 +++++++
 include/uapi/drm/xe_drm.h            |  27 ++++++
 7 files changed, 232 insertions(+), 7 deletions(-)

-- 
2.34.1


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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 14:18 [PATCH 0/2] drm/xe: support VM sharing between apps Moti Haimovski
2024-02-06 14:18 ` [PATCH 1/2] drm/xe: add ref count to xe_file Moti Haimovski
2024-02-06 14:18 ` [PATCH 2/2] drm/xe: support to export VM as fd Moti Haimovski
2024-02-07  3:51   ` Zeng, Oak
2024-02-06 15:06 ` ✓ CI.Patch_applied: success for drm/xe: support VM sharing between apps Patchwork
2024-02-06 15:06 ` ✗ CI.checkpatch: warning " Patchwork
2024-02-06 15:07 ` ✓ CI.KUnit: success " Patchwork
2024-02-06 15:15 ` ✓ CI.Build: " Patchwork
2024-02-06 15:15 ` ✓ CI.Hooks: " Patchwork
2024-02-06 15:16 ` ✓ CI.checksparse: " Patchwork
2024-02-06 15:53 ` ✓ CI.BAT: " Patchwork
2024-02-07 10:21 ` [PATCH 0/2] " Thomas Hellström
2024-02-12 11:31   ` Moti Haimovski

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