enum drm_mode_status — hardware support status of a mode
enum drm_mode_status { MODE_OK, MODE_HSYNC, MODE_VSYNC, MODE_H_ILLEGAL, MODE_V_ILLEGAL, MODE_BAD_WIDTH, MODE_NOMODE, MODE_NO_INTERLACE, MODE_NO_DBLESCAN, MODE_NO_VSCAN, MODE_MEM, MODE_VIRTUAL_X, MODE_VIRTUAL_Y, MODE_MEM_VIRT, MODE_NOCLOCK, MODE_CLOCK_HIGH, MODE_CLOCK_LOW, MODE_CLOCK_RANGE, MODE_BAD_HVALUE, MODE_BAD_VVALUE, MODE_BAD_VSCAN, MODE_HSYNC_NARROW, MODE_HSYNC_WIDE, MODE_HBLANK_NARROW, MODE_HBLANK_WIDE, MODE_VSYNC_NARROW, MODE_VSYNC_WIDE, MODE_VBLANK_NARROW, MODE_VBLANK_WIDE, MODE_PANEL, MODE_INTERLACE_WIDTH, MODE_ONE_WIDTH, MODE_ONE_HEIGHT, MODE_ONE_SIZE, MODE_NO_REDUCED, MODE_NO_STEREO, MODE_STALE, MODE_BAD, MODE_ERROR };
Mode OK
hsync out of range
vsync out of range
mode has illegal horizontal timings
mode has illegal horizontal timings
requires an unsupported linepitch
no mode with a matching name
interlaced mode not supported
doublescan mode not supported
multiscan mode not supported
insufficient video memory
mode width too large for specified virtual size
mode height too large for specified virtual size
insufficient video memory given virtual size
no fixed clock available
clock required is too high
clock required is too low
clock/mode isn't in a ClockRange
horizontal timing was out of range
vertical timing was out of range
VScan value out of range
horizontal sync too narrow
horizontal sync too wide
horizontal blanking too narrow
horizontal blanking too wide
vertical sync too narrow
vertical sync too wide
vertical blanking too narrow
vertical blanking too wide
exceeds panel dimensions
width too large for interlaced mode
only one width is supported
only one height is supported
only one resolution is supported
monitor doesn't accept reduced blanking
stereo modes not supported
mode has become stale
unspecified reason
error condition