NetBSD/sys/dev/drm
bjs d81bca762e Until I have a chance to further evaluate and re-work the locking here,
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.
2007-11-01 13:20:04 +00:00
..
drm_agpsupport.c
drm_atomic.h
drm_auth.c In drm_remove_magic, free the magic entry when it is found instead of 2007-03-29 11:31:06 +00:00
drm_bufs.c drm_do_addbufs_pci: Fix the mess of malloc()s and free()s, which 2007-04-04 00:30:58 +00:00
drm_context.c
drm_dma.c First round of DRM improvements: switch to mutex(9), make use of & 2007-10-19 20:53:47 +00:00
drm_drawable.c
drm_drv.c First round of DRM improvements: switch to mutex(9), make use of & 2007-10-19 20:53:47 +00:00
drm_fops.c
drm_ioctl.c
drm_irq.c First round of DRM improvements: switch to mutex(9), make use of & 2007-10-19 20:53:47 +00:00
drm_linux_list.h
drm_lock.c First round of DRM improvements: switch to mutex(9), make use of & 2007-10-19 20:53:47 +00:00
drm_memory.c
drm_pci.c
drm_sarea.h
drm_scatter.c
drm_sysctl.c
drm_vm.c
drm.h
drmP.h Until I have a chance to further evaluate and re-work the locking here, 2007-11-01 13:20:04 +00:00
files.drm