Commit 48e92120 authored by Jesse Barnes's avatar Jesse Barnes Committed by Daniel Vetter

drm/i915: drop DRM_ERROR in intel_fbdev init

This should just be a debug.  Add another debug msg to the inherit path
while we're at it.
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72098Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 6b88f295
...@@ -127,11 +127,12 @@ static int intelfb_create(struct drm_fb_helper *helper, ...@@ -127,11 +127,12 @@ static int intelfb_create(struct drm_fb_helper *helper,
mutex_lock(&dev->struct_mutex); mutex_lock(&dev->struct_mutex);
if (!intel_fb->obj) { if (!intel_fb->obj) {
DRM_ERROR("no BIOS fb, allocating a new one\n"); DRM_DEBUG_KMS("no BIOS fb, allocating a new one\n");
ret = intelfb_alloc(helper, sizes); ret = intelfb_alloc(helper, sizes);
if (ret) if (ret)
goto out_unlock; goto out_unlock;
} else { } else {
DRM_DEBUG_KMS("re-using BIOS fb\n");
sizes->fb_width = intel_fb->base.width; sizes->fb_width = intel_fb->base.width;
sizes->fb_height = intel_fb->base.height; sizes->fb_height = intel_fb->base.height;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment