[packages/xorg-driver-video-ati] - updated to 22.0.0

qboosh qboosh at pld-linux.org
Thu Apr 27 20:58:11 CEST 2023


commit 83dd26bb38e28353ecdc05ee3570ea2953a61fe9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 27 21:00:52 2023 +0200

    - updated to 22.0.0

 gcc10.patch                |  11 ----
 pc.patch                   | 161 ---------------------------------------------
 xorg-driver-video-ati.spec |  26 ++++----
 3 files changed, 11 insertions(+), 187 deletions(-)
---
diff --git a/xorg-driver-video-ati.spec b/xorg-driver-video-ati.spec
index 73ba66b..2c7e6a9 100644
--- a/xorg-driver-video-ati.spec
+++ b/xorg-driver-video-ati.spec
@@ -6,14 +6,12 @@
 Summary:	X.org video drivers for ATI Radeon adapters
 Summary(pl.UTF-8):	Sterowniki obrazu X.org do kart graficznych ATI Radeon
 Name:		xorg-driver-video-ati
-Version:	19.1.0
-Release:	3
+Version:	22.0.0
+Release:	1
 License:	MIT
 Group:		X11/Applications
-Source0:	https://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.bz2
-# Source0-md5:	6e49d3c2839582af415ceded76e626e6
-Patch0:		pc.patch
-Patch1:		gcc10.patch
+Source0:	https://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.xz
+# Source0-md5:	33c7b049c526aa9bf3654890c4d7b860
 URL:		https://xorg.freedesktop.org/
 BuildRequires:	Mesa-libGL-devel
 BuildRequires:	Mesa-libgbm-devel >= 10.6
@@ -23,6 +21,7 @@ BuildRequires:	libdrm-devel >= %{libdrm_ver}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	rpmbuild(macros) >= 1.389
+BuildRequires:	tar >= 1:1.22
 BuildRequires:	udev-devel
 BuildRequires:	xorg-lib-libpciaccess-devel >= 0.8.0
 BuildRequires:	xorg-proto-fontsproto-devel
@@ -33,19 +32,18 @@ BuildRequires:	xorg-proto-xextproto-devel >= 7.0.99.1
 BuildRequires:	xorg-proto-xf86driproto-devel
 BuildRequires:	xorg-proto-xproto-devel
 BuildRequires:	xorg-util-util-macros >= 1.8
-BuildRequires:	xorg-xserver-server-devel >= 1.13
-%{?with_glamor:BuildRequires:	xorg-xserver-server-devel >= 1.16.0}
+BuildRequires:	xorg-xserver-server-devel >= 1.16
+BuildRequires:	xz
 %{?requires_xorg_xserver_videodrv}
 Requires:	Mesa-libgbm >= 10.6
 Requires:	libdrm >= %{libdrm_ver}
-Requires:	xorg-xserver-libdri >= 1.13
-Requires:	xorg-xserver-libglx >= 1.13
-Requires:	xorg-xserver-server >= 1.13
-%{?with_glamor:Requires:	xorg-xserver-server >= 1.16.0}
+Requires:	xorg-xserver-libdri >= 1.16
+Requires:	xorg-xserver-libglx >= 1.16
+Requires:	xorg-xserver-server >= 1.16
 Provides:	xorg-driver-video
 Obsoletes:	X11-driver-ati < 1:7.0.0
 Obsoletes:	X11-driver-radeon < 1:7.0.0
-Obsoletes:	XFree86-ATI
+Obsoletes:	XFree86-ATI < 4
 Obsoletes:	XFree86-driver-ati < 1:7.0.0
 Obsoletes:	XFree86-driver-radeon < 1:7.0.0
 Conflicts:	vbetool
@@ -187,8 +185,6 @@ następujących układach ATI:
 
 %prep
 %setup -q -n xf86-video-ati-%{version}
