diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-10 21:52:14 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-11 00:10:51 +0300 |
commit | 8c12d121590ebe5a43bf9a0aedbbeb192f257846 (patch) | |
tree | fb0cbe3f1085206f9aeec75c6a44c5e1337fed2b /drivers/gpu/drm/i915/i915_gem.h | |
parent | c4d4c1c66be58e1e91a2eeada02c0cbdeb5fb350 (diff) | |
download | linux-8c12d121590ebe5a43bf9a0aedbbeb192f257846.tar.xz |
drm/i915: Move the irq_barrier for reset earlier into reset_prepare
When updating the bookkeeping following the reset, we need the seqno to
be coherent on the CPU prior to trusting its result for deciding whether
any request is completed. We need the irq_barrier before we start making
these decisions, i.e. in reset_prepare.
References: https://bugs.freedesktop.org/show_bug.cgi?id=99733
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170210185214.23463-1-chris@chris-wilson.co.uk
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.h')
0 files changed, 0 insertions, 0 deletions