drm/amdkfd: DIQ should not use HIQ way to allocate memory
authorYong Zhao <Yong.Zhao@amd.com>
Sat, 9 Nov 2019 05:47:31 +0000 (00:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:27:11 +0000 (14:27 -0500)
commit7633c5e0bd190393362de46aea8ea34f8732a20e
treed6b9deb2fa747957264ac01f5f010c765237310d
parentd7c0b0477bf32f85ca43a1a306092deded50a0b7
drm/amdkfd: DIQ should not use HIQ way to allocate memory

In the mqd_diq_sdma buffer, there should be only one HIQ mqd. All DIQs
should be allocated somewhere else using the regular way.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c