]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Always try to inherit the initial fb.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 27 Aug 2015 13:44:04 +0000 (15:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Sep 2015 07:58:24 +0000 (09:58 +0200)
The initial state is read out correctly and the state is atomic,
so it's safe to preserve the fb without any hacks if it's suitable.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c

index 0c9291da1d2e596ff6493dd7b9a772475e40f44d..73a14e86a127578b2861425010b059cb6a6175de 100644 (file)
@@ -541,9 +541,6 @@ static bool intel_fbdev_init_bios(struct drm_device *dev,
        struct intel_crtc *intel_crtc;
        unsigned int max_size = 0;
 
-       if (!i915.fastboot)
-               return false;
-
        /* Find the largest fb */
        for_each_crtc(dev, crtc) {
                struct drm_i915_gem_object *obj =