On Mon, Jan 27, 2003 at 09:52:48PM -0500, Kevin Brosius wrote:
>I'd like to be able to add/remove an XVideo interface on the fly during
>mode switches. Is this possible with the existing interface? I don't
>see anything in the DESIGN doc other than the xf86XVScreenInit()
>function for setup. The ViRGE doesn't seem capable of XVideo during
>doublescan modes (320x200), so I'd like to be able to remove the Xv
>interfaces when in those modes, then re-add them when a compatible mode
>is switched back in.
I did something similar to this in the i810 driver (the i830 part)
because there are bandwidth limits for the video overlay on those chips,
and using the overlay when those limits are exceeded results in a lockup.
See the SwitchMode{Before,After} bits in i830_video.c and i830_driver.c.
There are some problems with this quick implementation that I need to
fix, but it does acheive my main goal of avoiding lockups by using Xv
in modes where it will cause a lockup.
David
--
David Dawes
Release Engineer/Architect The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel