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