On Tue, Apr 29, 2014 at 04:38:21PM +0200, Daniel Vetter wrote:
>  int intel_gpu_reset(struct drm_device *dev)
>  {
> +     struct drm_i915_private *dev_priv = dev->dev_private;
> +     struct intel_ring_buffer *ring;
> +     int i;
> +
> +     for_each_ring(ring, dev_priv, i)
> +             __intel_stop_ring_buffer(ring);

intel_gpu_reset() is called after i915_gem_reset() in the normal reset
sequence (when the GPU is hung) so what was the error in using the
currently exported function?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to