From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init Date: Thu, 28 Nov 2013 12:17:32 +0000 Message-ID: <20131128121732.GA30039@strange.amr.corp.intel.com> References: <1385493954-2301-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 093C5FA391 for ; Thu, 28 Nov 2013 04:17:34 -0800 (PST) Content-Disposition: inline In-Reply-To: <1385493954-2301-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Nov 26, 2013 at 11:25:54AM -0800, Jesse Barnes wrote: > This should just be a debug. Add another debug msg to the inherit path > while we're at it. > > Signed-off-by: Jesse Barnes Reviewed-by: Damien Lespiau Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72098 > --- > drivers/gpu/drm/i915/intel_fbdev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c > index fdb6dc9..284c3eb 100644 > --- a/drivers/gpu/drm/i915/intel_fbdev.c > +++ b/drivers/gpu/drm/i915/intel_fbdev.c > @@ -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; > } > -- > 1.8.4.2 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx