* [PATCH] enable bus mastering on i915 at resume time
@ 2008-06-24 17:38 Jesse Barnes
0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2008-06-24 17:38 UTC (permalink / raw)
To: Linus Torvalds, Dave Airlie; +Cc: linux-kernel
From: Jie Luo <clotho67@gmail.com>
On 9xx chips, bus mastering needs to be enabled at resume time for much of the
chip to function. With this patch, vblank interrupts will work as expected
on resume, along with other chip functions. Fixes kernel bugzilla #10844.
Signed-off-by: Jie Luo <clotho67@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
--- drivers/char/drm/i915_drv.c 2008-06-20 15:35:50.000000000 +0800
+++ drivers/char/drm/i915_drv.c.new 2008-06-20 15:35:35.000000000 +0800
@@ -385,6 +385,7 @@ static int i915_resume(struct drm_device
pci_restore_state(dev->pdev);
if (pci_enable_device(dev->pdev))
return -1;
+ pci_set_master(dev->pdev);
pci_write_config_byte(dev->pdev, LBB, dev_priv->saveLBB);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-24 17:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-24 17:38 [PATCH] enable bus mastering on i915 at resume time Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®