mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
drm: Print bad user modes
Print out the modeline when we reject a bad user mode. Avoids having to guess why it was rejected. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180611193403.16118-2-ville.syrjala@linux.intel.com Reviewed-by: Harry Wentland <harry.wentland@amd.com>
This commit is contained in:
parent
b6f690ab23
commit
6ab0edf4e7
4 changed files with 24 additions and 5 deletions
|
@ -1257,7 +1257,7 @@ static const char * const drm_mode_status_names[] = {
|
|||
|
||||
#undef MODE_STATUS
|
||||
|
||||
static const char *drm_get_mode_status_name(enum drm_mode_status status)
|
||||
const char *drm_get_mode_status_name(enum drm_mode_status status)
|
||||
{
|
||||
int index = status + 3;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue