summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-11-07 16:27:32 +0100
committerDave Airlie <airlied@redhat.com>2009-11-10 13:41:40 +1000
commiteeba57518c01cf462d87bbfc59049139da47adcb (patch)
treee22c52f7567903b2946c78b31144e41303a62e87 /drivers/gpu
parenta39533b4ddad388b64a20bcabd17ac125fd4ba65 (diff)
downloadlinux-stable-eeba57518c01cf462d87bbfc59049139da47adcb.tar.gz
linux-stable-eeba57518c01cf462d87bbfc59049139da47adcb.tar.bz2
linux-stable-eeba57518c01cf462d87bbfc59049139da47adcb.zip
drm/kms: Init the CRTC info fields for modes forced from the command line.
Fixes fdo bug 24710. Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_crtc_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
index 1fe4e1d344fd..bbfd110a7168 100644
--- a/drivers/gpu/drm/drm_crtc_helper.c
+++ b/drivers/gpu/drm/drm_crtc_helper.c
@@ -331,6 +331,7 @@ create_mode:
cmdline_mode->refresh_specified ? cmdline_mode->refresh : 60,
cmdline_mode->rb, cmdline_mode->interlace,
cmdline_mode->margins);
+ drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
list_add(&mode->head, &connector->modes);
return mode;
}