summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2021-04-07 18:19:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-20 21:45:45 -0400
commitb40a6ab2cf9213923bf8e821ce7fa7f6a0a26990 (patch)
treed8462a33829f567a2b8eb777cc1f962459114a90 /tools/perf/scripts/python
parent7845d80dda1fd998a34bb1a15ff9aba260a58f32 (diff)
downloadlinux-b40a6ab2cf9213923bf8e821ce7fa7f6a0a26990.tar.gz
linux-b40a6ab2cf9213923bf8e821ce7fa7f6a0a26990.zip
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 <Felix.Kuehling@amd.com> Reviewed-by: Philip Yang <philip.yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions