Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4502c25 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Daniel Vetter
Browse files

drm/i915: Always try to inherit the initial fb.



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: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent d5515991
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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 =