> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Monk Liu
> Sent: Sunday, August 13, 2017 11:44 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Liu, Monk
> Subject: [PATCH] drm/ttm:fix missing inc bo_count
> 
> From: Monk Liu <monk....@amd.com>
> 
> Change-Id: I32ed928e59db5478e429189ac8b010e336e45a94
> Signe-off-by: Jack Xiao <jack.x...@amd.com>

Did these ever land?  I don't remember seeing them in the 4.12 branch.

Alex


> ---
>  drivers/gpu/drm/ttm/ttm_bo_util.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c
> b/drivers/gpu/drm/ttm/ttm_bo_util.c
> index d0459b3..c934ad5 100644
> --- a/drivers/gpu/drm/ttm/ttm_bo_util.c
> +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
> @@ -469,6 +469,7 @@ static int ttm_buffer_object_transfer(struct
> ttm_buffer_object *bo,
>        * TODO: Explicit member copy would probably be better here.
>        */
> 
> +     atomic_inc(&bo->glob->bo_count);
>       INIT_LIST_HEAD(&fbo->ddestroy);
>       INIT_LIST_HEAD(&fbo->lru);
>       INIT_LIST_HEAD(&fbo->swap);
> --
> 2.7.4
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to