mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
linux:
- add patch from fedora
This commit is contained in:
parent
f4d3208dde
commit
320b6f72a9
26
packages/linux/patches/036-linux-2.6-cantiga-iommu-gfx.diff
Normal file
26
packages/linux/patches/036-linux-2.6-cantiga-iommu-gfx.diff
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
|
||||
index 4173125..baa32a0 100644
|
||||
--- a/drivers/pci/intel-iommu.c
|
||||
+++ b/drivers/pci/intel-iommu.c
|
||||
@@ -340,7 +340,7 @@ int dmar_disabled = 0;
|
||||
int dmar_disabled = 1;
|
||||
#endif /*CONFIG_DMAR_DEFAULT_ON*/
|
||||
|
||||
-static int __initdata dmar_map_gfx = 1;
|
||||
+static int dmar_map_gfx = 1;
|
||||
static int dmar_forcedac;
|
||||
static int intel_iommu_strict;
|
||||
|
||||
@@ -3728,6 +3728,12 @@ static void __devinit quirk_iommu_rwbf(struct pci_dev *dev)
|
||||
*/
|
||||
printk(KERN_INFO "DMAR: Forcing write-buffer flush capability\n");
|
||||
rwbf_quirk = 1;
|
||||
+
|
||||
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=538163 */
|
||||
+ if (dev->revision == 0x07) {
|
||||
+ printk(KERN_INFO "DMAR: Disabling IOMMU for graphics on this chipset\n");
|
||||
+ dmar_map_gfx = 0;
|
||||
+ }
|
||||
}
|
||||
|
||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_rwbf);
|
Loading…
x
Reference in New Issue
Block a user