From: Ville Syrjälä Date: Tue, 15 Oct 2013 18:06:51 +0000 (+0300) Subject: drm: Pretty print pixel format in drm_fb_get_bpp_depth() and format_check() X-Git-Tag: v3.13-rc1~76^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c453a4af187e06d3d16649f1f3f2d16c132f83;p=pandora-kernel.git drm: Pretty print pixel format in drm_fb_get_bpp_depth() and format_check() drm_fb_get_bpp_depth() likes to complain about unsupported pixel formats but doesn't bother telling us what the format was. Also format_check() just returns an error when it encouters an invalid format, leaving the user scratching his head trying to figure out why addfb failed. Make life a bit easier by using drm_get_format_name() in both places. Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Reviewed-by: Damien Lespiau Signed-off-by: Dave Airlie --- Reading git-diff-tree failed