This version of libdrm was the first to privde DRM_FORMAT_R8,
DRM_FORMAT_GR88 and DRM_FORMAT_RG88, which are needed for dma-buf tests
since commit 0222f5db00fd47fb745402514a6d8cf2747f8434.

bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97951
cc: Vinson Lee <[email protected]>
Signed-off-by: Dylan Baker <[email protected]>
---
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4002fe9..084ccf0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -178,11 +178,11 @@ ENDIF()
 # The presence of libdrm is not sufficient. At least one libdrm_${hardware}
 # library is also needed.
 #
-# When building for Intel, libdrm_intel>=2.4.38 is required because support for
-# drm-prime arrived in that version.
+# When building for Intel, libdrm_intel>=2.4.68 is required because support
+# DRM_FORMAT_R8 and friends arrived in that commit.
 #
 if(LIBDRM_FOUND AND XCB_DRI2_FOUND AND
-   ((LIBDRM_INTEL_VERSION VERSION_GREATER "2.4.37") OR
+   ((LIBDRM_INTEL_VERSION VERSION_GREATER "2.4.68") OR
      PIGLIT_HAS_GBM_BO_MAP))
        set(PIGLIT_BUILD_DMA_BUF_TESTS_IS_VALID true)
 else()
-- 
2.10.0

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to