[PATCH 10/11] drm/i915: Reprobe connectors if vga_switcheroo handler registers late

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 21 04:50:10 PDT 2015


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


More information about the dri-devel mailing list