aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorAlex Sierra <[email protected]>2020-04-07 23:08:45 -0500
committerAlex Deucher <[email protected]>2021-04-20 21:46:07 -0400
commit2aeb742b72121c539cfc9cff8c00c5ca32ba4b1c (patch)
tree8ec05873165dff13b993b951f5ffff69f6777596 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentcccbeb6209bddee35539d9353de9fd775ce9bb55 (diff)
drm/amdkfd: helper to convert gpu id and idx
svm range uses gpu bitmap to store which GPU svm range maps to. Application pass driver gpu id to specify GPU, the helper is needed to convert gpu id to gpu bitmap idx. Access through kfd_process_device pointers array from kfd_process. Signed-off-by: Alex Sierra <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[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