On Wed, Nov 2, 2011 at 09:46, Daniel Vetter <[email protected]> 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 > systems. > > Patch motivated by me forgetting to properly reinitialize ppgtt after > a gpu reset. > > Signed-Off-by: Daniel Vetter <[email protected]> > Reviewed-by: Eugeni Dodonov <[email protected]> Could be handy for debugging, I like it. -- Eugeni Dodonov <http://eugeni.dodonov.net/>
_______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
