drm: Print bad user modes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Jun 2018 19:34:02 +0000 (22:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jun 2018 20:31:07 +0000 (23:31 +0300)
commit6ab0edf4e79c42e3dc9c47e060a68d337af51be0
tree9b7d20d9499a18456281cf1fb5f7628ab74f717e
parentb6f690ab237d801cbf881be4bc164062727053fd
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>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_modes.c