diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-11-21 14:22:39 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-12-03 23:28:57 +1000 |
commit | 2fd04c81dc652689b104ab16eba26146dde5c43f (patch) | |
tree | ea0ff260aaa469e9d397b453d5fc909ce4129d9c /drivers/gpu | |
parent | f074d733866628973eca0ddb0c534ef4561da9e0 (diff) |
drm/nouveau: unreference fence after syncing
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index acec7746cafd..29c3efdfc7dd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -608,6 +608,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, fence = nouveau_fence_ref(new_bo->bo.sync_obj); spin_unlock(&new_bo->bo.bdev->fence_lock); ret = nouveau_fence_sync(fence, chan); + nouveau_fence_unref(&fence); if (ret) return ret; |