Linux 7.4-rc2 Tweaks AMD PerfOpt for Integrated Radeon GPUs
Linux 7.4-rc2 is expected to include IOMMU-related tweaks to AMD PerfOpt, which lets integrated Radeon GPUs bypass the IOMMU when accessing system memory directly.
Linux 7.4-rc2 is expected for testing later today with several IOMMU-related changes to AMD’s PerfOpt code. The stable Linux 7.4 release is expected around the end of December, but no exact date is specified.
PerfOpt allows AMD SoCs with integrated Radeon graphics to bypass the IOMMU when the GPU directly accesses system memory. It is enabled by default for supported integrated GPUs through the AMDGPU driver and can improve iGPU performance, particularly for AI and large-language-model workloads.
The revised implementation enables PerfOpt through IOMMU domain attachment paths rather than an AMDGPU policy parameter and exported enable/disable interfaces. It also clears the bypass when a GPU moves to translated or blocked domains, including unmanaged VFIO domains, and restores the state after resume when appropriate.
The changes apply beyond AMD’s newest Radeon integrated GPUs and are also expected to benefit supported prior-generation hardware. The amdgpu.iommu_perfopt module parameter is removed, so users will no longer have that parameter for directly comparing PerfOpt performance on their hardware.