drm/cirrus: use drm_set_preferred_mode
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Oct 2013 08:01:09 +0000 (10:01 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:36:19 +0000 (13:36 +1000)
Explicitly set 1024x768 as default mode, so the display doesn't come up
with the largest supported mode.

While being at it drop first three drm_add_modes_noedid calls.  As
drm_add_modes_noedid fills the mode list with modes from the database
*up to* the specified size it is pretty pointless to call it multiple
times with different sizes.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found