diff options
| author | Philip Yang <[email protected]> | 2023-02-24 00:58:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:59:56 +0000 |
| commit | 934deb64fdf220d2caf978d22615bcc7c9f6897e (patch) | |
| tree | d90488fe638040be5024f9f4618e80dd3dbf8d2d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amdkfd: Store drm node minor number for kfd nodes (diff) | |
| download | kernel-934deb64fdf220d2caf978d22615bcc7c9f6897e.tar.gz kernel-934deb64fdf220d2caf978d22615bcc7c9f6897e.zip | |
drm/amdgpu: Add memory partition id to amdgpu_vm
If xcp_mgr is initialized, add mem_id to amdgpu_vm structure to store
memory partition number when creating amdgpu_vm for the xcp. The xcp
number is decided when opening the render device, for example
/dev/dri/renderD129 is xcp_id 0, /dev/dri/renderD130 is xcp_id 1.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
