]> git.baikalelectronics.ru Git - kernel.git/commit
[AGPGART] intel_agp: restore graphics device's pci space early in resume
authorWang Zhenyu <zhenyu.z.wang@intel.com>
Wed, 17 Jan 2007 03:07:54 +0000 (11:07 +0800)
committerDave Jones <davej@redhat.com>
Wed, 17 Jan 2007 05:26:30 +0000 (00:26 -0500)
commita472163e378c10d37e16e944e2b77608a27c6e19
treee19b8e1c8177ed8a2715f723e278fcd19381807e
parentf885ede7ce84f7ac32e83a1eec7bf66906b8ca9b
[AGPGART] intel_agp: restore graphics device's pci space early in resume

Currently in resuming path graphics device's pci space restore is
behind host bridge, so resume function wrongly accesses graphics
device's space. This makes resuming failure which crashed X.
here's a patch to restore device's pci space early, which makes
resuming ok with X.

Signed-off-by: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/intel-agp.c