iommu/vt-d: Add device_def_domain_type() helper
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 25 May 2019 05:41:26 +0000 (13:41 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 28 May 2019 08:19:08 +0000 (10:19 +0200)
commitf273a453b740772beef4ccb7220cb930176ab38b
tree9b5479ea7dc553e999b3baf7da274c85fa82b0b7
parentd8190dc638866fe5811d4b45b3af6f34b3f5870f
iommu/vt-d: Add device_def_domain_type() helper

This helper returns the default domain type that the device
requires.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c