]> git.baikalelectronics.ru Git - kernel.git/commit
amdkfd: Fix accounting of device queues
authorOded Gabbay <oded.gabbay@amd.com>
Sun, 7 Dec 2014 20:27:24 +0000 (22:27 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 7 Dec 2014 20:27:24 +0000 (22:27 +0200)
commit3ce5c40951ffce1960cdb6c95fb639b66c7f2317
treea9d299920bba937a3d288a88209720205b0775b7
parent0af4fb9a18d9b75e32eaca994d8256a288d43a7f
amdkfd: Fix accounting of device queues

This patch fixes a device QCM bug, where the number of queues were not
counted correctly for the operation of update queue. The count was incorrect
as there was no regard to the previous state of the queue.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c