diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-24 23:08:54 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-25 12:13:03 +0100 |
commit | b1f9107e1b251b2cbd413062fad3636570d2ea20 (patch) | |
tree | 08203f9bd6f8a81764dd1af9e334d65a87be5427 /drivers/gpu/drm/i915/i915_gem_context.c | |
parent | 753bdbd001dca74f9f4528d7be415801f043748a (diff) | |
download | talos-obmc-linux-b1f9107e1b251b2cbd413062fad3636570d2ea20.tar.gz talos-obmc-linux-b1f9107e1b251b2cbd413062fad3636570d2ea20.zip |
drm/i915/selftests: Don't try to queue a request with zero delay
Instead of trying to create a timer with zero delay (i.e. with expires
set to the current jiffies and not the future, an already expired
timer), execute that request immediately.
v2: Refactor list_del_init+signal into its own little function.
v3: Reorder testing so as not to immediately signal a delayed request.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171024220855.30155-1-chris@chris-wilson.co.uk
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_context.c')
0 files changed, 0 insertions, 0 deletions