[PATCH 1/3] drm/amdkfd: Fix bug in accounting of queues

Alex Deucher alexdeucher at gmail.com
Thu Jan 29 07:55:06 PST 2015


On Thu, Jan 29, 2015 at 3:35 AM, Oded Gabbay <oded.gabbay at amd.com> wrote:
> Signed-off-by: Oded Gabbay <oded.gabbay at amd.com>

For the series:

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> index 0d8694f..0fd5927 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> @@ -822,7 +822,7 @@ static void destroy_kernel_queue_cpsch(struct device_queue_manager *dqm,
>          * Unconditionally decrement this counter, regardless of the queue's
>          * type.
>          */
> -       dqm->total_queue_count++;
> +       dqm->total_queue_count--;
>         pr_debug("Total of %d queues are accountable so far\n",
>                         dqm->total_queue_count);
>         mutex_unlock(&dqm->lock);
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list