Skip to content

Commit 8b572a4

Browse files
icklejnikula
authored andcommitted
agp/intel: Fix typo in needs_ilk_vtd_wa()
In needs_ilk_vtd_wa(), we pass in the GPU device but compared it against the ids for the mobile GPU and the mobile host bridge. That latter is impossible and so likely was just a typo for the desktop GPU device id (which is also buggy). Fixes commit da88a5f Author: Chris Wilson <[email protected]> Date: Wed Feb 13 09:31:53 2013 +0000 drm/i915: Disable WC PTE updates to w/a buggy IOMMU on ILK Reported-by: Ting-Wei Lan <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91127 References: https://bugzilla.freedesktop.org/show_bug.cgi?id=60391 Signed-off-by: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Jani Nikula <[email protected]>
1 parent 0024526 commit 8b572a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/agp/intel-gtt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static inline int needs_ilk_vtd_wa(void)
581581
/* Query intel_iommu to see if we need the workaround. Presumably that
582582
* was loaded first.
583583
*/
584-
if ((gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB ||
584+
if ((gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_D_IG ||
585585
gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG) &&
586586
intel_iommu_gfx_mapped)
587587
return 1;

0 commit comments

Comments
 (0)