[Intel-gfx] [PATCH 3/3] [RFC] drm/i915: add interface to simulate gpu hangs
eugeni at dodonov.net
Thu Nov 3 08:56:11 PDT 2011
On Wed, Nov 2, 2011 at 09:46, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> GPU reset is a very important piece of our infrastructure.
> Unfortunately we only really test it by actually hanging the gpu,
> which often has bad side-effects for the entire system. And the gpu
> hang handling code is one of the rather complicated pieces of code we
> have, consisting of
> - hang detection
> - error capture
> - actual gpu reset
> - reset of all the gem bookkeeping
> - reinitialition of the entire gpu
> This patch adds a debugfs to selectively stopping rings by ceasing to
> update the hw tail pointer. This way we can exercise the gpu hang code
> under controlled conditions without a dying gpu taking down the entire
> Patch motivated by me forgetting to properly reinitialize ppgtt after
> a gpu reset.
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
Could be handy for debugging, I like it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Intel-gfx