Thu Nov 17 21:00:05 2016 UTC ()
Updated xf86-video-amdgpu to 1.2.0.

I'm pleased to announce the 1.2.0 release of xf86-video-amdgpu, the Xorg
driver for AMD Radeon GPUs supported by the amdgpu kernel driver.
This release supports xserver versions 1.10-1.19.

Highlights:

* Significant 2D compositing performance increase.
* Option "TearFree" can now prevent tearing in all possible display
  configurations (with current versions of Xorg). Specifically, it's
  now also effective with arbitrary RandR transforms and with RandR 1.4
  slave output.
* DRI3 is now enabled by default if the Xorg version is >= 1.18.3 and
  glamor is enabled.
* DRI3/Present asynchronous page flips are now supported (requires
  corresponding kernel driver support, available in current versions of
  the Linux kernel). This can increase performance of fullscreen
  applications with sync-to-vblank disabled.
* The HW cursor can now be used with RandR 1.4 slave output or with
  TearFree & rotation.
* Performance improvements with RandR 1.4 slave output.
* The list of supported GPUs in the Xorg log file has been tidied up.
* RandR 1.4 provider capabilities are now advertised more accurately.
* Support for SI family GPUs.

Plus many other improvements and fixes. Thanks to everybody who
contributed to this release in any way!

Adam Jackson (1):
      Adapt Block/WakeupHandler signature for ABI 23

Alex Deucher (1):
      add missing bonaire pci id

Flora Cui (3):
      add strato pci id
      Add more Polaris 10 PCI IDs
      Add more Polaris 11 PCI IDs

Hans de Goede (3):
      Remove unnecessary fb addition from drmmode_xf86crtc_resize
      Only add main fb if necessary
      PRIME: Fix swapping of provider sink / source capabilities

Keith Packard (1):
      Use NotifyFd for drm fd

Marek Olšák (1):
      Fix cursor size for SI

Michel Dänzer (65):
      Post 1.1.0 release version bump
      Add support for async flips to radeon_do_pageflip
      present: Support async flips
      Enable DRI3 by default when building for Xorg >= 1.18.3
      Handle Zaphod mode correctly in amdgpu_mode_hotplug
      glamor: Fix amdgpu_glamor_share_pixmap_backing for priv->bo == NULL
      Remove amdgpu_share_pixmap_backing
      Add amdgpu_pixmap_get_tiling_info
      Consolidate get_drawable_pixmap helper
      Move DRI2's local fixup_glamor helper to amdgpu_glamor_set_pixmap_bo v2
      glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
      glamor: Make amdgpu_glamor_create_textured_pixmap take amdgpu_buffer*
      Propagate failure from amdgpu_set_pixmap_bo
      Use amdgpu_set_pixmap_bo in amdgpu_set_shared_pixmap_backing
      glamor: Fix leak of pixmap private when replacing BO
      Free priv in amdgpu_set_pixmap_bo also if priv->bo == NULL
      Adapt to XF86_CRTC_VERSION 7
      Call amdgpu_glamor_create_screen_resources after ModifyPixmapHeader
      Simplify drmmode_set_mode_major error handling
      Make sure drmmode_crtc->scanout[] are destroyed when not needed
      present: Don't allow flipping when using a dedicated scanout buffer
      dri2: Don't allow flipping when using a dedicated scanout buffer
      present: Separate checks for flips vs unflips v2
      Remove drmmode_load_palette
      Destroy all dedicated scanout buffers during CloseScreen
      Make the dedicated scanout mechanism work with arbitrary transforms v2
      Remove w/h parameters from amdgpu_scanout_extents_intersect
      Clear damage in amdgpu_scanout_update if it doesn't intersect the CRTC
      Add .editorconfig file
      Only use RandR APIs if RandR is enabled
      DRI2: Add interpolated_vblanks in amdgpu_dri2_get_crtc_msc
      Remove unused lut_r/g/b arrays from drmmode_crtc_private_rec
      Add Mullins PCI IDs
      Add missing Kaveri PCI ID (1318)
      Only list each unique chipset family once in the log file
      Add explicit AMDGPU_DRM_QUEUE_ERROR define
      Use EventCallback to avoid flushing every time in the FlushCallback
      Keep track of damage event related flushes per-client
      Wait for pending flips to complete before turning off an output or CRTC
      Use drmmode_crtc_scanout_* helpers for RandR 1.4 scanout pixmaps
      Handle RandR 1.4 slave dirty updates via amdgpu_drm_queue
      Track damage accurately for RandR 1.4 slave scanout
      Only copy from screen pixmap to shared pixmap on demand for slave scanout
      Factor out transform_region helper
      Move up amdgpu_scanout_extents_intersect
      Synchronize scanout pixmaps for TearFree
      Make TearFree effective with PRIME slave scanout
      Use --with-xorg-conf-dir=$prefix/share/X11/xorg.conf.d by default
      Fix handling of configure option --with-xorg-conf-dir
      Untangle HAS_XORG_CONF_DIR / --with-xorg-conf-dir lines in configure.ac
      Add support for ScreenPtr::SyncSharedPixmap
      Rotate and reflect cursor hotspot position for drmModeSetCursor2
      Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
      Order unique chipsets according to first appearance in ati_pciids.csv
      Sayōnara, AM_MAINTAINER_MODE!
      Don't rely on randr_crtc->scanout_pixmap in drmmode_set_scanout_pixmap
      Always call PixmapStopDirtyTracking in drmmode_set_scanout_pixmap
      Consume all available udev events at once
      present: Check tiling info for flips
      Require xserver 1.10 or newer
      Check Xorg version at runtime instead of build time in two places
      Refactor amdgpu_mode_hotplug
      Use pAMDGPUEnt to find both screens of a GPU in amdgpu_mode_hotplug
      manpage updates for the 1.2.0 release
      Bump version for 1.2.0 release

