On Wed, Jan 02, 2002 at 09:39:24PM +0100, Zdenek Kabelac wrote: > Hmm I've though there is full documentation for ATI chips as well. Well they provide pretty much, but not everything.
> Actually Macrovision bit is documented in MGA spec (but it's not said it's
> Macrovision :))
;-)
> I've been rather thinking that all important info could be
> retried via read -
Hmm... there is a lot of stuff that is basically static data and it would be
strange to be fed this data 80 times a second?
> e.g. mga_vid counts amount of interrupts between HZ jiffies and returns
> current interrupt number and HZ as two 4bytes integers. I'm not sure if it
> makes real sence to play with proc for now - it's not that much usable for
> program I would say
k.
> > /dev/something (character device) -> block on read till vbi occurs on one
> > card, and then will spit out a few bytes telling what (vbi end, vbi begin,
> > nuthing) on a even/odd frame happened on which card. I think we don't need
> > ioctls. Or perhaps one
> I'm using IOCTL for IRQ_ON IRQ_OFF
> But it might be turned on/off with open/close automaticaly (it already made
> with close anyway)
ok.
> > I think this is not very much code (and more importantly VERY LITTLE
> > card-dependent code) and hence I propose this beast to compile into a single
> Actually you still need detection of the graphics card - thus it's
> not as that independed as it might look for the first time.
PCI ids, just like X does it. It's just lots of numbers. If someone wants to
watch videos on older than PCI/AGP, he should forget about fluent playback
anyway.
> > module. The only problem I see is closed-source driver and I couldn't care
> > less about it. If there aren't even docs on how to detect vbi and interlacing,
> > screw the card.
> I've not checked how easy is to detect if odd or even fields are displayed...
On ATI it's one or 2 bits in a register.
> > mga_vid and ati_vid are currently used for YUV scaler. I think this stuff
> > belongs to userspace, because XvShmPutImage already does this optimally
> I hope there is no aplication which would be copying 0.5MB in kernel mode ?????
I hope so as well.
> At least there is no such think with mga_vid as far as I know.
Then how does it work? I am unable to get the source from web, can you attach
it to me?
Bye,
Peter Surda (Shurdeek) <[EMAIL PROTECTED]>, ICQ 10236103, +436505122023
--
The product Microsoft sells isn't the software; it's comfort.
The product that Linux vendors usually sell is freedom.
msg02542/pgp00000.pgp
Description: PGP signature
