Files
linux-apfs/include/drm
Ville Syrjälä 6ba6d03e69 drm: Print pretty names for pixel formats
Rather than just printing the pixel format as a hex number, decode the
fourcc into human readable form, and also decode the LE vs. BE flag.

Keep printing the raw hex number too in case it contains non-printable
characters.

Some examples what the new drm_get_format_name() produces:
DRM_FORMAT_XRGB8888: "XR24 little-endian (0x34325258)"
DRM_FORMAT_YUYV: "YUYV little-endian (0x56595559)"
DRM_FORMAT_RGB565|DRM_FORMAT_BIG_ENDIAN: "RG16 big-endian (0xb6314752)"
Unprintable characters: "D??? big-endian (0xff7f0244)"

v2: Fix patch author

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-06-11 08:13:54 +10:00
..
2010-08-10 08:20:20 +10:00
2012-04-27 09:29:35 +01:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-05-20 12:09:39 -04:00
2013-04-30 22:20:05 +02:00
2011-02-07 13:09:42 +10:00
2012-03-10 13:06:04 +00:00