d81bca762e
change from an adaptive to spin mutex @ IPL_TTY. This seems to mitigate or eliminate a lot of locking-related issues (such as a hang when running glxgears under AIGLX). Tested by me and Vincent <10.50@free.fr>. In this code, we have three locks: irq, dma, and device. If anyone has any thoughts on how to improve this situation, e.g. by using different lock types/priorities/soft interrupts/etc. for different locks, please share them with me. NOTE: I've had the best results thusfar using Mesa 7.0.2-rc1 (r300 users could even try the r300 driver code from the master branch) and xorg-server 1.4+patches from GIT. |
||
---|---|---|
.. | ||
drm.h | ||
drmP.h | ||
drm_agpsupport.c | ||
drm_atomic.h | ||
drm_auth.c | ||
drm_bufs.c | ||
drm_context.c | ||
drm_dma.c | ||
drm_drawable.c | ||
drm_drv.c | ||
drm_fops.c | ||
drm_ioctl.c | ||
drm_irq.c | ||
drm_linux_list.h | ||
drm_lock.c | ||
drm_memory.c | ||
drm_pci.c | ||
drm_sarea.h | ||
drm_scatter.c | ||
drm_sysctl.c | ||
drm_vm.c | ||
files.drm |