<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:binli@gnome.org" title="BinLi <binli@gnome.org>"> <span class="fn">BinLi</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - System hang when running glmark2 benchmark test"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74701">bug 74701</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - System hang when running glmark2 benchmark test"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74701#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - System hang when running glmark2 benchmark test"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74701">bug 74701</a>
              from <span class="vcard"><a class="email" href="mailto:binli@gnome.org" title="BinLi <binli@gnome.org>"> <span class="fn">BinLi</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=74701#c3">comment #3</a>)
<span class="quote">> That lockup is someone's elses workitem freezing. Can you grab the error
> message from a vanilla kernel (i.e. not one of Ubuntu's frankenkernels).</span >

I found a mainline kernel in below link, and I install the headers and
linux-image-extra at the same time.

<a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.7.30-quantal/linux-image-3.5.7-03050730-generic_3.5.7-03050730.201402120735_amd64.deb">http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.7.30-quantal/linux-image-3.5.7-03050730-generic_3.5.7-03050730.201402120735_amd64.deb</a>

But after build the drm-dkms-i915, it was failed when build the module.

implict declaration of function 'intel_enable_gtt'

So I checked the header file, it's a little difference.

So currently I can't install the drm-dkms, any idea? Thanks!

--- linux-headers-3.5.7-03050730/include/drm/intel-gtt.h        2014-02-17
18:54:53.852340109 +0800
+++ linux-headers-3.5.0-45/include/drm/intel-gtt.h      2013-12-04
23:18:32.000000000 +0800
@@ -3,7 +3,7 @@
 #ifndef _DRM_INTEL_GTT_H
 #define        _DRM_INTEL_GTT_H

-const struct intel_gtt {
+struct intel_gtt {
        /* Size of memory reserved for graphics by the BIOS */
        unsigned int stolen_size;
        /* Total number of gtt entries. */
@@ -17,10 +17,18 @@
        unsigned int do_idle_maps : 1;
        /* Share the scratch page dma with ppgtts. */
        dma_addr_t scratch_page_dma;
+       struct page *scratch_page;
        /* for ppgtt PDE access */
        u32 __iomem *gtt;
+       /* needed for ioremap in drm/i915 */
+       phys_addr_t gma_bus_addr;
 } *intel_gtt_get(void);

+int intel_gmch_probe(struct pci_dev *bridge_pdev, struct pci_dev *gpu_pdev,
+                    struct agp_bridge_data *bridge);
+void intel_gmch_remove(void);
+
+bool intel_enable_gtt(void);

 void intel_gtt_chipset_flush(void);
 void intel_gtt_unmap_memory(struct scatterlist *sg_list, int num_sg);
@@ -31,6 +39,9 @@
                                 unsigned int sg_len,
                                 unsigned int pg_start,
                                 unsigned int flags);
+void intel_gtt_insert_sg_entries_hsw(struct sg_table *st,
+                                 unsigned int pg_start,
+                                 unsigned int flags);
 void intel_gtt_insert_pages(unsigned int first_entry, unsigned int
num_entries,
                            struct page **pages, unsigned int flags);</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>
      </ul>
    </body>
</html>