Hello community, here is the log from the commit of package libdrm for openSUSE:Factory checked in at 2017-11-10 14:41:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdrm (Old) and /work/SRC/openSUSE:Factory/.libdrm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdrm" Fri Nov 10 14:41:36 2017 rev:132 rq:539320 version:2.4.88 Changes: -------- --- /work/SRC/openSUSE:Factory/libdrm/libdrm.changes 2017-11-04 19:28:15.279389140 +0100 +++ /work/SRC/openSUSE:Factory/.libdrm.new/libdrm.changes 2017-11-10 14:41:52.429757370 +0100 @@ -1,0 +2,6 @@ +Sun Nov 5 15:58:16 UTC 2017 - tobias.johannes.klausm...@mni.thm.de + +- Update to version 2.4.88: + + amdgpu: Fix wrappers for AMDGPU_VM IOCTL. + +------------------------------------------------------------------- Old: ---- libdrm-2.4.87.tar.bz2 New: ---- libdrm-2.4.88.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdrm.spec ++++++ --- /var/tmp/diff_new_pack.0mD486/_old 2017-11-10 14:41:53.349724115 +0100 +++ /var/tmp/diff_new_pack.0mD486/_new 2017-11-10 14:41:53.353723970 +0100 @@ -17,7 +17,7 @@ Name: libdrm -Version: 2.4.87 +Version: 2.4.88 Release: 0 Summary: Userspace Interface for Kernel DRM Services License: MIT ++++++ libdrm-2.4.87.tar.bz2 -> libdrm-2.4.88.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdrm-2.4.87/amdgpu/amdgpu.h new/libdrm-2.4.88/amdgpu/amdgpu.h --- old/libdrm-2.4.87/amdgpu/amdgpu.h 2017-10-31 15:50:00.000000000 +0100 +++ new/libdrm-2.4.88/amdgpu/amdgpu.h 2017-11-03 17:44:27.000000000 +0100 @@ -1496,7 +1496,7 @@ * * \return 0 on success otherwise POSIX Error code */ -int amdgpu_vm_reserve_vmid(amdgpu_context_handle context, uint32_t flags); +int amdgpu_vm_reserve_vmid(amdgpu_device_handle dev, uint32_t flags); /** * Free reserved VMID @@ -1505,7 +1505,7 @@ * * \return 0 on success otherwise POSIX Error code */ -int amdgpu_vm_unreserve_vmid(amdgpu_context_handle context, uint32_t flags); +int amdgpu_vm_unreserve_vmid(amdgpu_device_handle dev, uint32_t flags); #ifdef __cplusplus } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdrm-2.4.87/amdgpu/amdgpu_vm.c new/libdrm-2.4.88/amdgpu/amdgpu_vm.c --- old/libdrm-2.4.87/amdgpu/amdgpu_vm.c 2017-10-31 15:50:00.000000000 +0100 +++ new/libdrm-2.4.88/amdgpu/amdgpu_vm.c 2017-11-03 17:44:27.000000000 +0100 @@ -30,24 +30,24 @@ #include "xf86drm.h" #include "amdgpu_internal.h" -int amdgpu_vm_reserve_vmid(amdgpu_context_handle context, uint32_t flags) +int amdgpu_vm_reserve_vmid(amdgpu_device_handle dev, uint32_t flags) { union drm_amdgpu_vm vm; vm.in.op = AMDGPU_VM_OP_RESERVE_VMID; vm.in.flags = flags; - return drmCommandWriteRead(context->dev->fd, DRM_AMDGPU_VM, + return drmCommandWriteRead(dev->fd, DRM_AMDGPU_VM, &vm, sizeof(vm)); } -int amdgpu_vm_unreserve_vmid(amdgpu_context_handle context, uint32_t flags) +int amdgpu_vm_unreserve_vmid(amdgpu_device_handle dev, uint32_t flags) { union drm_amdgpu_vm vm; vm.in.op = AMDGPU_VM_OP_UNRESERVE_VMID; vm.in.flags = flags; - return drmCommandWriteRead(context->dev->fd, DRM_AMDGPU_VM, + return drmCommandWriteRead(dev->fd, DRM_AMDGPU_VM, &vm, sizeof(vm)); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdrm-2.4.87/configure new/libdrm-2.4.88/configure --- old/libdrm-2.4.87/configure 2017-10-31 15:50:05.000000000 +0100 +++ new/libdrm-2.4.88/configure 2017-11-03 17:44:32.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libdrm 2.4.87. +# Generated by GNU Autoconf 2.69 for libdrm 2.4.88. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=DRI>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='libdrm' PACKAGE_TARNAME='libdrm' -PACKAGE_VERSION='2.4.87' -PACKAGE_STRING='libdrm 2.4.87' +PACKAGE_VERSION='2.4.88' +PACKAGE_STRING='libdrm 2.4.88' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=DRI' PACKAGE_URL='' @@ -1433,7 +1433,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libdrm 2.4.87 to adapt to many kinds of systems. +\`configure' configures libdrm 2.4.88 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1504,7 +1504,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libdrm 2.4.87:";; + short | recursive ) echo "Configuration of libdrm 2.4.88:";; esac cat <<\_ACEOF @@ -1676,7 +1676,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libdrm configure 2.4.87 +libdrm configure 2.4.88 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2099,7 +2099,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libdrm $as_me 2.4.87, which was +It was created by libdrm $as_me 2.4.88, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3458,7 +3458,7 @@ # Define the identity of the package. PACKAGE='libdrm' - VERSION='2.4.87' + VERSION='2.4.88' cat >>confdefs.h <<_ACEOF @@ -15294,7 +15294,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libdrm $as_me 2.4.87, which was +This file was extended by libdrm $as_me 2.4.88, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15360,7 +15360,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libdrm config.status 2.4.87 +libdrm config.status 2.4.88 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdrm-2.4.87/configure.ac new/libdrm-2.4.88/configure.ac --- old/libdrm-2.4.87/configure.ac 2017-10-31 15:50:00.000000000 +0100 +++ new/libdrm-2.4.88/configure.ac 2017-11-03 17:44:27.000000000 +0100 @@ -20,7 +20,7 @@ AC_PREREQ([2.63]) AC_INIT([libdrm], - [2.4.87], + [2.4.88], [https://bugs.freedesktop.org/enter_bug.cgi?product=DRI], [libdrm]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdrm-2.4.87/tests/amdgpu/vm_tests.c new/libdrm-2.4.88/tests/amdgpu/vm_tests.c --- old/libdrm-2.4.87/tests/amdgpu/vm_tests.c 2017-10-31 15:50:00.000000000 +0100 +++ new/libdrm-2.4.88/tests/amdgpu/vm_tests.c 2017-11-03 17:44:27.000000000 +0100 @@ -88,7 +88,7 @@ CU_ASSERT_EQUAL(r, 0); flags = 0; - r = amdgpu_vm_reserve_vmid(context_handle, flags); + r = amdgpu_vm_reserve_vmid(device_handle, flags); CU_ASSERT_EQUAL(r, 0); @@ -142,7 +142,7 @@ CU_ASSERT_EQUAL(r, 0); flags = 0; - r = amdgpu_vm_unreserve_vmid(context_handle, flags); + r = amdgpu_vm_unreserve_vmid(device_handle, flags); CU_ASSERT_EQUAL(r, 0);