commit | 121a6a17439b000b9699c3fa876636db20fa4107 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Oct 11 10:01:09 2013 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 06 13:36:19 2013 +1000 |
tree | 21f82542ba40531df4a8d882cd7a885d67e89dfd | |
parent | 3cf70dafd7bbbc91df0a9ecb081d46f9f3d867f6 [diff] |
drm/cirrus: use drm_set_preferred_mode 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>