aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2015-11-26 13:31:42 +0000
committerJani Nikula <[email protected]>2015-12-01 08:48:58 +0000
commitbb6d19846d1cee7cc977ce3aa736ec60d7163d3a (patch)
tree7df1d1b139f3f19eb35aeb02190539654bb7df81 /drivers/fpga/fpga-mgr.c
parentdrm/i915: Don't override output type for DDI HDMI (diff)
downloadkernel-bb6d19846d1cee7cc977ce3aa736ec60d7163d3a.tar.gz
kernel-bb6d19846d1cee7cc977ce3aa736ec60d7163d3a.zip
drm/i915: Check the timeout passed to i915_wait_request
We have relied upon the sole caller (wait_ioctl) validating the timeout argument. However, when waiting for multiple requests I forgot to ensure that the timeout was still positive on the later requests. This is more simply done inside __i915_wait_request. Fixes regression introduced in commit b47161858ba13c9c7e03333132230d66e008dd55 Author: Chris Wilson <[email protected]> Date: Mon Apr 27 13:41:17 2015 +0100 drm/i915: Implement inter-engine read-read optimisations The impact of the regression is 1 jiffie for each extra active ring for a wait_ioctl with a timeout -- I don't think anyone has noticed. Signed-off-by: Chris Wilson <[email protected]> Cc: Lionel Landwerlin <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions