summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_mm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-03-19 14:53:13 +0100
committerDave Airlie <airlied@redhat.com>2014-04-04 10:07:03 +1000
commitc683f427bdc43525f61e26609d34e799e7ea4c12 (patch)
tree892b82a65d347f4a50ef0fb42cd77e44274a2917 /drivers/gpu/drm/drm_mm.c
parentdeadcb36f49bee9b3010382ffe4fe4f5c439f1c5 (diff)
downloadlinux-c683f427bdc43525f61e26609d34e799e7ea4c12.tar.gz
linux-c683f427bdc43525f61e26609d34e799e7ea4c12.tar.xz
drm: Prefer noninterlace cmdline mode unless explicitly specified
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>
Diffstat (limited to 'drivers/gpu/drm/drm_mm.c')
0 files changed, 0 insertions, 0 deletions