[Mesa-dev] [PATCH] configure.ac require libdrm 2.4.65 for amdgpu because of drmGetDevice

Emil Velikov emil.l.velikov at gmail.com
Sun Mar 13 21:54:42 UTC 2016


Hi Marek,

On 13 March 2016 at 16:46, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
The struct is available in 2.4.65, although the functions
(drm{Get,Free}Device) are available since 2.4.66 afaics.

Mildly related: Not sure it there are any non PCI ATI/AMD devices,
then again one should check drmDevice::bus_type prior to accessing
drmDevice::bus_info.pci.

> src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c not longer compile:
> error: unknown type name ‘drmDevicePtr’
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 49be147..d768db6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -70,7 +70,7 @@ AC_SUBST([OPENCL_VERSION])
>  dnl Versions for external dependencies
>  LIBDRM_REQUIRED=2.4.60
>  LIBDRM_RADEON_REQUIRED=2.4.56
> -LIBDRM_AMDGPU_REQUIRED=2.4.63
> +LIBDRM_AMDGPU_REQUIRED=2.4.65
LIBDRM_REQUIRED should be bumped, as it's the one that provides the symbol(s).

-Emil


More information about the mesa-dev mailing list