public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] vga switcheroo: Prevent nouveau irq handler from kill the system
@ 2011-05-02  0:49 Alex Williamson
  2011-05-02  0:49 ` [PATCH 1/2] vga_switcheroo: Remove unbalanced pci_enable_device Alex Williamson
  2011-05-02  0:49 ` [PATCH 2/2] drm/nouveau: Check that the device is enabled before processing interrupt Alex Williamson
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Williamson @ 2011-05-02  0:49 UTC (permalink / raw)
  To: airlied, dri-devel; +Cc: alex.williamson, linux-kernel

On an Intel/Nvidia hybrid graphics system, using the integrated
graphics and powering off the discrete, one of the primary sources
of system hangs seems to be the nouveau driver processing interrupts
while the device is powered off.  This short series removes the
unbalanced pci_enable_device() from core switcheroo code, allowing
us to check pci_is_enabled() from the nouveau irq handler to determine
whether to touch hardware.  Thanks,

Alex

---

Alex Williamson (2):
      drm/nouveau: Check that the device is enabled before processing interrupt
      vga_switcheroo: Remove unbalanced pci_enable_device


 drivers/gpu/drm/nouveau/nouveau_drv.c |    2 ++
 drivers/gpu/drm/nouveau/nouveau_irq.c |    3 +++
 drivers/gpu/vga/vga_switcheroo.c      |    6 ------
 3 files changed, 5 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-04  4:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02  0:49 [PATCH 0/2] vga switcheroo: Prevent nouveau irq handler from kill the system Alex Williamson
2011-05-02  0:49 ` [PATCH 1/2] vga_switcheroo: Remove unbalanced pci_enable_device Alex Williamson
2011-05-04  3:49   ` Dave Airlie
2011-05-02  0:49 ` [PATCH 2/2] drm/nouveau: Check that the device is enabled before processing interrupt Alex Williamson
2011-05-04  3:50   ` Dave Airlie
2011-05-04  4:18     ` Alex Williamson
2011-05-04  4:22       ` Dave Airlie
2011-05-04  4:47         ` Alex Williamson
2011-05-04  4:55           ` Dave Airlie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox