drm/i915: print out which pixel format we do not support
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Tue, 17 Jan 2012 17:25:45 +0000 (15:25 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 21 Jan 2012 16:14:30 +0000 (17:14 +0100)
Otherwise, we are left with pretty bogus message saying that the pixel
format is not supported while leaving the details to the telepatic powers.

v2: use DRM_DEBUG_KMS instead of DRM_ERROR

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index ec31350337d3ebe79a8d13fa0621ef3a0dc51c09..cfd3a87807f1b055abe4bf1308c9675de3b37122 100644 (file)
@@ -7890,7 +7890,8 @@ int intel_framebuffer_init(struct drm_device *dev,
        case DRM_FORMAT_VYUY:
                break;
        default:
-               DRM_ERROR("unsupported pixel format\n");
+               DRM_DEBUG_KMS("unsupported pixel format %u\n",
+                               mode_cmd->pixel_format);
                return -EINVAL;
        }
 
This page took 0.031741 seconds and 5 git commands to generate.