summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-09 18:11:17 +1100
committerDave Airlie <airlied@redhat.com>2008-01-09 18:11:17 +1100
commite04d942ee8e74fce90e332446e740a100d782033 (patch)
tree6f97d0306b1764ca48cc14d2ca293d81b0a8839c /linux-core
parent87a32efcdde124df59656e00a402ba50a0ba1e45 (diff)
fixup crtcinfo on modes from userspace
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index b49fa697..0b71b134 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1548,6 +1548,7 @@ int drm_mode_setcrtc(struct drm_device *dev,
mode = drm_mode_create(dev);
drm_crtc_convert_umode(mode, &crtc_req->mode);
+ drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
}
if (crtc_req->count_outputs == 0 && mode) {