Hi,

dev->irq_enabled is set to 0 in drm_setup (drm_fdops.c)
is this really necessary ? Or would be ok i move this
0 things to drm functions which initialize drm structure
and let then the flags be set by irq function. My problem
is that i enable irq in load function so client don't have
to worry about enabling it, but on first client connection
the flags is reset to 0 so on unload the irq handler isn't
removed which cause bad things i reload and launch another
client.

Moving this initialization to drm struct initialization won't
change anythings for others driver as if they enabled irq then
the field will be put to 0 again on last_close which calls
drm_irq_uninstall.

Cheers,
Jerome Glisse


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to