Accepting request 950882 from home:13ilya

- Added patch kscreen-rotation-fix.patch (boo#1193145).

OBS-URL: https://build.opensuse.org/request/show/950882
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-ati?expand=0&rev=91
This commit is contained in:
Stefan Dirsch 2022-02-08 16:53:03 +00:00 committed by Git OBS Bridge
parent 5ef6d4aee6
commit a73a6588a9
3 changed files with 32 additions and 5 deletions

View File

@ -0,0 +1,24 @@
diff -Pdpru xf86-video-ati-19.1.0.orig/src/radeon_kms.c xf86-video-ati-19.1.0/src/radeon_kms.c
--- xf86-video-ati-19.1.0.orig/src/radeon_kms.c 2019-10-15 19:16:29.000000000 +0300
+++ xf86-video-ati-19.1.0/src/radeon_kms.c 2022-02-03 08:50:51.890820918 +0300
@@ -931,6 +931,11 @@ radeon_dirty_update(ScrnInfoPtr scrn)
}
}
+static void
+radeonSourceValidate(DrawablePtr draw, int x, int y, int w, int h,
+ unsigned int subWindowMode)
+{
+}
Bool
radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
@@ -993,7 +998,7 @@ radeon_scanout_do_update(xf86CrtcPtr xf8
SetPicturePictFilter(src, xf86_crtc->filter, xf86_crtc->params,
xf86_crtc->nparams);
- pScreen->SourceValidate = NULL;
+ pScreen->SourceValidate = radeonSourceValidate;
CompositePicture(PictOpSrc,
src, NULL, dst,
extents.x1, extents.y1, 0, 0, extents.x1,

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 3 06:46:11 UTC 2022 - Илья Индиго <ilya@ilya.pp.ua>
- Added patch kscreen-rotation-fix.patch (boo#1193145).
-------------------------------------------------------------------
Thu Oct 28 14:31:23 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
@ -682,4 +687,3 @@ Wed Apr 18 15:51:24 UTC 2012 - vuntz@opensuse.org
- Split xf86-video-ati from xorg-x11-driver-video.
Initial version: 6.14.3.

View File

@ -1,7 +1,7 @@
#
# spec file for package xf86-video-ati
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,6 +29,7 @@ Source1: https://xorg.freedesktop.org/releases/individual/driver/%{name}-
Source2: %{name}.keyring
Patch0: u_fno-common.patch
Patch1: U_ati-cleanup-terminology-to-use-primary-secondary.patch
Patch2: kscreen-rotation-fix.patch
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
@ -67,9 +68,7 @@ or earlier class of chipset, and loads the radeon, r128, or mach64
driver as appropriate.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
%build
autoreconf -fiv