summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-07-18 11:31:18 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-19 08:31:49 +0200
commitbf0901731ddf68e8c6d52d7fc0841fe3d4f66847 (patch)
tree418b7305193076fcfc9812e11844e8d9f40f422c /drivers/gpu/drm/sun4i
parentdma-buf: Release module reference on creation failure (diff)
downloadlinux-bf0901731ddf68e8c6d52d7fc0841fe3d4f66847.tar.xz
linux-bf0901731ddf68e8c6d52d7fc0841fe3d4f66847.zip
drm/vgem: Remember to offset relative timeouts to mod_timer() by jiffies
mod_timer() takes an absolute jiffie value, not a relative timeout and quietly fixup the missed ret=0 otherwise gcc just always returns that the fence timed out. Testcase: igt/vgem_basic/fence Fixes: 407779848445 ("drm/vgem: Attach sw fences to exported vGEM dma-buf") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1468834278-26716-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/sun4i')
0 files changed, 0 insertions, 0 deletions