drm: add drm_set_preferred_mode
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Oct 2013 08:01:08 +0000 (10:01 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 18 Apr 2014 09:05:05 +0000 (11:05 +0200)
commit1d2fa7e7e9182bbd085e314d6c804ab34d068e47
treea4a01805eca6a8246408202f36b0bda9e241bf72
parentaa66ee9749278e793e720037937c66c4d96c7517
drm: add drm_set_preferred_mode

commit 3cf70dafd7bbbc91df0a9ecb081d46f9f3d867f6 upstream.

New helper function to set the preferred video mode.  Can be called
after drm_add_modes_noedid if you don't want the largest supported
video mode be used by default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h