Erdi Chen wrote:

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

Hi.

Not the fault of your patch. There was another DRM patch checked in just after yours that requires DRIVER_HAS_DMA for IRQ support. I also get kernel oops'es with that one. I've posted messages about those two.

Meanwhile

cvs co -D "20040824 08:00"
works fine.

BTW, it was indeed possible to program the mpeg2 decoder with the 2d engine DMA command. No more waiting for partial decoder completion, which means a real boost in CPU usage. :-).
Still waiting for VIA's answer.


/Thomas



-------------------------------------------------------
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