diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-03-19 13:53:13 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-18 09:03:00 (GMT) |
commit | c9c5b01e83723282d142141cffd7dd41aa36455d (patch) | |
tree | f677fe4f94a34fc46e12d07a1895210ed817ab45 /drivers/video | |
parent | 21a4209d4288e5075edcd46881fd4b78a5a9bf3d (diff) | |
download | linux-fsl-qoriq-c9c5b01e83723282d142141cffd7dd41aa36455d.tar.xz |
drm: Prefer noninterlace cmdline mode unless explicitly specified
commit c683f427bdc43525f61e26609d34e799e7ea4c12 upstream.
Currently drm_pick_cmdline_mode() doesn't care about the interlace
when the given mode line has no "i" suffix. That is, when there are
multiple entries for the same resolution, an interlace mode might be
picked up just depending on the assigned order, and there is no way to
exclude it.
This patch changes the logic for the mode selection, to prefer the
noninterlace mode unless the interlace mode is explicitly given.
When no matching mode is found, it still tries the interlace mode as
fallback.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions