Thomas Hellström wrote:
Thomas Hellström wrote:


Also, The irq enable IOCTL returns an error with your patch applied. Not
before. The via specific IRQ setup routines are never called. Could you
have a look into this?

/Thomas


You need to call drmVIAInitMAP/DRM_IOCTL_VIA_MAP_INIT to setup dev->dev_priv before you can install the interrupt. Your code may have worked before because no one ever calls the map cleanup ioctl. I have added code that calls the cleanup functions before the last context gets destroyed.



No, this is not the case. The IRQ is installed after
DRM_IOCTL_VIA_MAP_INIT and after the X server has initialized it's context
0x1.

/Thomas

That is odd. I can install the irq handler correctly. You may want to insert printf's before all locations in the drm irq code that can return prematurely to find out where the install handler call has failed.

Erdi


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to