[PATCH v2] drm: Print pretty names for pixel formats

2013-06-10 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? 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() pro

[PATCH v2] drm: Print pretty names for pixel formats

2013-06-10 Thread ville . syrjala
From: Ville Syrjälä 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() pro