drm/fence: release fence reference when canceling event
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 20 Oct 2016 14:50:03 +0000 (12:50 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 21 Oct 2016 13:35:07 +0000 (15:35 +0200)
commit838de39fc9516470b1410cc068c7f41daec69265
treeeb1e05e1fa211e724b5d699ec326b19d7842d429
parent7fb71c8f4f45afe73d307181be87c877447d0e47
drm/fence: release fence reference when canceling event

If the event gets canceled we also need to put away the fence
reference it holds.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1476975005-30441-3-git-send-email-gustavo@padovan.org
drivers/gpu/drm/drm_fops.c