Michel Dänzer wrote: > On Tue, 2007-01-30 at 09:30 +0800, Xiang, Haihao wrote: > >> I have the same problem too. >> I ran glxgears for a long time then glxgears got hung. I looked into it and >> found >> the 915 interrupt handler wasn't called, so >> dev_priv->sarea_priv->last_dispatch is >> not updated anymore. >> > > That sounds like a different problem, I think Dominik is only having > issues when switching to console. Is there any indication as to why the > interrupt handler is no longer called, e.g. something in the kernel > output? > > > >> However the ring buffer works fine and the appropriate data >> had been written into the hardware status page. The problem still happened >> after >> I unloaded/loaded drm module. But this problem doesn't happen on another >> machine. >> The following patch works fine for me (The IRQ is still disabled). >> > > I'll leave it to others to decide whether the patch is a good idea, but > my gut feeling is yes. > > > There seems to be some hardware problems with some i915s: Some chips duplicate the display IRQs on the sound IRQ lines which causes the kernel to detect unhandled IRQs on the sound line and disable it after a while. This can be worked around using an option to the sound driver.
The other problem is that when user IRQs are turned off, more often than not the display chip starts to issue false IRQs which are not reflected in the status registers. Eventually the kernel turns the IRQ line off. I ran into this when I tried to turn off IRQs when the fence driver didn't need them. It might be the problem in this case. /Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
