From e935925cd733fffef44b3e3210a875b57b3812e9 Mon Sep 17 00:00:00 2001 From: Jie Luo Date: Tue, 24 Jun 2008 10:38:31 -0700 Subject: [PATCH] i915: enable bus mastering on i915 at resume time 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 Signed-off-by: Jesse Barnes --- linux-core/i915_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c index a1964f4..be25239 100644 --- a/linux-core/i915_drv.c +++ b/linux-core/i915_drv.c @@ -95,6 +95,7 @@ static int i915_resume(struct drm_device *dev) pci_restore_state(dev->pdev); if (pci_enable_device(dev->pdev)) return -1; + pci_set_master(dev->pdev); i915_restore_state(dev); -- 2.7.4