]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Move sdma_queue_id calculation into allocate_sdma_queue()
authorYong Zhao <Yong.Zhao@amd.com>
Mon, 14 Jan 2019 22:36:26 +0000 (17:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:02 +0000 (12:21 -0500)
commit87ace07bc10996893fd992c25353454b2d738444
tree62c5ee35270a0b9fe28851ab0093c3503017ba42
parente24fef160db4a6603333895df58f94cc2c60a31b
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>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c