summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-17 23:33:48 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-17 23:33:48 +0100
commit95945bbf226610ba4f41381fd0436722082397ec (patch)
treebd8603fe593d09dfa01dd8c383da8854eb80b46c /linux-core
parentc0479dad8e34a51efebfaa05b0d329aa7d2b95d1 (diff)
Set crtcinfo on temporary mode
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_fb.c1
-rw-r--r--linux-core/intel_fb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_fb.c b/linux-core/drm_fb.c
index 5f2b1cea..173864d0 100644
--- a/linux-core/drm_fb.c
+++ b/linux-core/drm_fb.c
@@ -259,6 +259,7 @@ static int drmfb_set_par(struct fb_info *info)
drm_mode->clock = PICOS2KHZ(var->pixclock);
drm_mode->vrefresh = drm_mode_vrefresh(drm_mode);
drm_mode_set_name(drm_mode);
+ drm_mode_set_crtcinfo(drm_mode, CRTC_INTERLACE_HALVE_V);
#endif
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))
diff --git a/linux-core/intel_fb.c b/linux-core/intel_fb.c
index 9d7b7327..3c865a2f 100644
--- a/linux-core/intel_fb.c
+++ b/linux-core/intel_fb.c
@@ -262,6 +262,7 @@ static int intelfb_set_par(struct fb_info *info)
drm_mode->clock = PICOS2KHZ(var->pixclock);
drm_mode->vrefresh = drm_mode_vrefresh(drm_mode);
drm_mode_set_name(drm_mode);
+ drm_mode_set_crtcinfo(drm_mode, CRTC_INTERLACE_HALVE_V);
#endif
if (!drm_crtc_set_mode(par->crtc, drm_mode, 0, 0))