diff options
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index a9151337d5b9..33d20be87db5 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c | |||
@@ -579,7 +579,7 @@ static int ttm_bo_cleanup_refs_and_unlock(struct ttm_buffer_object *bo, | |||
579 | * at this point the buffer should be dead, so | 579 | * at this point the buffer should be dead, so |
580 | * no new sync objects can be attached. | 580 | * no new sync objects can be attached. |
581 | */ | 581 | */ |
582 | sync_obj = driver->sync_obj_ref(&bo->sync_obj); | 582 | sync_obj = driver->sync_obj_ref(bo->sync_obj); |
583 | spin_unlock(&bdev->fence_lock); | 583 | spin_unlock(&bdev->fence_lock); |
584 | 584 | ||
585 | atomic_set(&bo->reserved, 0); | 585 | atomic_set(&bo->reserved, 0); |