Hello community, here is the log from the commit of package xf86-video-amdgpu for openSUSE:Factory checked in at 2019-03-26 22:30:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-amdgpu (Old) and /work/SRC/openSUSE:Factory/.xf86-video-amdgpu.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-amdgpu" Tue Mar 26 22:30:07 2019 rev:23 rq:687666 version:19.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-amdgpu/xf86-video-amdgpu.changes 2019-03-12 09:47:16.071611580 +0100 +++ /work/SRC/openSUSE:Factory/.xf86-video-amdgpu.new.25356/xf86-video-amdgpu.changes 2019-03-26 22:30:08.617738781 +0100 @@ -1,0 +2,8 @@ +Fri Mar 22 13:08:07 UTC 2019 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 19.0.1 + * Add support for RandR output tile properties, allowing + monitors using DisplayPort Multi Stream Transport tiling + to work better out of the box. + +------------------------------------------------------------------- Old: ---- xf86-video-amdgpu-19.0.0.tar.bz2 xf86-video-amdgpu-19.0.0.tar.bz2.sig New: ---- xf86-video-amdgpu-19.0.1.tar.bz2 xf86-video-amdgpu-19.0.1.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-amdgpu.spec ++++++ --- /var/tmp/diff_new_pack.LKlOAo/_old 2019-03-26 22:30:10.389738353 +0100 +++ /var/tmp/diff_new_pack.LKlOAo/_new 2019-03-26 22:30:10.429738344 +0100 @@ -21,7 +21,7 @@ %define pci_ids_dir %{_sysconfdir}/X11/xorg_pci_ids %endif Name: xf86-video-amdgpu -Version: 19.0.0 +Version: 19.0.1 Release: 0 Summary: AMDGPU video driver for the Xorg X server License: MIT ++++++ xf86-video-amdgpu-19.0.0.tar.bz2 -> xf86-video-amdgpu-19.0.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-amdgpu-19.0.0/ChangeLog new/xf86-video-amdgpu-19.0.1/ChangeLog --- old/xf86-video-amdgpu-19.0.0/ChangeLog 2019-03-06 12:43:13.000000000 +0100 +++ new/xf86-video-amdgpu-19.0.1/ChangeLog 2019-03-19 18:50:39.000000000 +0100 @@ -1,3 +1,23 @@ +commit bd4ffd4ebbdf1c43ab9e1ef9ba8b812fd2dde4a4 +Author: Michel Dänzer <michel.daen...@amd.com> +Date: Tue Mar 19 18:44:31 2019 +0100 + + Bump version for the 19.0.1 release + +commit 6ee857726166f495abcd68e4ff60e3a09593d079 +Author: Dave Airlie <airl...@redhat.com> +Date: Mon Mar 23 11:33:23 2015 +1000 + + modesetting: add tile property support + + This adds tiling support to the driver, it retrieves the tile info from + the kernel and translates it into the server format and exposes the + property. + + (Ported from xserver commits 8fb8bbb3062f1a06621ab7030a9e89d5e8367b35 + and 6abdb54a11dac4e8854ff94ecdcb90a14321ab31) + Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> + commit 9534bf3bb33d14cd3a5af08e36ef42b309647fc7 Author: Michel Dänzer <michel.daen...@amd.com> Date: Wed Mar 6 12:05:14 2019 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-amdgpu-19.0.0/configure new/xf86-video-amdgpu-19.0.1/configure --- old/xf86-video-amdgpu-19.0.0/configure 2019-03-06 12:42:57.000000000 +0100 +++ new/xf86-video-amdgpu-19.0.1/configure 2019-03-19 18:50:23.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for xf86-video-amdgpu 19.0.0. +# Generated by GNU Autoconf 2.69 for xf86-video-amdgpu 19.0.1. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/AMDgpu>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='xf86-video-amdgpu' PACKAGE_TARNAME='xf86-video-amdgpu' -PACKAGE_VERSION='19.0.0' -PACKAGE_STRING='xf86-video-amdgpu 19.0.0' +PACKAGE_VERSION='19.0.1' +PACKAGE_STRING='xf86-video-amdgpu 19.0.1' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/AMDgpu' PACKAGE_URL='' @@ -1404,7 +1404,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 xf86-video-amdgpu 19.0.0 to adapt to many kinds of systems. +\`configure' configures xf86-video-amdgpu 19.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1476,7 +1476,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of xf86-video-amdgpu 19.0.0:";; + short | recursive ) echo "Configuration of xf86-video-amdgpu 19.0.1:";; esac cat <<\_ACEOF @@ -1635,7 +1635,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -xf86-video-amdgpu configure 19.0.0 +xf86-video-amdgpu configure 19.0.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2050,7 +2050,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by xf86-video-amdgpu $as_me 19.0.0, which was +It was created by xf86-video-amdgpu $as_me 19.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2921,7 +2921,7 @@ # Define the identity of the package. PACKAGE='xf86-video-amdgpu' - VERSION='19.0.0' + VERSION='19.0.1' cat >>confdefs.h <<_ACEOF @@ -20619,7 +20619,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by xf86-video-amdgpu $as_me 19.0.0, which was +This file was extended by xf86-video-amdgpu $as_me 19.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20685,7 +20685,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -xf86-video-amdgpu config.status 19.0.0 +xf86-video-amdgpu config.status 19.0.1 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/xf86-video-amdgpu-19.0.0/configure.ac new/xf86-video-amdgpu-19.0.1/configure.ac --- old/xf86-video-amdgpu-19.0.0/configure.ac 2019-03-06 12:42:30.000000000 +0100 +++ new/xf86-video-amdgpu-19.0.1/configure.ac 2019-03-19 18:49:55.000000000 +0100 @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-amdgpu], - [19.0.0], + [19.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/AMDgpu], [xf86-video-amdgpu]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-amdgpu-19.0.0/src/drmmode_display.c new/xf86-video-amdgpu-19.0.1/src/drmmode_display.c --- old/xf86-video-amdgpu-19.0.0/src/drmmode_display.c 2019-03-06 12:42:30.000000000 +0100 +++ new/xf86-video-amdgpu-19.0.1/src/drmmode_display.c 2019-03-19 18:49:55.000000000 +0100 @@ -2142,6 +2142,51 @@ return MODE_OK; } +static void +drmmode_output_attach_tile(xf86OutputPtr output) +{ +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1, 17, 99, 901, 0) + drmmode_output_private_ptr drmmode_output = output->driver_private; + drmModeConnectorPtr koutput = drmmode_output->mode_output; + AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(output->scrn); + struct xf86CrtcTileInfo tile_info, *set = NULL; + int i; + + if (!koutput) { + xf86OutputSetTile(output, NULL); + return; + } + + /* look for a TILE property */ + for (i = 0; i < koutput->count_props; i++) { + drmModePropertyPtr props; + props = drmModeGetProperty(pAMDGPUEnt->fd, koutput->props[i]); + if (!props) + continue; + + if (!(props->flags & DRM_MODE_PROP_BLOB)) { + drmModeFreeProperty(props); + continue; + } + + if (!strcmp(props->name, "TILE")) { + drmModeFreePropertyBlob(drmmode_output->tile_blob); + drmmode_output->tile_blob = + drmModeGetPropertyBlob(pAMDGPUEnt->fd, + koutput->prop_values[i]); + } + drmModeFreeProperty(props); + } + if (drmmode_output->tile_blob) { + if (xf86OutputParseKMSTile(drmmode_output->tile_blob->data, + drmmode_output->tile_blob->length, + &tile_info) == TRUE) + set = &tile_info; + } + xf86OutputSetTile(output, set); +#endif +} + static int koutput_get_prop_idx(int fd, drmModeConnectorPtr koutput, int type, const char *name) @@ -2213,6 +2258,8 @@ } xf86OutputSetEDID(output, mon); + drmmode_output_attach_tile(output); + /* modes should already be available */ for (i = 0; i < koutput->count_modes; i++) { Mode = xnfalloc(sizeof(DisplayModeRec)); @@ -2230,8 +2277,11 @@ drmmode_output_private_ptr drmmode_output = output->driver_private; int i; - if (drmmode_output->edid_blob) - drmModeFreePropertyBlob(drmmode_output->edid_blob); + drmModeFreePropertyBlob(drmmode_output->edid_blob); +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1, 17, 99, 901, 0) + drmModeFreePropertyBlob(drmmode_output->tile_blob); +#endif + for (i = 0; i < drmmode_output->num_props; i++) { drmModeFreeProperty(drmmode_output->props[i].mode_prop); free(drmmode_output->props[i].atoms); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-amdgpu-19.0.0/src/drmmode_display.h new/xf86-video-amdgpu-19.0.1/src/drmmode_display.h --- old/xf86-video-amdgpu-19.0.0/src/drmmode_display.h 2019-03-06 12:42:30.000000000 +0100 +++ new/xf86-video-amdgpu-19.0.1/src/drmmode_display.h 2019-03-19 18:49:55.000000000 +0100 @@ -163,6 +163,9 @@ drmModeConnectorPtr mode_output; drmModeEncoderPtr *mode_encoders; drmModePropertyBlobPtr edid_blob; +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1, 17, 99, 901, 0) + drmModePropertyBlobPtr tile_blob; +#endif int dpms_enum_id; int num_props; drmmode_prop_ptr props;