commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2017-04-14 13:37:01 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Fri Apr 14 13:37:01 2017 rev:9 rq:484371 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2016-02-17 12:26:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2017-04-14 13:37:04.260903595 +0200 @@ -1,0 +2,8 @@ +Sat Apr 1 22:37:21 UTC 2017 - afaer...@suse.de + +- Build fixes (backports) + xf86-video-freedreno-abi-23.patch + xf86-video-freedreno-notifyfd.patch + xf86-video-freedreno-notifyfd-more.patch + +--- New: xf86-video-freedreno-abi-23.patch xf86-video-freedreno-notifyfd-more.patch xf86-video-freedreno-notifyfd.patch Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.OBkgvX/_old 2017-04-14 13:37:05.048792244 +0200 +++ /var/tmp/diff_new_pack.OBkgvX/_new 2017-04-14 13:37:05.048792244 +0200 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-freedreno # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,9 @@ Url:https://github.com/freedreno/xf86-video-freedreno Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2 Source1: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2.sig +Patch1: https://github.com/freedreno/xf86-video-freedreno/commit/5c82dc7874b6eaff39dc8c8575e72e5a40f13ea6.patch#/xf86-video-freedreno-abi-23.patch +Patch2: https://github.com/freedreno/xf86-video-freedreno/commit/5f60ca4fe99199183dced955de0206acb5a5ebe9.patch#/xf86-video-freedreno-notifyfd.patch +Patch3: https://github.com/freedreno/xf86-video-freedreno/commit/6c8e21c686578f22d973a243a09c838943ddbadd.patch#/xf86-video-freedreno-notifyfd-more.patch Requires: xorg-x11-server BuildRequires: autoconf BuildRequires: automake @@ -49,8 +52,12 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build +autoreconf -fi export CFLAGS="%{optflags}" %configure --disable-static make %{?_smp_mflags} ++ xf86-video-freedreno-abi-23.patch ++ >From 5c82dc7874b6eaff39dc8c8575e72e5a40f13ea6 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 19 Jul 2016 10:03:56 -0400 Subject: [PATCH] Adapt Block/WakeupHandler signature for ABI 23 Signed-off-by: Adam Jackson --- src/compat-api.h | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compat-api.h b/src/compat-api.h index 4f7b9ea..15b92fe 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -76,8 +76,13 @@ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0) +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout +#define BLOCKHANDLER_ARGS arg, pTimeout +#else #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask +#endif #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen #define CLOSE_SCREEN_ARGS pScreen ++ xf86-video-freedreno-notifyfd-more.patch ++ >From 6c8e21c686578f22d973a243a09c838943ddbadd Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 7 Dec 2016 17:59:09 -0500 Subject: [PATCH] Use NotifyFd more completely previous commit missed some. Signed-off-by: Rob Clark --- src/Makefile.am | 1 - src/compat-api.h | 19 +++ src/drmmode_display.c | 18 ++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index d4c1289..f7d5dd1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,6 @@ AM_CFLAGS = \ @XORG_CFLAGS@ \ @XATRACKER_CFLAGS@ \ -Wall \ - -Werror \ -I$(top_srcdir)/system-includes/ \ -I$(top_builddir)/ diff --git a/src/compat-api.h b/src/compat-api.h index 80dabc1..af1b922 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -28,6 +28,11 @@ #ifndef COMPAT_API_H #define COMPAT_API_H +#include +#include +#include + +#include #ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR #define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum] #define SetGlyphPicture(g, s,
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2016-02-17 10:25:15 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2015-05-15 14:21:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2016-02-17 12:26:24.0 +0100 @@ -1,0 +2,9 @@ +Sat Feb 13 12:16:43 UTC 2016 - afaer...@suse.de + +- Updated to v1.4.0: +* Couple bug fixes +* Add output name for DSI (so doesn't show up as "Unknown") +- Don't package .la file +- Use %x11_abi_videodrv_req macro + +--- Old: xf86-video-freedreno-1.3.0.tar.bz2 xf86-video-freedreno-1.3.0.tar.bz2.sig New: xf86-video-freedreno-1.4.0.tar.bz2 xf86-video-freedreno-1.4.0.tar.bz2.sig Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.rpsVNA/_old 2016-02-17 12:26:25.0 +0100 +++ /var/tmp/diff_new_pack.rpsVNA/_new 2016-02-17 12:26:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-freedreno # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Summary:X.Org X server -- freedreno display driver License:MIT and BSD-3-Clause Group: System/X11/Servers/XF86_4 -Version:1.3.0 +Version:1.4.0 Release:0.0 ExclusiveArch: %arm Url:https://github.com/freedreno/xf86-video-freedreno @@ -42,6 +42,8 @@ BuildRequires: pkgconfig(xorg-server) BuildRequires: pkgconfig(xproto) +%x11_abi_videodrv_req + %description Open-source X.org graphics driver for Qualcomm Adreno graphics @@ -55,12 +57,12 @@ %install %make_install +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files %defattr(-,root,root,-) %dir %{_libdir}/xorg/modules/drivers %{_libdir}/xorg/modules/drivers/*.so -%{_libdir}/xorg/modules/drivers/*.la %doc %{_mandir}/man4/freedreno.4.gz /usr/share/X11/xorg.conf.d/42-freedreno.conf ++ xf86-video-freedreno-1.3.0.tar.bz2 -> xf86-video-freedreno-1.4.0.tar.bz2 ++ 1918 lines of diff (skipped) retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-freedreno-1.3.0/NEWS new/xf86-video-freedreno-1.4.0/NEWS --- old/xf86-video-freedreno-1.3.0/NEWS 2014-10-04 13:59:21.0 +0200 +++ new/xf86-video-freedreno-1.4.0/NEWS 2015-10-08 20:56:08.0 +0200 @@ -1,3 +1,13 @@ +Release 1.4.0 (2015-10-08) +== + + * Couple bug fixes + + * Add output name for DSI (so doesn't show up as "Unknown") + +NOTE: if you have a new enough xserver to use xf86-video-modesetting +with glamor, you probably should. + Release 1.3.0 (2014-10-04) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xf86-video-freedreno-1.3.0/compile new/xf86-video-freedreno-1.4.0/compile --- old/xf86-video-freedreno-1.3.0/compile 1970-01-01 01:00:00.0 +0100 +++ new/xf86-video-freedreno-1.4.0/compile 2015-06-15 20:53:24.0 +0200 @@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2015-05-15 14:21:12 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2014-08-29 17:43:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2015-05-15 14:21:13.0 +0200 @@ -1,0 +2,11 @@ +Tue Apr 28 02:58:31 UTC 2015 - afaer...@suse.de + +- Updated to v1.3.0: +* fix problems with multiple displays and display resolutions + which are not multiple of 32 +* server managed fd fixes +* fix problem with black screen after server regeneration + (ScreenClose) +* fix possible segfault on dri2 client disconnect + +--- Old: xf86-video-freedreno-1.2.0.tar.bz2 New: xf86-video-freedreno-1.3.0.tar.bz2 xf86-video-freedreno-1.3.0.tar.bz2.sig Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.Brl4co/_old 2015-05-15 14:21:16.0 +0200 +++ /var/tmp/diff_new_pack.Brl4co/_new 2015-05-15 14:21:16.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-freedreno # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,11 +20,12 @@ Summary:X.Org X server -- freedreno display driver License:MIT and BSD-3-Clause Group: System/X11/Servers/XF86_4 -Version:1.2.0 +Version:1.3.0 Release:0.0 ExclusiveArch: %arm Url:https://github.com/freedreno/xf86-video-freedreno Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2 +Source1: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2.sig Requires: xorg-x11-server BuildRequires: autoconf BuildRequires: automake ++ xf86-video-freedreno-1.2.0.tar.bz2 -> xf86-video-freedreno-1.3.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.2.0/COPYING new/xf86-video-freedreno-1.3.0/COPYING --- old/xf86-video-freedreno-1.2.0/COPYING 1970-01-01 01:00:00.0 +0100 +++ new/xf86-video-freedreno-1.3.0/COPYING 2014-08-25 16:01:27.0 +0200 @@ -0,0 +1,50 @@ +Copyright © 2012-2014 Red Hat, Inc. +Copyright © 2012-2014 Rob Clark +Copyright © 2007, 2013 Dave Airlie +Copyright © 2008 Maarten Maathuis + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of Code Aurora nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permissi
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2014-08-29 17:43:12 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2014-06-18 07:52:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2014-08-29 17:43:15.0 +0200 @@ -1,0 +2,9 @@ +Sat Aug 23 12:52:43 UTC 2014 - afaer...@suse.de + +- Updated to v1.2.0: +* support for server managed fd's (ie. running xserver as non-root) +* platform-probe and autoconfig support, so no .conf file needed + with xserver 1.16+ +* bump libdrm requirement, and misc fixes + +--- Old: xf86-video-freedreno-1.1.0.tar.bz2 New: xf86-video-freedreno-1.2.0.tar.bz2 Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.2OCnqe/_old 2014-08-29 17:43:18.0 +0200 +++ /var/tmp/diff_new_pack.2OCnqe/_new 2014-08-29 17:43:18.0 +0200 @@ -20,7 +20,7 @@ Summary:X.Org X server -- freedreno display driver License:MIT and BSD-3-Clause Group: System/X11/Servers/XF86_4 -Version:1.1.0 +Version:1.2.0 Release:0.0 ExclusiveArch: %arm Url:https://github.com/freedreno/xf86-video-freedreno @@ -60,6 +60,7 @@ %dir %{_libdir}/xorg/modules/drivers %{_libdir}/xorg/modules/drivers/*.so %{_libdir}/xorg/modules/drivers/*.la -%doc /usr/share/man/man4/freedreno.4.gz +%doc %{_mandir}/man4/freedreno.4.gz +/usr/share/X11/xorg.conf.d/42-freedreno.conf %changelog ++ xf86-video-freedreno-1.1.0.tar.bz2 -> xf86-video-freedreno-1.2.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.1.0/Makefile.am new/xf86-video-freedreno-1.2.0/Makefile.am --- old/xf86-video-freedreno-1.1.0/Makefile.am 2014-03-05 14:32:05.0 +0100 +++ new/xf86-video-freedreno-1.2.0/Makefile.am 2014-07-14 19:52:33.0 +0200 @@ -19,4 +19,4 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. AUTOMAKE_OPTIONS = foreign -SUBDIRS = src man +SUBDIRS = src man conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.1.0/Makefile.in new/xf86-video-freedreno-1.2.0/Makefile.in --- old/xf86-video-freedreno-1.1.0/Makefile.in 2014-05-06 15:10:50.0 +0200 +++ new/xf86-video-freedreno-1.2.0/Makefile.in 2014-07-14 19:58:13.0 +0200 @@ -327,6 +327,7 @@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ +configdir = @configdir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ @@ -362,7 +363,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign -SUBDIRS = src man +SUBDIRS = src man conf all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.1.0/NEWS new/xf86-video-freedreno-1.2.0/NEWS --- old/xf86-video-freedreno-1.1.0/NEWS 2014-05-06 15:08:58.0 +0200 +++ new/xf86-video-freedreno-1.2.0/NEWS 2014-07-14 19:57:11.0 +0200 @@ -1,3 +1,13 @@ +Release 1.2.0 (2014-07-14) +== + + * support for server managed fd's (ie. running xserver as non-root) + + * platform-probe and autoconfig support, so no .conf file needed + with xserver 1.16+ + + * bump libdrm requirement, and misc fixes + Release 1.1.0 (2014-05-06) == Overdue for another release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.1.0/conf/42-freedreno.conf new/xf86-video-freedreno-1.2.0/conf/42-freedreno.conf --- old/xf86-video-freedreno-1.1.0/conf/42-freedreno.conf 1970-01-01 01:00:00.0 +0100 +++ new/xf86-video-freedreno-1.2.0/conf/42-freedreno.conf 2014-07-14 19:52:33.0 +0200 @@ -0,0 +1,5 @@ +Section "OutputClass" + Identifier "Video driver for Qualcomm processors" + MatchDriver "msm" + Driver "freedreno" +EndSection diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xf86-video-freedreno-1.1.0/conf/Makefile.am new/xf86-video-freedreno-1.2.0/conf/Makefile.am --- old/xf86-video-freedreno-1.1.0/conf/Makefile.am 1970-01-01 01:00:00.0 +0100 +++ new/xf86-video-freedreno-1.2.0/conf/Makef
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2014-06-18 07:50:25 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2014-05-05 21:14:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2014-06-18 07:52:37.0 +0200 @@ -1,0 +2,14 @@ +Sun May 25 13:01:02 UTC 2014 - afaer...@suse.de + +- Updated to v1.1.0: +* XA state tracker support for 2D accel using 3D core on devices + without a z180/2d core. (Ie. anything recent.) +* Updates for cursor ABI changes in latest xserver +* Lots of bug fixes +* Now has a man page which actually documents conf file options +* Obsoletes U_drop-drm_mode-include.patch and + U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch +* Require libdrm 2.4.54 +* Package new man page + +--- Old: U_drop-drm_mode-include.patch U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch xf86-video-freedreno-1.0.0.tar.bz2 New: xf86-video-freedreno-1.1.0.tar.bz2 Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.4LEzsD/_old 2014-06-18 07:52:38.0 +0200 +++ /var/tmp/diff_new_pack.4LEzsD/_new 2014-06-18 07:52:38.0 +0200 @@ -20,18 +20,16 @@ Summary:X.Org X server -- freedreno display driver License:MIT and BSD-3-Clause Group: System/X11/Servers/XF86_4 -Version:1.0.0 +Version:1.1.0 Release:0.0 ExclusiveArch: %arm Url:https://github.com/freedreno/xf86-video-freedreno Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2 -Patch0: U_drop-drm_mode-include.patch -Patch1: U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch Requires: xorg-x11-server BuildRequires: autoconf BuildRequires: automake -BuildRequires: libdrm-devel -BuildRequires: libdrm2 +BuildRequires: libdrm-devel >= 2.4.54 +BuildRequires: libdrm2 >= 2.4.54 BuildRequires: libtool BuildRequires: libudev-devel BuildRequires: pkgconfig(fontsproto) @@ -48,8 +46,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build export CFLAGS="%{optflags}" @@ -64,5 +60,6 @@ %dir %{_libdir}/xorg/modules/drivers %{_libdir}/xorg/modules/drivers/*.so %{_libdir}/xorg/modules/drivers/*.la +%doc /usr/share/man/man4/freedreno.4.gz %changelog ++ xf86-video-freedreno-1.0.0.tar.bz2 -> xf86-video-freedreno-1.1.0.tar.bz2 ++ 3823 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2014-05-05 21:14:15 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2014-02-02 22:24:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2014-05-05 21:14:34.0 +0200 @@ -1,0 +2,6 @@ +Tue Apr 29 21:42:38 UTC 2014 - afaer...@suse.de + +- Fix build with recent X.org versions + U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch + +--- New: U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.nprbHl/_old 2014-05-05 21:14:35.0 +0200 +++ /var/tmp/diff_new_pack.nprbHl/_new 2014-05-05 21:14:35.0 +0200 @@ -26,6 +26,7 @@ Url:https://github.com/freedreno/xf86-video-freedreno Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2 Patch0: U_drop-drm_mode-include.patch +Patch1: U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch Requires: xorg-x11-server BuildRequires: autoconf BuildRequires: automake @@ -48,6 +49,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags}" ++ U_kms-fb-fix-load_cursor_argb-for-the-new-Xorg-ABI.patch ++ >From c747229b81ecebd06526ee86127ebc9b00228b54 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 27 Apr 2014 12:23:18 -0400 Subject: [PATCH] kms/fb: fix load_cursor_argb for the new Xorg ABI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch-mainline: Upstream Git-commit: 1727d268841139661619681fcef2ac36cf1b0978 Signed-off-by: Rob Clark (cherry picked from commit 1727d268841139661619681fcef2ac36cf1b0978) Signed-off-by: Andreas Färber --- src/drmmode_display.c | 23 --- src/fbmode_display.c | 26 +++--- 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index cd205db..6cdaa34 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -323,21 +323,38 @@ convert_cursor(CARD32 *dst, CARD32 *src, int dw, int sw) } } -static void -drmmode_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image) +static Bool +load_cursor_argb(xf86CrtcPtr crtc, CARD32 *image) { drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; struct fd_bo *cursor = drmmode_crtc->cursor; drmmode_ptr drmmode = drmmode_crtc->drmmode; void *ptr = fd_bo_map(cursor); + int ret = 0; convert_cursor(ptr, image, 64, 64); if (drmmode_crtc->cursor_visible) { - drmModeSetCursor(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id, + ret = drmModeSetCursor(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id, fd_bo_handle(cursor), 64, 64); } + + return ret == 0; +} + +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,902,0) +static Bool +drmmode_load_cursor_argb(xf86CrtcPtr crtc, CARD32 *image) +{ + return load_cursor_argb(crtc, image); +} +#else +static void +drmmode_load_cursor_argb(xf86CrtcPtr crtc, CARD32 *image) +{ + load_cursor_argb(crtc, image); } +#endif static void drmmode_hide_cursor (xf86CrtcPtr crtc) diff --git a/src/fbmode_display.c b/src/fbmode_display.c index 357c16e..3cbf647 100644 --- a/src/fbmode_display.c +++ b/src/fbmode_display.c @@ -315,8 +315,8 @@ MSMCrtcHideCursor(xf86CrtcPtr crtc) _enable_cursor(crtc->driver_private, FALSE); } -static void -MSMCrtcLoadCursorARGB(xf86CrtcPtr crtc, CARD32 * image) +static Bool +load_cursor_argb(xf86CrtcPtr crtc, CARD32 * image) { #ifdef MSMFB_CURSOR fbmode_ptr fbmode = crtc->driver_private; @@ -333,11 +333,31 @@ MSMCrtcLoadCursorARGB(xf86CrtcPtr crtc, CARD32 * image) /* Per pixel alpha on */ cursor.image.fg_color = 0; - if (ioctl(fbmode->fd, MSMFB_CURSOR, &cursor)) + if (ioctl(fbmode->fd, MSMFB_CURSOR, &cursor)) { ErrorF("%s: Error calling MSMBF_CURSOR\n", __FUNCTION__); + return FALSE; + } + return TRUE; +#else + return FALSE; #endif } +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,902,0) +static Bool +MSMCrtcLoadCursorARGB(xf86CrtcPtr crtc, CARD32 * image) +{ + return load_cursor_argb(crtc, imag
commit xf86-video-freedreno for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-video-freedreno for openSUSE:Factory checked in at 2014-02-02 22:24:15 Comparing /work/SRC/openSUSE:Factory/xf86-video-freedreno (Old) and /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new (New) Package is "xf86-video-freedreno" Changes: --- /work/SRC/openSUSE:Factory/xf86-video-freedreno/xf86-video-freedreno.changes 2014-01-23 15:58:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.xf86-video-freedreno.new/xf86-video-freedreno.changes 2014-02-02 22:24:16.0 +0100 @@ -1,0 +2,5 @@ +Sat Jan 18 08:21:36 UTC 2014 - afaer...@suse.de + +- Code uses not only MIT license but also BSD-3-Clause + +--- Other differences: -- ++ xf86-video-freedreno.spec ++ --- /var/tmp/diff_new_pack.YbQ9DO/_old 2014-02-02 22:24:17.0 +0100 +++ /var/tmp/diff_new_pack.YbQ9DO/_new 2014-02-02 22:24:17.0 +0100 @@ -18,7 +18,7 @@ Name: xf86-video-freedreno Summary:X.Org X server -- freedreno display driver -License:MIT +License:MIT and BSD-3-Clause Group: System/X11/Servers/XF86_4 Version:1.0.0 Release:0.0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org