diff options
author | Chris Wilson <[email protected]> | 2016-10-04 21:11:26 +0100 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-10-10 16:06:42 +0300 |
commit | c79d7303e1ddc8260b0f385212b26cad297ff890 (patch) | |
tree | b1b2afb65d9aa3f008e79fdddb43c0aa8700ada5 /net/unix/sysctl_net_unix.c | |
parent | 27399eeec28ff33a0c5216a80cf57cbc6ba3c15e (diff) |
drm/i915/execlists: Reinitialise context image after GPU hang
On Braswell, at least, we observe that the context image is written in
multiple phases. The first phase is to clear the register state, and
subsequently rewrite it. A GPU reset at the right moment can interrupt
the context update leaving it corrupt, and our update of the RING_HEAD
is not sufficient to restart the engine afterwards. To recover, we need
to reset the registers back to their original values. The context state
is lost. What we need is a better mechanism to serialise the reset with
pending flushes from the GPU.
Fixes: 821ed7df6e2a ("drm/i915: Update reset path to fix incomplete requests")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit a3aabe86a3406b9946a4f7707762a833a58dfe9c)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions