aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2022-07-12 08:08:45 +0800
committerJoerg Roedel <[email protected]>2022-07-15 10:21:29 +0200
commitf19e038c25079edcba4796328d99ff00f2b47b68 (patch)
treecb57681be7be189b206ccc2b8490620c27eb1f92 /scripts/gdb/linux/tasks.py
parent933ab6d30153f937ffa9471ce64207e6d9acf56e (diff)
agp/intel: Use per device iommu check
The IOMMU subsystem has already provided an interface to query whether the IOMMU hardware is enabled for a specific device. This changes the check from Intel specific intel_iommu_gfx_mapped (globally exported by the Intel IOMMU driver) to probing the presence of IOMMU on a specific device using the generic device_iommu_mapped(). This follows commit cca084692394a ("drm/i915: Use per device iommu check") which converted drm/i915 driver to use device_iommu_mapped(). Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Steve Wahl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions