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

Barry Scott barry.scott at onelan.co.uk
Thu Mar 5 11:30:59 CET 2009


Xiang, Haihao wrote:
> 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.
>
>   
VBLANK and VSYNC as terms of art in the video world.

I think it is best to not invert new terms for this that cannot be 
looked up.

If you want a longer keyword try

XV_SYNC_TO_VBLANK

Barry





More information about the Intel-gfx mailing list