<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Graphics problems with intel_iommu=on on Linux >= 3.7"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91127#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Graphics problems with intel_iommu=on on Linux >= 3.7"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91127">bug 91127</a>
              from <span class="vcard"><a class="email" href="mailto:lantw44@gmail.com" title="Ting-Wei Lan <lantw44@gmail.com>"> <span class="fn">Ting-Wei Lan</span></a>
</span></b>
        <pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=91127#c6">comment #6</a>)
<span class="quote">> (In reply to Ting-Wei Lan from <a href="show_bug.cgi?id=91127#c5">comment #5</a>)
> > My gpu_devid is 0x0042, but
> > PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB is 0x0044 and
> > PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG is 0x0046.

> diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
> index 3bb678e..7c68576 100644
> --- a/drivers/char/agp/intel-gtt.c
> +++ b/drivers/char/agp/intel-gtt.c
> @@ -581,7 +581,7 @@ static inline int needs_ilk_vtd_wa(void)
>         /* Query intel_iommu to see if we need the workaround. Presumably
> that
>          * was loaded first.
>          */
> -       if ((gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB ||
> +       if ((gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_D_IG ||
>              gpu_devid == PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG) &&
>              intel_iommu_gfx_mapped)
>                 return 1;</span >

This patch fixes the problem on my machine.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>