diff options
| author | Felix Kuehling <[email protected]> | 2021-04-07 18:19:58 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-20 21:45:45 -0400 |
| commit | b40a6ab2cf9213923bf8e821ce7fa7f6a0a26990 (patch) | |
| tree | d8462a33829f567a2b8eb777cc1f962459114a90 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
| parent | 7845d80dda1fd998a34bb1a15ff9aba260a58f32 (diff) | |
drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu needs the drm_priv to allow mmap
to access the BO through the corresponding file descriptor. The VM can
also be extracted from drm_priv, so drm_priv can replace the vm parameter
in the kfd2kgd interface.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions