Date: Sat, 28 Feb 2009 02:37:55 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/drm drmP.h drm_drv.c drm_irq.c i915_dma.c i915_drv.h i915_irq.c mach64_drv.c mach64_drv.h mach64_irq.c mga_dma.c mga_irq.c r128_drv.c r128_drv.h r128_irq.c radeon_cp.c radeon_irq.c Message-ID: <200902280237.n1S2bxx9001711@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rnoland 2009-02-28 02:37:55 UTC FreeBSD src repository Modified files: sys/dev/drm drmP.h drm_drv.c drm_irq.c i915_dma.c i915_drv.h i915_irq.c mach64_drv.c mach64_drv.h mach64_irq.c mga_dma.c mga_irq.c r128_drv.c r128_drv.h r128_irq.c radeon_cp.c radeon_irq.c Log: SVN rev 189130 on 2009-02-28 02:37:55Z by rnoland Initialize the vblank structures at load time. Previously we did this at irq install/uninstall time, but when we vt switch, we uninstall the irq handler. When the irq handler is reinstalled, the modeset ioctl happens first. The modeset ioctl is supposed to tell us that we can disable vblank interrupts if there are no active consumers. This will fail after a vt switch until another modeset ioctl is called via dpms or xrandr. Leading to cases where either interrupts are on and can't be disabled, or worse, no interrupts at all. MFC after: 2 weeks Revision Changes Path 1.32 +1 -0 src/sys/dev/drm/drmP.h 1.22 +2 -0 src/sys/dev/drm/drm_drv.c 1.10 +1 -3 src/sys/dev/drm/drm_irq.c 1.16 +7 -0 src/sys/dev/drm/i915_dma.c 1.10 +2 -0 src/sys/dev/drm/i915_drv.h 1.11 +0 -5 src/sys/dev/drm/i915_irq.c 1.9 +7 -0 src/sys/dev/drm/mach64_drv.c 1.4 +1 -0 src/sys/dev/drm/mach64_drv.h 1.4 +1 -1 src/sys/dev/drm/mach64_irq.c 1.15 +8 -0 src/sys/dev/drm/mga_dma.c 1.8 +0 -5 src/sys/dev/drm/mga_irq.c 1.17 +6 -0 src/sys/dev/drm/r128_drv.c 1.13 +1 -0 src/sys/dev/drm/r128_drv.h 1.8 +1 -1 src/sys/dev/drm/r128_irq.c 1.26 +6 -0 src/sys/dev/drm/radeon_cp.c 1.11 +0 -5 src/sys/dev/drm/radeon_irq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902280237.n1S2bxx9001711>