commit | b6819cec29cc0088e7398db9ed8377ab8328e012 | [log] [tgz] |
---|---|---|
author | Jay Cornwall <jay.cornwall@amd.com> | Mon Jan 19 16:08:14 2015 -0600 |
committer | Oded Gabbay <oded.gabbay@amd.com> | Mon Jan 19 16:08:14 2015 -0600 |
tree | 122d2c75ab114635b5d236cad3621d105e8eeeef | |
parent | e4bf44b3b558742fb7c58b4d34e206c8942f07e6 [diff] |
drm/amdkfd: Fix dqm->queue_count tracking dqm->queue_count tracks queues in the active state only. In a few places this count is modified unconditionally, leading to an incorrect value when the UPDATE_QUEUE ioctl is used to make a queue inactive. Signed-off-by: Jay Cornwall <jay.cornwall@amd.com> Reviewed-by: Ben Goz <ben.goz@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>