diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-11-21 05:22:39 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-12-03 14:28:57 +0100 |
commit | 2fd04c81dc652689b104ab16eba26146dde5c43f (patch) | |
tree | ea0ff260aaa469e9d397b453d5fc909ce4129d9c /drivers | |
parent | drm/nouveau/kms: send timestamp data for correct head in flip completion events (diff) | |
download | linux-2fd04c81dc652689b104ab16eba26146dde5c43f.tar.xz linux-2fd04c81dc652689b104ab16eba26146dde5c43f.zip |
drm/nouveau: unreference fence after syncing
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-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; |