diff options
-rw-r--r-- | src/intel_video.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel_video.c b/src/intel_video.c index 011c6fa0..ebd12027 100644 --- a/src/intel_video.c +++ b/src/intel_video.c @@ -2241,6 +2241,12 @@ intel_wait_for_scanline(ScrnInfoPtr scrn, PixmapPtr pixmap, event = MI_WAIT_FOR_PIPEB_SVBLANK; } + if (crtc->mode.Flags & V_INTERLACE) { + /* DSL count field lines */ + y1 /= 2; + y2 /= 2; + } + BEGIN_BATCH(5); /* The documentation says that the LOAD_SCAN_LINES command * always comes in pairs. Don't ask me why. */ |