drm: add drm_set_preferred_mode
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Oct 2013 08:01:08 +0000 (10:01 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:36:18 +0000 (13:36 +1000)
commit3cf70dafd7bbbc91df0a9ecb081d46f9f3d867f6
tree09dcee3dfa36377179a11e23ffbf4099e1d30bdd
parent23c453a4af187e06d3d16649f1f3f2d16c132f83
drm: add drm_set_preferred_mode

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>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h