From: Francisco Jerez Date: Sat, 7 Nov 2009 15:27:32 +0000 (+0100) Subject: drm/kms: Init the CRTC info fields for modes forced from the command line. X-Git-Tag: v3.0~6991^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eeba57518c01cf462d87bbfc59049139da47adcb;p=platform%2Fkernel%2Flinux-amlogic.git drm/kms: Init the CRTC info fields for modes forced from the command line. Fixes fdo bug 24710. Signed-off-by: Francisco Jerez Signed-off-by: Dave Airlie --- 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; }