Am 27.04.2017 um 16:10 schrieb Julien Isorce: > Encountered a dozen of exact same backtraces when mesa's > pb_cache_release_all_buffers is called after that a gpu reset failed. > > v2: Remove superfluous error message added in v1. > > bug: https://bugs.freedesktop.org/show_bug.cgi?id=96271 > > Signed-off-by: Julien Isorce <jisorce at oblong.com> Reviewed-by: Christian König <christian.koenig at amd.com> > --- > drivers/gpu/drm/radeon/radeon_object.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c > index bec2ec0..8b72229 100644 > --- a/drivers/gpu/drm/radeon/radeon_object.c > +++ b/drivers/gpu/drm/radeon/radeon_object.c > @@ -81,7 +81,7 @@ static void radeon_ttm_bo_destroy(struct ttm_buffer_object *tbo) > list_del_init(&bo->list); > mutex_unlock(&bo->rdev->gem.mutex); > radeon_bo_clear_surface_reg(bo); > - WARN_ON(!list_empty(&bo->va)); > + WARN_ON_ONCE(!list_empty(&bo->va)); > drm_gem_object_release(&bo->gem_base); > kfree(bo); > }