<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit_drm_dma_buf.c:142:7: error: ‘DRM_FORMAT_R8’ undeclared (first use in this function)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97951#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit_drm_dma_buf.c:142:7: error: ‘DRM_FORMAT_R8’ undeclared (first use in this function)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97951">bug 97951</a>
              from <span class="vcard"><a class="email" href="mailto:robclark@freedesktop.org" title="Rob Clark <robclark@freedesktop.org>"> <span class="fn">Rob Clark</span></a>
</span></b>
        <pre>hmm, well, this hunk was supposed to make it not build that code unless you
have 12.1.. although it's possible my cmake-fu was lacking somehow..

---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce7f3f8..4002fe9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,7 +141,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
        if(GBM_FOUND)
                set(PIGLIT_HAS_GBM True)
                add_definitions(-DPIGLIT_HAS_GBM)
-               if (GBM_VERSION VERSION_EQUAL "12.0" OR GBM_VERSION
VERSION_GREATER "12.0")
+               if (GBM_VERSION VERSION_EQUAL "12.1" OR GBM_VERSION
VERSION_GREATER "12.1")
                        set(PIGLIT_HAS_GBM_BO_MAP True)
                        add_definitions(-DPIGLIT_HAS_GBM_BO_MAP)
                endif()</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>