[PATCH 0/2] drm/xe: support VM sharing between apps
Moti Haimovski
mhaimovski at habana.ai
Tue Feb 6 14:18:18 UTC 2024
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
More information about the Intel-xe
mailing list