OSDN Git Service

Allow vblank interrupts to remain disabled across VT switch.
authorKeith Packard <keithp@neko.keithp.com>
Mon, 7 May 2007 13:07:48 +0000 (09:07 -0400)
committerKeith Packard <keithp@neko.keithp.com>
Thu, 10 May 2007 20:15:32 +0000 (13:15 -0700)
commite4d163d81ad7ce46af43cf84485dc96c4cb22b1f
tree51e23e9d1c9ddf97e620c445c7cdaee2a51f81fb
parente0056c7eb4640fc4863a352997ba00e3142b3355
Allow vblank interrupts to remain disabled across VT switch.

i915_driver_irq_postinstall was forcing vblank interrupts to pipe A when
called with vblank interrupts disabled. This caused vblank interrupts to be
accidentally re-enabled when VT switching the X server. Instead, start the
driver with vblank interrupts enabled on pipe A to support older X servers,
but then leave control over the state to the X server if it is able to do so.
shared-core/i915_dma.c
shared-core/i915_irq.c