public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init
@ 2013-11-26 19:25 Jesse Barnes
  2013-11-28 12:17 ` Damien Lespiau
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2013-11-26 19:25 UTC (permalink / raw)
  To: intel-gfx

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>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init
  2013-11-26 19:25 [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init Jesse Barnes
@ 2013-11-28 12:17 ` Damien Lespiau
  2013-11-28 13:56   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Lespiau @ 2013-11-28 12:17 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: intel-gfx

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 <jbarnes@virtuousgeek.org>


Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init
  2013-11-28 12:17 ` Damien Lespiau
@ 2013-11-28 13:56   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2013-11-28 13:56 UTC (permalink / raw)
  To: Damien Lespiau; +Cc: intel-gfx

On Thu, Nov 28, 2013 at 12:17:32PM +0000, Damien Lespiau wrote:
> 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 <jbarnes@virtuousgeek.org>
> 
> 
> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72098

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-28 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 19:25 [PATCH] drm/i915: drop DRM_ERROR in intel_fbdev init Jesse Barnes
2013-11-28 12:17 ` Damien Lespiau
2013-11-28 13:56   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox