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

Dave Airlie airlied at gmail.com
Thu Feb 23 16:31:45 CET 2012


From: Dave Airlie <airlied at redhat.com>

Another contentless error bites the dust.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 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




More information about the Intel-gfx mailing list