On Sun, Apr 19, 2015 at 05:01:17PM +0200, Lukas Wunner wrote:
> +cleanup_gem:
> +     DRM_ERROR("failed to reinitialize fbdev\n");
> +     mutex_lock(&dev->struct_mutex);
> +     i915_gem_cleanup_ringbuffer(dev);
> +     i915_gem_context_fini(dev);
> +     mutex_unlock(&dev->struct_mutex);

This is a bit random since you don't initialize GEM here and presumably
the GPU is still available even if it has no outputs.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

Reply via email to