Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-ati
Commits: 42b259db by Timo Aaltonen at 2022-07-08T12:51:46+03:00 fix-rotation.diff: Fix crash on rotation. (Closes: #1009325) (LP: #1970473) - - - - - b061fe52 by Timo Aaltonen at 2022-07-08T12:52:41+03:00 release to sid - - - - - 3 changed files: - debian/changelog - + debian/patches/fix-rotation.diff - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +xserver-xorg-video-ati (1:19.1.0-3) unstable; urgency=medium + + * fix-rotation.diff: Fix crash on rotation. (Closes: #1009325) + (LP: #1970473) + + -- Timo Aaltonen <[email protected]> Fri, 08 Jul 2022 12:52:34 +0300 + xserver-xorg-video-ati (1:19.1.0-2) unstable; urgency=medium * Team upload ===================================== debian/patches/fix-rotation.diff ===================================== @@ -0,0 +1,43 @@ +From 3e380acf5366cf7e907aeedc9af9fa831178e31b Mon Sep 17 00:00:00 2001 +From: Matthieu Herrb <[email protected]> +Date: Sun, 14 Nov 2021 17:38:24 +0100 +Subject: [PATCH] Don't set SourceValidate pointer to NULL + +inspired from similar code in amdgpu, fixes a crash when xrandr(1) +is invoqued with X server 21.1.1 + +Signed-off-by: Matthieu Herrb <[email protected]> +--- + src/radeon_kms.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/src/radeon_kms.c b/src/radeon_kms.c +index 62962d61..51b00dd9 100644 +--- a/src/radeon_kms.c ++++ b/src/radeon_kms.c +@@ -931,6 +931,13 @@ 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 +1000,7 @@ radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id, + 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, +-- +GitLab + ===================================== debian/patches/series ===================================== @@ -1 +1 @@ -# placeholder +fix-rotation.diff View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ati/-/compare/f0be7172f11c44c659f6ace51843e06ca4243c03...b061fe527411abf518e53cf3668e51004d29b87f -- View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-ati/-/compare/f0be7172f11c44c659f6ace51843e06ca4243c03...b061fe527411abf518e53cf3668e51004d29b87f You're receiving this email because of your account on salsa.debian.org.

