Quoting Dylan Baker (2016-09-27 15:14:18)
> 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 <v...@freedesktop.org>
> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
> ---
>  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

And cmake, stupidity, this should be VERSION_GREATER "2.4.67"

I've changed it locally.

>       PIGLIT_HAS_GBM_BO_MAP))
>         set(PIGLIT_BUILD_DMA_BUF_TESTS_IS_VALID true)
>  else()
> -- 
> 2.10.0
> 

Attachment: signature.asc
Description: signature

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to