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

Barry Scott barry.scott at onelan.co.uk
Wed Mar 4 13:18:59 CET 2009


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

Barry




More information about the Intel-gfx mailing list