diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-16 19:33:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-16 20:20:32 +0100 |
commit | b8444cf85b629413ad23f5b6ed9bf5267f38acab (patch) | |
tree | 580035722bf4509321cd3428abebac08a29aa3f7 /drivers/gpu/drm/i915/i915_gem.h | |
parent | e7f2af7894b1ac76f2062f32724d51f23438249b (diff) | |
download | linux-stable-b8444cf85b629413ad23f5b6ed9bf5267f38acab.tar.gz linux-stable-b8444cf85b629413ad23f5b6ed9bf5267f38acab.tar.bz2 linux-stable-b8444cf85b629413ad23f5b6ed9bf5267f38acab.zip |
drm/i915: Remove tasklet flush before disable
The idea was to try and let the existing tasklet run to completion
before we began the reset, but it involves a racy check against anything
else that tries to run the tasklet. Rather than acknowledge and ignore
the race, let it be and don't try and be too clever.
The tasklet will resume execution after reset (after spinning a bit
during reset), but before we allow it to resume we will have cleared all
the pending state.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180516183355.10553-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.h')
0 files changed, 0 insertions, 0 deletions