diff options
author | Chris Wilson <[email protected]> | 2013-08-06 19:01:14 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-08-18 19:37:41 +0200 |
commit | 884020bf3d2a3787a1cc6df902e98e0eec60330b (patch) | |
tree | dc65ac88ef7c7a15e1f773c0f5255178e392b4cd /lib/mpi/mpi-bit.c | |
parent | 63b66e5ba54b15a6592be00555d762db6db739ce (diff) |
drm/i915: Invalidate TLBs for the rings after a reset
After any "soft gfx reset" we must manually invalidate the TLBs
associated with each ring. Empirically, it seems that a
suspend/resume or D3-D0 cycle count as a "soft reset". The symptom is
that the hardware would fail to note the new address for its status
page, and so it would continue to write the shadow registers and
breadcrumbs into the old physical address (now used by something
completely different, scary). Whereas the driver would read the new
status page and never see any progress, it would appear that the GPU
hung immediately upon resume.
Based on a patch by naresh kumar kachhi <[email protected]>
Reported-by: Thiago Macieira <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64725
Signed-off-by: Chris Wilson <[email protected]>
Tested-by: Thiago Macieira <[email protected]>
Cc: [email protected]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions