diff options
| author | Piotr Piórkowski <piotr.piorkowski@intel.com> | 2025-08-11 12:43:58 +0200 |
|---|---|---|
| committer | Michał Winiarski <michal.winiarski@intel.com> | 2025-08-12 13:03:36 +0200 |
| commit | 30e0c3f43a414616e0b6ca76cf7f7b2cd387e1d4 (patch) | |
| tree | 958982ebd3b1128850e221393c46f16c4fabcefb /rust/helpers/xarray.c | |
| parent | 9337166fa1d80f7bb7c7d3a8f901f21c348c0f2a (diff) | |
drm/xe: Move ASID allocation and user PT BO tracking into xe_vm_create
Currently, ASID assignment for user VMs and page-table BO accounting for
client memory tracking are performed in xe_vm_create_ioctl.
To consolidate VM object initialization, move this logic to
xe_vm_create.
v2:
- removed unnecessary duplicate BO tracking code
- using the local variable xef to verify whether the VM is being created
by userspace
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250811104358.2064150-3-piotr.piorkowski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
