drm/amdkfd: don't always call execute_queues_cpsch()
authorYong Zhao <yong.zhao@amd.com>
Tue, 2 Jan 2018 18:10:50 +0000 (13:10 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 2 Jan 2018 18:10:50 +0000 (13:10 -0500)
commit40a526dc1edbe08000f49aeb6c7b01406d58a073
tree734e2d6bf664424bbcd03d27e5857748923a86b3
parent9e8272240bee42ebafa9d4994c1d65916a761f5d
drm/amdkfd: don't always call execute_queues_cpsch()

When destroying an inactive queue, we don't need to call
execute_queues_cpsch.

Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c