Skip to contentSkip to conversation

enable bus mastering on i915 at resume time

PATCH New Jesse Barnes 1 participant 1 message Jun 24, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enable bus mastering on i915 at resume time

From: Jie Luo <[email protected]>

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.

char/drm/i915_drv.c.new renamed from char/drm/i915_drv.c +1 -0
@@ -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);