From owner-svn-ports-head@FreeBSD.ORG Tue Nov 4 20:32:44 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4F3C773; Tue, 4 Nov 2014 20:32:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B068AAEB; Tue, 4 Nov 2014 20:32:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA4KWiCM090464; Tue, 4 Nov 2014 20:32:44 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA4KWiWZ090461; Tue, 4 Nov 2014 20:32:44 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <201411042032.sA4KWiWZ090461@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: Jean-Sebastien Pedron Date: Tue, 4 Nov 2014 20:32:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372171 - in head/x11-drivers/xf86-video-ati: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2014 20:32:45 -0000 Author: dumbbell (src committer) Date: Tue Nov 4 20:32:43 2014 New Revision: 372171 URL: https://svnweb.freebsd.org/changeset/ports/372171 QAT: https://qat.redports.org/buildarchive/r372171/ Log: xf86-video-ati: Update to 7.5.0 This update brings several bug fixes. Furthermore, it improves Glamor support, though this feature isn't supported by FreeBSD yet. Differential Revision: https://reviews.freebsd.org/D1106 Tested by: Many on freebsd-x11@ Reviewed by: bapt@, kwm@ Approved by: bapt@ Modified: head/x11-drivers/xf86-video-ati/Makefile head/x11-drivers/xf86-video-ati/distinfo head/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c Modified: head/x11-drivers/xf86-video-ati/Makefile ============================================================================== --- head/x11-drivers/xf86-video-ati/Makefile Tue Nov 4 20:28:43 2014 (r372170) +++ head/x11-drivers/xf86-video-ati/Makefile Tue Nov 4 20:32:43 2014 (r372171) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= xf86-video-ati -PORTVERSION= 7.2.0 -PORTREVISION= 4 +PORTVERSION= 7.5.0 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org @@ -10,7 +9,11 @@ COMMENT= X.Org ati display driver USE_GL= gl XORG_CAT= driver -USE_XORG= xf86driproto xineramaproto xf86miscproto glproto +USE_XORG= xf86driproto \ + xineramaproto \ + xf86miscproto \ + glproto \ + presentproto INSTALL_TARGET= install-strip # No Radeon kernel driver on non-x86 and PC98. ONLY_FOR_ARCHS= i386 amd64 Modified: head/x11-drivers/xf86-video-ati/distinfo ============================================================================== --- head/x11-drivers/xf86-video-ati/distinfo Tue Nov 4 20:28:43 2014 (r372170) +++ head/x11-drivers/xf86-video-ati/distinfo Tue Nov 4 20:32:43 2014 (r372171) @@ -1,4 +1,2 @@ -SHA256 (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = aa5286b3e4f0187d7df14785c06dd800255d9405205dbf061da5d77df86bec36 -SIZE (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = 1139495 -SHA256 (xorg/driver/xf86-video-ati-7.2.0.tar.bz2) = f30f5efdc8d7d18d06eda7ef2f91a8b7290f1cfbf6ff26362cd47ab8969daec4 -SIZE (xorg/driver/xf86-video-ati-7.2.0.tar.bz2) = 824613 +SHA256 (xorg/driver/xf86-video-ati-7.5.0.tar.bz2) = ec3e6f06b6cf9a40c72aafa3448aae8b034c80b37410ca9442d5cf6806e07936 +SIZE (xorg/driver/xf86-video-ati-7.5.0.tar.bz2) = 809756 Modified: head/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c ============================================================================== --- head/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c Tue Nov 4 20:28:43 2014 (r372170) +++ head/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c Tue Nov 4 20:32:43 2014 (r372171) @@ -1,5 +1,5 @@ ---- src/radeon_kms.c.orig 2013-08-07 10:44:09.000000000 +0200 -+++ src/radeon_kms.c 2013-08-31 19:29:11.369001510 +0200 +--- src/radeon_kms.c.orig 2014-10-02 05:31:27.000000000 +0200 ++++ src/radeon_kms.c 2014-10-23 18:56:18.359108170 +0200 @@ -30,6 +30,8 @@ #include @@ -9,7 +9,7 @@ /* Driver data structures */ #include "radeon.h" #include "radeon_reg.h" -@@ -270,7 +272,7 @@ +@@ -280,7 +282,7 @@ radeon_dirty_update(ScreenPtr screen) { RegionPtr region; @@ -18,20 +18,28 @@ if (xorg_list_is_empty(&screen->pixmap_dirty_list)) return; -@@ -606,6 +608,16 @@ +@@ -589,7 +591,7 @@ + #endif + struct pci_device *dev = info->PciInfo; + char *busid; +- int fd; ++ int fd, err; + + #ifdef XF86_PDEV_SERVER_FD + if (pRADEONEnt->platform_dev) { +@@ -608,6 +610,15 @@ dev->domain, dev->bus, dev->dev, dev->func); #endif + 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 FALSE; ++ return -1; + } + - info->dri2.drm_fd = drmOpen("radeon", busid); - if (info->dri2.drm_fd == -1) { - + fd = drmOpen(NULL, busid); + if (fd == -1) + xf86DrvMsg(pScrn->scrnIndex, X_ERROR,