diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-25 01:08:54 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-25 14:13:03 +0300 |
| commit | b1f9107e1b251b2cbd413062fad3636570d2ea20 (patch) | |
| tree | 08203f9bd6f8a81764dd1af9e334d65a87be5427 /include | |
| parent | 753bdbd001dca74f9f4528d7be415801f043748a (diff) | |
| download | linux-b1f9107e1b251b2cbd413062fad3636570d2ea20.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
