diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-05-31 17:38:11 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-06-10 14:42:08 +0100 |
commit | bbabaefbc4571546dd98da1fef0efcd8e3d94b3d (patch) | |
tree | 29d63950d54da7ccdca1760a73eb56c315c560d0 /include/drm | |
parent | 2492cd118dc5221953054e58f3fd81927b8beda9 (diff) |
iommu/amd: Cache pdev pointer to root-bridge
commit c1bf94ec1e12d76838ad485158aecf208ebd8fb9 upstream.
At some point pci_get_bus_and_slot started to enable
interrupts. Since this function is used in the
amd_iommu_resume path it will enable interrupts on resume
which causes a warning. The fix will use a cached pointer
to the root-bridge to re-enable the IOMMU in case the BIOS
is broken.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions