[Intel-gfx] [PATCH] Xv: free tearing on textured video

Xiang, Haihao haihao.xiang at intel.com
Thu Mar 5 02:28:09 CET 2009


On Wed, 2009-03-04 at 20:18 +0800, Barry Scott wrote:
> Xiang, Haihao wrote:
> > On Wed, 2009-03-04 at 02:04 +0800, Eric Anholt wrote:
> >   
> >> On Wed, 2009-02-25 at 15:35 +0800, Xiang, Haihao wrote:
> >>     
> >>> Synchronize the screen update to vblank and add an option
> >>> XvTexturedVsync to control it.
> >>>       
> Surely XvTexturedVblank. Vsync will cause tearing.
> >> How does this get synchronized against outputs getting turned off, so
> >> that the ring doesn't hang?
> >>
> >>     
> > Option XvTexturedVsync is replaced with a Xv attribute, please review
> > the revised patch. This patch invokes i830_clip_video_helper to get the
> > right crtc, so it won't get synchronized against a disabled output.
> > However this patch will crash X if all outputs are disabled. Here is an
> > update to fix this issue.
> >
> >
> > Add an Xv attribute XV_VSYNC which has three values -1 (off), 0 (auto)
> >   
> And surely XV_VBLANK
How about XV_VBLANK_SYNC? End user maybe don't know what VBLANK stands for.

Thanks
Haihao
> Barry
> 




More information about the Intel-gfx mailing list