diff options
author | Alex Sierra <alex.sierra@amd.com> | 2020-04-07 23:08:45 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-20 21:46:07 -0400 |
commit | 2aeb742b72121c539cfc9cff8c00c5ca32ba4b1c (patch) | |
tree | 8ec05873165dff13b993b951f5ffff69f6777596 /drivers/gpu/drm/tilcdc/tilcdc_plane.c | |
parent | cccbeb6209bddee35539d9353de9fd775ce9bb55 (diff) | |
download | linux-2aeb742b72121c539cfc9cff8c00c5ca32ba4b1c.tar.bz2 |
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 <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_plane.c')
0 files changed, 0 insertions, 0 deletions