[PATCH] drm/modes: Print the mode status in human readable form

2015-02-03 Thread Daniel Vetter
On Mon, Feb 02, 2015 at 12:56:26PM -0500, Alex Deucher wrote: > On Mon, Feb 2, 2015 at 12:13 PM, wrote: > > From: Ville Syrjälä > > > > Currently when a mode is rejected the reason is printed as a raw number. > > Having to manually decode that to a enum drm_mode_status value is > > tiresome. H

[PATCH] drm/modes: Print the mode status in human readable form

2015-02-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Currently when a mode is rejected the reason is printed as a raw number. Having to manually decode that to a enum drm_mode_status value is tiresome. Have the code do the decoding instead and print the result in a human readable format. Just having an array of strings indexe

[PATCH] drm/modes: Print the mode status in human readable form

2015-02-02 Thread Alex Deucher
On Mon, Feb 2, 2015 at 12:13 PM, wrote: > From: Ville Syrjälä > > Currently when a mode is rejected the reason is printed as a raw number. > Having to manually decode that to a enum drm_mode_status value is > tiresome. Have the code do the decoding instead and print the result > in a human rea