]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Allocate hiq and sdma mqd from mqd trunk
authorOak Zeng <ozeng@amd.com>
Wed, 28 Nov 2018 05:50:12 +0000 (23:50 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:02 +0000 (12:21 -0500)
commit79d9f4f2ca750429f66a1f843dd65766af3124cd
treee324f99cfcd7832393b676b2d60cac432a8f57af
parent3af11cb27d4ff081fdc0a2b4183b17494ddaa310
drm/amdkfd: Allocate hiq and sdma mqd from mqd trunk

Instead of allocat hiq and sdma mqd from sub-allocator, allocate
them from a mqd trunk pool. This is done for all asics

Signed-off-by: Oak Zeng <ozeng@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_mqd_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c