]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Allocate MQD trunk for HIQ and SDMA
authorOak Zeng <ozeng@amd.com>
Wed, 28 Nov 2018 03:58:54 +0000 (21:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:02 +0000 (12:21 -0500)
commit0e812ef4c8afaf96c1118dd18a3b141b376f9b0c
treeb1a1666f5be73d0736eb1392986f35e2235cc6dc
parent10aa3a31c78a8c16b0b19bc8f9bbdd0dbc6d86c7
drm/amdkfd: Allocate MQD trunk for HIQ and SDMA

MEC FW for some new asic requires all SDMA MQDs to be in a continuous
trunk of memory right after HIQ MQD. Add a field in device queue manager
to hold the HIQ/SDMA MQD memory object and allocate MQD trunk on device
queue manager initialization.

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_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h