diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-01 23:21:49 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-02 14:24:59 +0300 |
commit | 820c5bbbf418fba41149fdeb870d623e21be2463 (patch) | |
tree | 75084edd273e7c6fbb63c03dcb3e2d33e85052cc /drivers/gpu/drm/i915/intel_dp_link_training.c | |
parent | 7130630323c562597191653560963e61c5bd0f57 (diff) | |
download | linux-820c5bbbf418fba41149fdeb870d623e21be2463.tar.xz |
drm/i915: Flush the irq and tasklets before asserting engine is idle
Before we assert that the engine is idle, make sure we flush any
residual tasklet. After that point, if the engine is not idle, more work
may be queued despite us trying to park the engine and go to sleep.
References: https://bugs.freedesktop.org/show_bug.cgi?id=103479
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171101202149.32493-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_link_training.c')
0 files changed, 0 insertions, 0 deletions