summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))