summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2020-02-05 16:53:37 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-02-26 14:20:33 -0500
commitc7637c95abebc811d2479a5b924859025def544a (patch)
treedeeec3f9fdb6ce9db57ee1eabac16710212ac5f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
parent1e21647402f953a0f1098b4ecfff751734c6c9ee (diff)
drm/amdkfd: Delete unnecessary unmap queue package submissions
The previous way of using SDMA queue count to infer whether we should unmap SDMA engines has bugs. The reason it did not cause issues is because MEC firmware unmaps all queues (CP + SDMA) when a unmap package for compute engine is received. Becasue of that, only one unmap queue package is needed, instead of one unmap queue package for CP and each SDMA engine, which results in much simpler driver code. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c')
0 files changed, 0 insertions, 0 deletions