Emil had a solution to this, but it still seems to be under discussion. I think the plan is not to require amdgpu for r600.
Marek On Tue, May 30, 2017 at 11:14 PM, Vinson Lee <v...@freedesktop.org> wrote: > This is the r600 build error with libdrm < 2.4.81. > > CC common/common_libamd_common_la-ac_gpu_info.lo > common/ac_gpu_info.c: In function ‘ac_query_gpu_info’: > common/ac_gpu_info.c:161:36: error: ‘AMDGPU_HW_IP_VCN_DEC’ undeclared (first > use in this function) > r = amdgpu_query_hw_ip_info(dev, AMDGPU_HW_IP_VCN_DEC, 0, &vcn_dec); > ^~~~~~~~~~~~~~~~~~~~ > > Fixes: 0abc24723cdb ("amd/common: add vcn dec ip info query for amdgpu > version 3.17") > Signed-off-by: Vinson Lee <v...@freedesktop.org> > --- > configure.ac | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure.ac b/configure.ac > index b57be07e24ac..019f805bceea 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -2431,6 +2431,7 @@ if test -n "$with_gallium_drivers"; then > xr600) > HAVE_GALLIUM_R600=yes > PKG_CHECK_MODULES([RADEON], [libdrm >= $LIBDRM_RADEON_REQUIRED > libdrm_radeon >= $LIBDRM_RADEON_REQUIRED]) > + PKG_CHECK_MODULES([AMDGPU], [libdrm >= $LIBDRM_AMDGPU_REQUIRED > libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED]) > require_libdrm "r600" > if test "x$enable_llvm" = xyes; then > radeon_llvm_check $LLVM_REQUIRED_R600 "r600" > -- > 2.9.3 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev