I've improved the matroxfb vsync irq patch somewhat.

Chages:
- Move wait queues to the matrox_fb_info struct. Should allow more than
one card to work at the same time.

- Enable irq only when /dev/fbX is opened. I think this should eliminate
XFree86 hanging on startup.

- Use vline interrupt on the first head simply because it's easier to
turn on/off than the vsync interrupt. It's programmed to trigger on vblank
start.

- Check card type before trying to use the c2vline interrupt.


I've been running 2.4.20 with this patch for a few days now. I haven't
seen any problems. I'd like people to test it a bit especially the XFree86
case since I don't have XFree86 installed myself.

I've attached patches for 2.4.20 and 2.4.21-pre6 and they can also be
found http://www.sci.fi/~syrjala/directfb/matroxfb/

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


--
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.

Reply via email to