drm/i915: Print pretty names for pixel formats
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Jun 2013 15:43:05 +0000 (15:43 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Jun 2013 22:13:55 +0000 (08:13 +1000)
commit4ee62c7669be1a6f1dd407e5ba7e38c0e2204e92
tree6ac2c2991ef8fe23c130ff5a2b966722fa7899f5
parent6ba6d03e69125ef42a63e90d45e49c659ea3c34f
drm/i915: Print pretty names for pixel formats

Use drm_get_format_name to print more readable pixel format names
in debug output.

Also unify the debug messages to say "unsupported pixel format",
which better describes what is going on.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_display.c