mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-04 00:30:21 +01:00
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 <clotho67@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
5d27fd94af
commit
e935925cd7
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue