pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-ati Updated xf86-video-ati to 7.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/442889deb6df
branches:  trunk
changeset: 359683:442889deb6df
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 16 12:04:25 2017 +0000

description:
Updated xf86-video-ati to 7.9.0.

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

Highlights:

* Allow TearFree to be toggled at runtime via an RandR output property
  "TearFree". The xorg.conf option "TearFree" now controls the default
  value of the output properties.
* Use glamor by default for 2D acceleration with >= R600 and Xorg >=
  1.18.3.
* Ship 10-radeon.conf xorg.conf.d snippet for Xorg >= 1.16, so that the
  radeon driver can be loaded automatically even when the ati wrapper
  driver isn't installed.
* Support loading the amdgpu driver from the ati wrapper driver.
* Use DRM render nodes for DRI3 clients when available.

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


Emil Velikov (1):
      autogen.sh: use quoted string variables

Jammy Zhou (1):
      Use render node for DRI3 if available

Jochen Rollwagen (3):
      fix build for xserver < 1.13
      Calculate log base 2 in radeon.h based on clz for all platforms
      Fix build for XServer 1.13

Michel D?nzer (38):
      Post-release version bump
      Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available
      Enable glamor by default with >= R600 and Xorg >= 1.18.3
      Don't install Flush/EventCallback for GPU screens
      Pass fb_id into drmmode_page_flip_target_absolute/relative
      Add radeon_is_gpu_screen helper
      Take current scanout_id into account everywhere involved with TearFree
      Fix radeon_scanout_extents_intersect for GPU screens
      Call ValidateGC after ChangeClip in radeon_sync_scanout_pixmaps
      Call radeon_drm_abort_entry on failure to flip to a scanout pixmap
      Simplify drmmode_handle_uevents
      Pass pitch from drmmode_crtc_scanout_allocate to drmmode_create_bo_pixmap
      .editorconfig: src/ati.c only uses spaces for indentation
      ati: Support loading the amdgpu driver from the ati wrapper
      Add 10-radeon.conf xorg.conf.d snippet
      Enable tiling by default with glamor on PALM
      Don't handle Option "SwapbuffersWait" at all with glamor
      Fix flip event data leak if calloc or drmModeAddFB fails
      Don't destroy current FB if drmModeAddFB fails
      Factor out radeon_prime_dirty_to_crtc helper
      Factor out drmmode_crtc_scanout_update helper
      Allow toggling TearFree at runtime via output property
      Use drmmode_crtc_scanout_free in drmmode_fini
      present: Only call drmModeRmFB after setting modes for unflip
      present: Wait for screen pixmap BO idle before setting modes for unflip
      Call drmmode_crtc_scanout_create in drmmode_crtc_shadow_allocate as well
      Fold drmmode_crtc_scanout_allocate into drmmode_crtc_scanout_create
      Handle rotation in the driver also with Xorg 1.12-1.18
      present: Also flush before using a flip to unflip
      present: Use async flip for unflip if possible
      present: Flush before flipping
      Fix bogus indentation
      Call drmmode_set_desired_modes from a WindowExposures hook
      Move DPMS check from radeon_scanout_do_update to radeon_scanout_flip
      Don't call radeon_cs_flush_indirect & radeon_bo_wait in drmmode_copy_fb
      Skip some initialization steps for GPU screens
      Pass TRUE to drmmode_set_desired_modes the first time for GPU screens
      Bump version for 7.9.0 release

Mihail Konev (1):
      autogen: add default patch prefix

Peter Hutterer (1):
      autogen.sh: use exec instead of waiting for configure to finish

jimqu (1):
      udev_monitor_receive_device() will block when hotplug monitor

diffstat:

 x11/xf86-video-ati/Makefile                        |   5 +-
 x11/xf86-video-ati/PLIST                           |   3 +-
 x11/xf86-video-ati/distinfo                        |  11 +--
 x11/xf86-video-ati/patches/patch-src_radeon__kms.c |  59 ----------------------
 4 files changed, 9 insertions(+), 69 deletions(-)

diffs (103 lines):

diff -r f408d8b86e69 -r 442889deb6df x11/xf86-video-ati/Makefile
--- a/x11/xf86-video-ati/Makefile       Thu Mar 16 11:57:02 2017 +0000
+++ b/x11/xf86-video-ati/Makefile       Thu Mar 16 12:04:25 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2017/02/02 18:54:44 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2017/03/16 12:04:25 wiz Exp $
 
-DISTNAME=      xf86-video-ati-7.8.0
-PKGREVISION=   1
+DISTNAME=      xf86-video-ati-7.9.0
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2
diff -r f408d8b86e69 -r 442889deb6df x11/xf86-video-ati/PLIST
--- a/x11/xf86-video-ati/PLIST  Thu Mar 16 11:57:02 2017 +0000
+++ b/x11/xf86-video-ati/PLIST  Thu Mar 16 12:04:25 2017 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2013/05/16 06:02:58 richard Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/03/16 12:04:25 wiz Exp $
 lib/xorg/modules/drivers/ati_drv.la
 lib/xorg/modules/drivers/radeon_drv.la
 man/man4/ati.4
 man/man4/radeon.4
+share/X11/xorg.conf.d/10-radeon.conf
diff -r f408d8b86e69 -r 442889deb6df x11/xf86-video-ati/distinfo
--- a/x11/xf86-video-ati/distinfo       Thu Mar 16 11:57:02 2017 +0000
+++ b/x11/xf86-video-ati/distinfo       Thu Mar 16 12:04:25 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.29 2017/02/02 18:54:44 wiz Exp $
+$NetBSD: distinfo,v 1.30 2017/03/16 12:04:25 wiz Exp $
 
-SHA1 (xf86-video-ati-7.8.0.tar.bz2) = 30c4470d1252eade1d5c5998e42b66b0ac80a638
-RMD160 (xf86-video-ati-7.8.0.tar.bz2) = f5c6d63a33690fa7e035175a541cb33fef0c4fac
-SHA512 (xf86-video-ati-7.8.0.tar.bz2) = e09b7aca819656359d32b11f4314f2ad77b7a28d481b2cf17ea62f2e2385f9b40f568d5c76360c800c60c00671f0262277cdefde4c0744f2ed9b3b2fa90a37a9
-Size (xf86-video-ati-7.8.0.tar.bz2) = 845702 bytes
-SHA1 (patch-src_radeon__kms.c) = 61bbcb37bf986982cd27520eb48babac342e4fe0
+SHA1 (xf86-video-ati-7.9.0.tar.bz2) = 86ee6db1d7dcdeb1948aeb7965be8102c18be46b
+RMD160 (xf86-video-ati-7.9.0.tar.bz2) = b9e6650008e4c43e45f7a603b7431bc296dc1475
+SHA512 (xf86-video-ati-7.9.0.tar.bz2) = 125e035da6581520d677c56474653ed75aa6d168bf5450cc973248416b5ada3114ea14d0615b44c58029bb1702609453ab532a506273df2a5dd99dd2af4a9d43
+Size (xf86-video-ati-7.9.0.tar.bz2) = 848502 bytes
diff -r f408d8b86e69 -r 442889deb6df x11/xf86-video-ati/patches/patch-src_radeon__kms.c
--- a/x11/xf86-video-ati/patches/patch-src_radeon__kms.c        Thu Mar 16 11:57:02 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-$NetBSD: patch-src_radeon__kms.c,v 1.4 2017/02/02 18:54:44 wiz Exp $
-
-From FreeBSD ports / DragonFly dports
-PR 50067
-
---- src/radeon_kms.c.orig      2016-11-17 02:23:37.000000000 +0000
-+++ src/radeon_kms.c
-@@ -30,6 +30,12 @@
- 
- #include <errno.h>
- #include <sys/ioctl.h>
-+
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
-+#include <sys/param.h>
-+#include <sys/linker.h>
-+#endif
-+
- /* Driver data structures */
- #include "radeon.h"
- #include "radeon_drm_queue.h"
-@@ -811,7 +817,7 @@ radeon_dirty_update(ScrnInfoPtr scrn)
- {
-       RADEONInfoPtr info = RADEONPTR(scrn);
-       ScreenPtr screen = scrn->pScreen;
--      PixmapDirtyUpdatePtr ent;
-+      PixmapDirtyUpdatePtr ent = NULL;
-       RegionPtr region;
- 
-       xorg_list_for_each_entry(ent, &screen->pixmap_dirty_list, ent) {
-@@ -1391,7 +1397,11 @@ static int radeon_get_drm_master_fd(Scrn
- #endif
-     struct pci_device *dev = info->PciInfo;
-     char *busid;
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
-+    int fd, err;
-+#else
-     int fd;
-+#endif
- 
- #ifdef XF86_PDEV_SERVER_FD
-     if (pRADEONEnt->platform_dev) {
-@@ -1405,6 +1415,17 @@ static int radeon_get_drm_master_fd(Scrn
-     XNFasprintf(&busid, "pci:%04x:%02x:%02x.%d",
-                 dev->domain, dev->bus, dev->dev, dev->func);
- 
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
-+    err = kldload("radeonkms");
-+    if (err == -1 && errno != EEXIST) {
-+        xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-+               "[drm] Failed to load kernel module for %s: %s\n",
-+               busid, strerror(errno));
-+        free(busid);
-+        return -1;
-+    }
-+#endif
-+
-     fd = drmOpen(NULL, busid);
-     if (fd == -1)
-       xf86DrvMsg(pScrn->scrnIndex, X_ERROR,



Home | Main Index | Thread Index | Old Index