commit | e78579aab7c3e112b85bf92d76432b917c841b5b | [log] [tgz] |
---|---|---|
author | Yong Zhao <Yong.Zhao@amd.com> | Mon Jan 14 17:36:26 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri May 24 12:21:02 2019 -0500 |
tree | 62c5ee35270a0b9fe28851ab0093c3503017ba42 | |
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>