Commit aca25848 authored by Eugeni Dodonov's avatar Eugeni Dodonov Committed by Daniel Vetter

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

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: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 47842649
...@@ -7890,7 +7890,8 @@ int intel_framebuffer_init(struct drm_device *dev, ...@@ -7890,7 +7890,8 @@ int intel_framebuffer_init(struct drm_device *dev,
case DRM_FORMAT_VYUY: case DRM_FORMAT_VYUY:
break; break;
default: default:
DRM_ERROR("unsupported pixel format\n"); DRM_DEBUG_KMS("unsupported pixel format %u\n",
mode_cmd->pixel_format);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment