summaryrefslogtreecommitdiff
path: root/src/intel_video.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2010-10-15 11:21:09 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2010-11-01 08:51:55 +0800
commit6ec3ff134baeac33d9d5821695d5f80843a96c91 (patch)
tree141b2ecb997272c1d9b5da78f1f944da8d1264fe /src/intel_video.c
parent9e73cbd7eea61f2fe69692056ca446a4d95e17c2 (diff)
Xv: don't call intel_wait_for_scanline on Sandybridge
MI_LOAD_SCAN_LINE_INCL command is not available on sandybridge. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/intel_video.c')
-rw-r--r--src/intel_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_video.c b/src/intel_video.c
index afc24058..cdff149d 100644
--- a/src/intel_video.c
+++ b/src/intel_video.c
@@ -1578,7 +1578,7 @@ I830PutImageTextured(ScrnInfoPtr scrn,
return BadAlloc;
}
- if (crtc && adaptor_priv->SyncToVblank != 0) {
+ if (crtc && adaptor_priv->SyncToVblank != 0 && INTEL_INFO(intel)->gen < 60) {
intel_wait_for_scanline(scrn, pixmap, crtc, clipBoxes);
}