summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-11-07 15:27:32 (GMT)
committerDave Airlie <airlied@redhat.com>2009-11-10 03:41:40 (GMT)
commiteeba57518c01cf462d87bbfc59049139da47adcb (patch)
treee22c52f7567903b2946c78b31144e41303a62e87
parenta39533b4ddad388b64a20bcabd17ac125fd4ba65 (diff)
downloadlinux-eeba57518c01cf462d87bbfc59049139da47adcb.tar.xz
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>
-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 1fe4e1d..bbfd110 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;
}