提交 f4502c25 编写于 作者: M Maarten Lankhorst 提交者: Daniel Vetter

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: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: NJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 d5515991
...@@ -541,9 +541,6 @@ static bool intel_fbdev_init_bios(struct drm_device *dev, ...@@ -541,9 +541,6 @@ static bool intel_fbdev_init_bios(struct drm_device *dev,
struct intel_crtc *intel_crtc; struct intel_crtc *intel_crtc;
unsigned int max_size = 0; unsigned int max_size = 0;
if (!i915.fastboot)
return false;
/* Find the largest fb */ /* Find the largest fb */
for_each_crtc(dev, crtc) { for_each_crtc(dev, crtc) {
struct drm_i915_gem_object *obj = struct drm_i915_gem_object *obj =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册