diff options
| author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-04-07 18:19:58 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 14:15:07 +0200 |
| commit | 7faf003b58812c33e3b5315683e85d57b5ec4e3f (patch) | |
| tree | 4a8590a731e70df657950a1585bdf334f309283f /kernel | |
| parent | f08fb393786d64a97a48bd038e68aec310c31297 (diff) | |
| download | linux-7faf003b58812c33e3b5315683e85d57b5ec4e3f.tar.gz linux-7faf003b58812c33e3b5315683e85d57b5ec4e3f.tar.bz2 linux-7faf003b58812c33e3b5315683e85d57b5ec4e3f.zip | |
drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
commit b40a6ab2cf9213923bf8e821ce7fa7f6a0a26990 upstream.
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 <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
[ This is a partial cherry-pick of the commit. ]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
