Re: New radeonfb, mostly untested
flat view
From: Kronos <hidden>
Date: 2003-09-07 18:44:45
Il Sun, Sep 07, 2003 at 08:23:48PM +0200, Benjamin Herrenschmidt ha scritto:
quoted
There's a problem here: sysfs attributes are unregistered after radeonfb_pci_unregister returns, so we have a small windows where mon1_EDID and mon2_EDID are invalid and edid1 and edid2 are still there in sysfs. Ditto for pci_register.Yup, there is much "polish" still needed on the exit/cleanup path, though I'm waiting to see what you come up with putting class_device in there :)
edid1 and edid2 will be attached to the class_device, they will be unregistered before the "release". The problem will go away. Btw, the class_device stuff won't go in, it's too late. I'll maintain it off tree and submit around 2.6.2.
I won't have time to work more on this until later next week, so feel free to send your own patches/fixes/etc... If you feel it's ready to push to the mesa bk tree, let me know.
I'm compiling it right now :) Luca -- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net "Di tutte le perversioni sessuali, la castita` e` la piu` strana". Anatole France ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf