Update to DRM git.
authoroga <oga@openbsd.org>
Tue, 29 Jul 2008 22:23:50 +0000 (22:23 +0000)
committeroga <oga@openbsd.org>
Tue, 29 Jul 2008 22:23:50 +0000 (22:23 +0000)
commitbdca3b8a71f6f9e5464d6a949abd95390819be4f
treed8757c0dfae32b312bb088e01efc12e3fbf3ec0f
parentb53593726e4520307498982eab4661e5ce6b418b
Update to DRM git.

Some stability fixes for radeon. The most part of this diff is related
to fixing up the VBLANK (vertical blank interrupt) handling. Now, if the
X driver supports the DRM_IOCTL_MODESET_CTL ioctl, (to be used when
changing the video modes), then allow the vblank to be disabled once
that ioctl has been called. Otherwise, keep the interrupt enabled at all
time, since disabling it otherwise will lead to problems.

Tested by a few. "no problem" on API/ABI deraadt@.
12 files changed:
sys/dev/pci/drm/drmP.h
sys/dev/pci/drm/drm_irq.c
sys/dev/pci/drm/drm_sarea.h
sys/dev/pci/drm/i915_dma.c
sys/dev/pci/drm/i915_drv.h
sys/dev/pci/drm/i915_irq.c
sys/dev/pci/drm/r300_cmdbuf.c
sys/dev/pci/drm/radeon_cp.c
sys/dev/pci/drm/radeon_drv.h
sys/dev/pci/drm/radeon_irq.c
sys/dev/pci/drm/radeon_mem.c
sys/dev/pci/drm/radeon_state.c