drm/i915: drop DRM_ERROR in intel_fbdev init
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 26 Nov 2013 19:25:54 +0000 (11:25 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Nov 2013 13:55:54 +0000 (14:55 +0100)
This should just be a debug.  Add another debug msg to the inherit path
while we're at it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72098
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c

index fdb6dc92a7ab331172f48277beabbf39751ca8a0..284c3eb066f6ffff76de5b7cb0108617126679f2 100644 (file)
@@ -127,11 +127,12 @@ static int intelfb_create(struct drm_fb_helper *helper,
        mutex_lock(&dev->struct_mutex);
 
        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);
                if (ret)
                        goto out_unlock;
        } else {
+               DRM_DEBUG_KMS("re-using BIOS fb\n");
                sizes->fb_width = intel_fb->base.width;
                sizes->fb_height = intel_fb->base.height;
        }