]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/i915/i915_dma.c
drm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done
[karo-tx-linux.git] / drivers / gpu / drm / i915 / i915_dma.c
index 3de60503378e2b8724c3db70008a112e9fe0fd3f..9b265a4c6a3d2e9ccd936afeb26935c50a486f0f 100644 (file)
@@ -1351,6 +1351,12 @@ static int i915_load_modeset_init(struct drm_device *dev)
         */
        intel_fbdev_initial_config(dev);
 
+       /*
+        * Must do this after fbcon init so that
+        * vgacon_save_screen() works during the handover.
+        */
+       i915_disable_vga_mem(dev);
+
        /* Only enable hotplug handling once the fbdev is fully set up. */
        dev_priv->enable_hotplug_processing = true;