Qiang Yu (3):
      Remove RR_Capability_SinkOutput for GPU without CRTC.
      Fix amdgpu_mode_hotplug crash on multi GPU platform.
      DRI2: Fix amdgpu_dri2_exchange_buffers width/height copy'n'paste error

Ronie Salgado (1):
      Add SI PCI IDs

Tom St Denis (1):
      dri3: Return NULL from amdgpu_dri3_pixmap_from_fd if calloc fails.


(wiz)
diff -r1.9 -r1.10 pkgsrc/x11/xf86-video-amdgpu/Makefile
diff -r1.6 -r1.7 pkgsrc/x11/xf86-video-amdgpu/distinfo
diff -r1.1 -r0 pkgsrc/x11/xf86-video-amdgpu/patches/patch-src_compat-api.h

cvs diff -r1.9 -r1.10 pkgsrc/x11/xf86-video-amdgpu/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/xf86-video-amdgpu/Makefile 2016/10/08 10:34:18 1.9
+++ pkgsrc/x11/xf86-video-amdgpu/Makefile 2016/11/17 21:00:05 1.10
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.9 2016/10/08 10:34:18 ryoon Exp $ 1# $NetBSD: Makefile,v 1.10 2016/11/17 21:00:05 wiz Exp $
2 2
3DISTNAME= xf86-video-amdgpu-1.1.2 3DISTNAME= xf86-video-amdgpu-1.2.0
4CATEGORIES= x11 4CATEGORIES= x11
5MASTER_SITES= ${MASTER_SITE_XORG:=driver/} 5MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
6EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
7 7
8MAINTAINER= joerg@NetBSD.org 8MAINTAINER= joerg@NetBSD.org
9HOMEPAGE= http://xorg.freedesktop.org/ 9HOMEPAGE= http://xorg.freedesktop.org/
10COMMENT= Modular Xorg ATI (Tonga, Carrizo, Iceland, Fiji, Stoney) driver 10COMMENT= Modular Xorg ATI (Tonga, Carrizo, Iceland, Fiji, Stoney) driver
11 11
12USE_LIBTOOL= yes 12USE_LIBTOOL= yes
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_TOOLS+= gmake pkg-config 14USE_TOOLS+= gmake pkg-config
15 15
16CONFIGURE_ENV.SunOS+= DRIVER_MAN_SUFFIX=4 16CONFIGURE_ENV.SunOS+= DRIVER_MAN_SUFFIX=4

cvs diff -r1.6 -r1.7 pkgsrc/x11/xf86-video-amdgpu/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/xf86-video-amdgpu/distinfo 2016/11/16 22:19:16 1.6
+++ pkgsrc/x11/xf86-video-amdgpu/distinfo 2016/11/17 21:00:05 1.7
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.6 2016/11/16 22:19:16 wiz Exp $ 1$NetBSD: distinfo,v 1.7 2016/11/17 21:00:05 wiz Exp $
2 2
3SHA1 (xf86-video-amdgpu-1.1.2.tar.bz2) = 6f16fc95bd3d4ddc72e8c4e006097c3a3d75cdfd 3SHA1 (xf86-video-amdgpu-1.2.0.tar.bz2) = 434ab94fcda4070c333c208ffdc19c31341c01c1
4RMD160 (xf86-video-amdgpu-1.1.2.tar.bz2) = 8e9d3fd5a41411a80dbc67934fa5ed5ae8225bcc 4RMD160 (xf86-video-amdgpu-1.2.0.tar.bz2) = 8a9e675b8e3391f4ff13ed40e12a1c7464ac0c0b
5SHA512 (xf86-video-amdgpu-1.1.2.tar.bz2) = c381120000ba7ec1651f01e77e4093ccb939eb0e8925ea76532d6204b1072f3240cef412136ac4cf2a67268dfa9fda9bb455fe29874a4fd4a3be07d9a04b17ba 5SHA512 (xf86-video-amdgpu-1.2.0.tar.bz2) = 92253848e81e41ec971f0a706639eda4b5231b6944148e21bc0f58ac1d10b963a76a5f10f8ca7ec4b3a631306636ec31efa3e62433f5b95ebdb26e2b0561d0f2
6Size (xf86-video-amdgpu-1.1.2.tar.bz2) = 383690 bytes 6Size (xf86-video-amdgpu-1.2.0.tar.bz2) = 388108 bytes
7SHA1 (patch-src_compat-api.h) = 889f2b3fd51140f94ad63968bc11c1d3f9283d94 

File Deleted: pkgsrc/x11/xf86-video-amdgpu/patches/Attic/patch-src_compat-api.h