aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_devfreq.h
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2023-05-11 01:42:08 -0300
committerJoerg Roedel <[email protected]>2023-05-23 08:15:55 +0200
commit152431e4fe7f1aac8aa6cc57bfe58d2d2596be4d (patch)
tree36784fc8cda55c172b732e95405b58efeecb0cf5 /drivers/gpu/drm/lima/lima_devfreq.h
parente7f85dfbbc9cf8660174c45c213571aaa518df85 (diff)
iommu: Do iommu_group_create_direct_mappings() before attach
The iommu_probe_device() path calls iommu_create_device_direct_mappings() after attaching the device. IOMMU_RESV_DIRECT maps need to be continually in place, so if a hotplugged device has new ranges the should have been mapped into the default domain before it is attached. Move the iommu_create_device_direct_mappings() call up. Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Tested-by: Niklas Schnelle <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.h')
0 files changed, 0 insertions, 0 deletions