[Intel-gfx] [PATH v2 6/6] Xv: don't call intel_wait_for_scanline on Sandybridge
Kenneth Graunke
kenneth at whitecape.org
Fri Oct 29 08:42:05 CEST 2010
On Tuesday 26 October 2010 19:17:33 Xiang, Haihao wrote:
> MI_LOAD_SCAN_LINE_INCL command is not available on sandybridge.
>
> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
> ---
> src/intel_video.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/intel_video.c b/src/intel_video.c
> index afc2405..cdff149 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);
> }
I think you mean < 6 here (not 60)?
More information about the Intel-gfx
mailing list