[Intel-gfx] [PATCH 1/2] drm/i915: print the unrecognised pixel format value.

Daniel Vetter daniel at ffwll.ch
Thu Feb 23 16:54:10 CET 2012


On Thu, Feb 23, 2012 at 03:31:45PM +0000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> Another contentless error bites the dust.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Almost identical patch is already merged into -next:

commit aca258482ed7c600b5aeed03aa8727d94d8dd07e
Author: Eugeni Dodonov <eugeni.dodonov at intel.com>
Date:   Tue Jan 17 15:25:45 2012 -0200

    drm/i915: print out which pixel format we do not support

> ---
>  drivers/gpu/drm/i915/intel_display.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index f425b23..1efb5fc 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -7830,7 +7830,7 @@ int intel_framebuffer_init(struct drm_device *dev,
>  	case DRM_FORMAT_VYUY:
>  		break;
>  	default:
> -		DRM_ERROR("unsupported pixel format\n");
> +		DRM_ERROR("unsupported pixel format %x\n", mode_cmd->pixel_format);
>  		return -EINVAL;
>  	}
>  
> -- 
> 1.7.7.6
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list