On Thu, Sep 24, 2026 at 07:50:18PM -0300, Jason Gunthorpe wrote: > On Mon, Sep 07, 2026 at 11:12:06PM -0500, Mario Limonciello wrote: > > +EXPORT_SYMBOL_GPL(amd_iommu_enable_perfopt); > > Last time we hardwired the GPU and IOMMU drivers together it was a > huge mess to undo.
Every time a driver depends on an exact iommu driver is a major design problem. > Why does the GPU driver have to request this? Why can't the iommu > driver know that this is a special device that can use this magic fast > path and then auto set it when identity is asked for? > > How does the GPU driver even know it is magic special? Yes. And WTF is "perfopt" supposed to mean. Everything is a performance optimization.
