Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xf86-video-nouveau for openSUSE:Factory checked in at 2021-11-11 21:35:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-nouveau (Old) and /work/SRC/openSUSE:Factory/.xf86-video-nouveau.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-nouveau" Thu Nov 11 21:35:48 2021 rev:20 rq:927989 version:1.0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-nouveau/xf86-video-nouveau.changes 2021-06-04 22:42:46.931077551 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-nouveau.new.1890/xf86-video-nouveau.changes 2021-11-11 21:35:52.852864972 +0100 @@ -1,0 +2,6 @@ +Thu Oct 28 14:40:59 UTC 2021 - Stefan Dirsch <[email protected]> + +- U_nouveau-fixup-driver-for-new-X-server-ABI.patch + * fixes build aginst xorg-server 21.1 + +------------------------------------------------------------------- New: ---- U_nouveau-fixup-driver-for-new-X-server-ABI.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-nouveau.spec ++++++ --- /var/tmp/diff_new_pack.AHbJjK/_old 2021-11-11 21:35:53.368865349 +0100 +++ /var/tmp/diff_new_pack.AHbJjK/_new 2021-11-11 21:35:53.372865352 +0100 @@ -25,6 +25,7 @@ URL: https://nouveau.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 Patch0: N_xf86-video-nouveau_nva3-noaccel-info.patch +Patch1: U_nouveau-fixup-driver-for-new-X-server-ABI.patch BuildRequires: libtool BuildRequires: pciutils-devel BuildRequires: pkgconfig @@ -47,6 +48,7 @@ %prep %setup -q %patch0 -p1 -F 1 -b .nva3info +%patch1 -p1 %build autoreconf -fi ++++++ U_nouveau-fixup-driver-for-new-X-server-ABI.patch ++++++ >From e80e73ced69b15662103d0fd6837db4ce6c6eb5b Mon Sep 17 00:00:00 2001 From: Dave Airlie <[email protected]> Date: Mon, 13 Jul 2020 09:20:15 +1000 Subject: [PATCH] nouveau: fixup driver for new X server ABI --- src/compat-api.h | 4 ++++ src/nouveau_exa.c | 2 +- src/nv_driver.c | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/compat-api.h b/src/compat-api.h index fde2f4b..8a1fcf9 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -102,4 +102,8 @@ #endif +#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2) +#define secondary_dst slave_dst +#endif + #endif diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index 55df6f8..db3b112 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -157,7 +157,7 @@ nouveau_exa_destroy_pixmap(ScreenPtr pScreen, void *priv) #ifdef NOUVEAU_PIXMAP_SHARING static Bool -nouveau_exa_share_pixmap_backing(PixmapPtr ppix, ScreenPtr slave, void **handle_p) +nouveau_exa_share_pixmap_backing(PixmapPtr ppix, ScreenPtr secondary, void **handle_p) { struct nouveau_bo *bo = nouveau_pixmap_bo(ppix); struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix); diff --git a/src/nv_driver.c b/src/nv_driver.c index e72a6b6..f9ab4af 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -559,16 +559,16 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty) { RegionRec pixregion; - PixmapRegionInit(&pixregion, dirty->slave_dst); + PixmapRegionInit(&pixregion, dirty->secondary_dst); - DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion); + DamageRegionAppend(&dirty->secondary_dst->drawable, &pixregion); #ifdef HAS_DIRTYTRACKING_ROTATION PixmapSyncDirtyHelper(dirty); #else PixmapSyncDirtyHelper(dirty, &pixregion); #endif - DamageRegionProcessPending(&dirty->slave_dst->drawable); + DamageRegionProcessPending(&dirty->secondary_dst->drawable); RegionUninit(&pixregion); } -- 2.26.2
