[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)
commit4b95320fc4d21b0ff2f8604305dd6c851aff6096
treee19b8e1c8177ed8a2715f723e278fcd19381807e
parent7b37b064c294af350c462f77d7a9a44485a93684
[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