-%patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/gcc10.patch b/gcc10.patch
deleted file mode 100644
index 753aea4..0000000
--- a/gcc10.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- xf86-video-ati-19.1.0/src/drmmode_display.h~	2019-10-15 18:16:29.000000000 +0200
-+++ xf86-video-ati-19.1.0/src/drmmode_display.h	2021-11-03 16:18:06.074327806 +0100
-@@ -262,7 +262,7 @@
- 			 uint64_t *ust, uint32_t *result_seq);
- 
- 
--miPointerSpriteFuncRec drmmode_sprite_funcs;
-+extern miPointerSpriteFuncRec drmmode_sprite_funcs;
- 
- 
- #endif
diff --git a/pc.patch b/pc.patch
deleted file mode 100644
index 68699f0..0000000
--- a/pc.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-diff -ur xf86-video-ati-19.1.0/src/drmmode_display.c xf86-video-ati-19.1.0-pc/src/drmmode_display.c
---- xf86-video-ati-19.1.0/src/drmmode_display.c	2019-10-15 18:16:29.000000000 +0200
-+++ xf86-video-ati-19.1.0-pc/src/drmmode_display.c	2021-11-03 16:12:18.529160483 +0100
-@@ -720,7 +720,7 @@
- 		xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list,
- 					 ent) {
- 			if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) {
--				dirty->slave_dst =
-+				dirty->secondary_dst =
- 					drmmode_crtc->scanout[scanout_id].pixmap;
- 				break;
- 			}
-@@ -1356,7 +1356,7 @@
- 
- 	xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list, ent) {
- 		if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) {
--			PixmapStopDirtyTracking(dirty->src, dirty->slave_dst);
-+			PixmapStopDirtyTracking(dirty->src, dirty->secondary_dst);
- 			break;
- 		}
- 	}
-diff -ur xf86-video-ati-19.1.0/src/radeon.h xf86-video-ati-19.1.0-pc/src/radeon.h
---- xf86-video-ati-19.1.0/src/radeon.h	2019-10-15 18:16:29.000000000 +0200
-+++ xf86-video-ati-19.1.0-pc/src/radeon.h	2021-11-03 16:13:14.916887353 +0100
-@@ -184,8 +184,8 @@
- static inline ScreenPtr
- radeon_master_screen(ScreenPtr screen)
- {
--    if (screen->current_master)
--	return screen->current_master;
-+    if (screen->current_primary)
-+	return screen->current_primary;
- 
-     return screen;
- }
-@@ -193,7 +193,7 @@
- static inline ScreenPtr
- radeon_dirty_master(PixmapDirtyUpdatePtr dirty)
- {
--    return radeon_master_screen(dirty->slave_dst->drawable.pScreen);
-+    return radeon_master_screen(dirty->secondary_dst->drawable.pScreen);
- }
- 
- static inline DrawablePtr
-diff -ur xf86-video-ati-19.1.0/src/radeon_kms.c xf86-video-ati-19.1.0-pc/src/radeon_kms.c
---- xf86-video-ati-19.1.0/src/radeon_kms.c	2019-10-15 18:16:29.000000000 +0200
-+++ xf86-video-ati-19.1.0-pc/src/radeon_kms.c	2021-11-03 16:14:05.084381691 +0100
-@@ -559,8 +559,8 @@
- 	if (dirty->rotation != RR_Rotate_0) {
- 		dstregion = transform_region(damageregion,
- 					     &dirty->f_inverse,
--					     dirty->slave_dst->drawable.width,
--					     dirty->slave_dst->drawable.height);
-+					     dirty->secondary_dst->drawable.width,
-+					     dirty->secondary_dst->drawable.height);
- 	} else
- #endif
- 	{
-@@ -568,7 +568,7 @@
- 
- 	    dstregion = RegionDuplicate(damageregion);
- 	    RegionTranslate(dstregion, -dirty->x, -dirty->y);
--	    PixmapRegionInit(&pixregion, dirty->slave_dst);
-+	    PixmapRegionInit(&pixregion, dirty->secondary_dst);
- 	    RegionIntersect(dstregion, dstregion, &pixregion);
- 	    RegionUninit(&pixregion);
- 	}
-@@ -585,8 +585,8 @@
- 	if (RegionNil(region))
- 		goto out;
- 
--	if (dirty->slave_dst->master_pixmap)
--	    DamageRegionAppend(&dirty->slave_dst->drawable, region);
-+	if (dirty->secondary_dst->primary_pixmap)
-+	    DamageRegionAppend(&dirty->secondary_dst->drawable, region);
- 
- #ifdef HAS_DIRTYTRACKING_ROTATION
- 	PixmapSyncDirtyHelper(dirty);
-@@ -595,8 +595,8 @@
- #endif
- 
- 	radeon_cs_flush_indirect(src_scrn);
--	if (dirty->slave_dst->master_pixmap)
--	    DamageRegionProcessPending(&dirty->slave_dst->drawable);
-+	if (dirty->secondary_dst->primary_pixmap)
-+	    DamageRegionProcessPending(&dirty->secondary_dst->drawable);
- 
- out:
- 	DamageEmpty(dirty->damage);
-@@ -618,7 +618,7 @@
-     RegionPtr region;
- 
-     xorg_list_for_each_entry(ent, &master_screen->pixmap_dirty_list, ent) {
--	if (!radeon_dirty_src_equals(dirty, ent->slave_dst))
-+	if (!radeon_dirty_src_equals(dirty, ent->secondary_dst))
- 	    continue;
- 
- 	region = dirty_region(ent);
-@@ -641,7 +641,7 @@
- static Bool
- slave_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty)
- {
--    ScreenPtr slave_screen = dirty->slave_dst->drawable.pScreen;
-+    ScreenPtr slave_screen = dirty->secondary_dst->drawable.pScreen;
- 
-     return !!slave_screen->SyncSharedPixmap;
- }
-@@ -667,7 +667,7 @@
- static Bool
- slave_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty)
- {
--    ScrnInfoPtr slave_scrn = xf86ScreenToScrn(dirty->slave_dst->drawable.pScreen);
-+    ScrnInfoPtr slave_scrn = xf86ScreenToScrn(dirty->secondary_dst->drawable.pScreen);
- 
-     return slave_scrn->driverName == scrn->driverName;
- }
-@@ -684,7 +684,7 @@
- static xf86CrtcPtr
- radeon_prime_dirty_to_crtc(PixmapDirtyUpdatePtr dirty)
- {
--    ScreenPtr screen = dirty->slave_dst->drawable.pScreen;
-+    ScreenPtr screen = dirty->secondary_dst->drawable.pScreen;
-     ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
-     xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
-     int c;
-@@ -727,7 +727,7 @@
- 		radeon_cs_flush_indirect(scrn);
- 		RegionCopy(&drmmode_crtc->scanout_last_region, region);
- 		RegionTranslate(region, -crtc->x, -crtc->y);
--		dirty->slave_dst = drmmode_crtc->scanout[scanout_id].pixmap;
-+		dirty->secondary_dst = drmmode_crtc->scanout[scanout_id].pixmap;
- 	    }
- 
- 	    redisplay_dirty(dirty, region);
-@@ -754,7 +754,7 @@
- static void
- radeon_prime_scanout_update(PixmapDirtyUpdatePtr dirty)
- {
--    ScreenPtr screen = dirty->slave_dst->drawable.pScreen;
-+    ScreenPtr screen = dirty->secondary_dst->drawable.pScreen;
-     ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
-     RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
-     xf86CrtcPtr xf86_crtc = radeon_prime_dirty_to_crtc(dirty);
-@@ -818,7 +818,7 @@
- static void
- radeon_prime_scanout_flip(PixmapDirtyUpdatePtr ent)
- {
--    ScreenPtr screen = ent->slave_dst->drawable.pScreen;
-+    ScreenPtr screen = ent->secondary_dst->drawable.pScreen;
-     ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
-     RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
-     xf86CrtcPtr crtc = radeon_prime_dirty_to_crtc(ent);
-@@ -897,7 +897,7 @@
- 				ScreenPtr master_screen = radeon_dirty_master(ent);
- 
- 				xorg_list_for_each_entry(region_ent, &master_screen->pixmap_dirty_list, ent) {
--					if (radeon_dirty_src_equals(ent, region_ent->slave_dst))
-+					if (radeon_dirty_src_equals(ent, region_ent->secondary_dst))
- 						break;
- 				}
- 			}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-ati.git/commitdiff/83dd26bb38e28353ecdc05ee3570ea2953a61fe9



More information about the pld-cvs-commit mailing list