drm/radeon/kms: resume AGP by calling init.
AGP resume was broken since we moved to the new init path, because we never re-enabled AGP on these systems at resume time. This patch just calls the AGP resume call which just does the reinit at resume time like the old path did. Since AGP is pretty much gpu independant I did it outside the gpu specific code. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a8a8a669ea
commit
0ebf17174b
3 changed files with 15 additions and 0 deletions
|
@ -688,6 +688,8 @@ int radeon_resume_kms(struct drm_device *dev)
|
|||
return -1;
|
||||
}
|
||||
pci_set_master(dev->pdev);
|
||||
/* resume AGP if in use */
|
||||
radeon_agp_resume(rdev);
|
||||
radeon_resume(rdev);
|
||||
radeon_restore_bios_scratch_regs(rdev);
|
||||
fb_set_suspend(rdev->fbdev_info, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue