diff options
| author | Chris Wilson <[email protected]> | 2017-10-23 21:32:35 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-10-24 14:47:05 +0000 |
| commit | ff320d6e72ff3600184a1c01ea75b689b4b8a16d (patch) | |
| tree | 2d2c02149d85ee1f29bf17fe960b5a203c4a7e5f /drivers/gpu/drm/i915/intel_ringbuffer.h | |
| parent | drm/i915: Bump wait-times for the final CS interrupt before parking (diff) | |
| download | kernel-ff320d6e72ff3600184a1c01ea75b689b4b8a16d.tar.gz kernel-ff320d6e72ff3600184a1c01ea75b689b4b8a16d.zip | |
drm/i915: Synchronize irq before parking each engine
When we park the engine (upon idling), we kill the irq tasklet. However,
to be sure that it is not restarted by a spurious interrupt after doing so,
flush the interrupt handler before parking. As we only park the engines
when we believe the system is idle, there should not be any interrupts to
distrub us; so flushing the final in-flight interrupt should be sufficient.
(However, we are still dependent on the HW behaving in an orderly and
timely fashion, which we shall endeavour to improve upon later.)
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions
