diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-01-14 17:36:26 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-24 13:21:02 -0400 |
commit | e78579aab7c3e112b85bf92d76432b917c841b5b (patch) | |
tree | 62c5ee35270a0b9fe28851ab0093c3503017ba42 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 0803e7a9e850f9d6397c594d6c6deac9b2b6d696 (diff) |
drm/amdkfd: Move sdma_queue_id calculation into allocate_sdma_queue()
This avoids duplicated code.
Signed-off-by: Yong Zhao <Yong.Zhao@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/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions