2012/5/8 Daniel Vetter <[email protected]>:
> On Fri, May 04, 2012 at 05:18:15PM -0300, Paulo Zanoni wrote:
>> From: Paulo Zanoni <[email protected]>
>>
>> intel_wait_for_vblank uses PIPESTAT, which does not exist on Ironlake
>> and newer, so now we use PIPEFRAME.
>>
>> There's also a check to see if the pipe is stopped.
>
> Hm, why do we have this check here? The other wait_for_vblank
> implementation doesn't bother with this. And if we call wait_for_vblank on
> a disabled pipe, that's a bug imo.
> -Daniel

Because not checking for a stopped pipe adds a useless 50ms delay
(it's the wait_for() timeout). We're currently calling
wait_for_vblank() on disabled pipes.
- Maybe I should add a DRM_DEBUG_KMS message there and then start
fixing these cases?
- Maybe I should move the check to intel_wait_for_vblank (including
the debug message)?

-- 
Paulo Zanoni
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to