]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/amd: Disable IOMMU on Stoney Ridge systems
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 10 Feb 2020 07:51:15 +0000 (15:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:18:27 +0000 (07:18 +0100)
commit3c026a60ac7c8287d73b1fb01199a641da922b28
treea04548e7ba91abaa19c0e8d7c147e92dc7fd9dc7
parent32d685b88b265ef672ad1148efb74958a0a9d83c
iommu/amd: Disable IOMMU on Stoney Ridge systems

[ Upstream commit 3dfee47b215e49788cfc80e474820ea2e948c031 ]

Serious screen flickering when Stoney Ridge outputs to a 4K monitor.

Use identity-mapping and PCI ATS doesn't help this issue.

According to Alex Deucher, IOMMU isn't enabled on Windows, so let's do
the same here to avoid screen flickering on 4K monitor.

Cc: Alex Deucher <alexander.deucher@amd.com>
Bug: https://gitlab.freedesktop.org/drm/amd/issues/961
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/amd_iommu_init.c