[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/driver/xserver-xorg-video-ati][debian-unstable] 2 commits: fix-rotation.diff: Fix crash on rotation. (Closes: #1009325) (LP: #1970473)



Title: GitLab

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:

Changes:

  • debian/changelog
    1
    +xserver-xorg-video-ati (1:19.1.0-3) unstable; urgency=medium
    
    2
    +
    
    3
    +  * fix-rotation.diff: Fix crash on rotation. (Closes: #1009325)
    
    4
    +    (LP: #1970473)
    
    5
    +
    
    6
    + -- Timo Aaltonen <tjaalton@debian.org>  Fri, 08 Jul 2022 12:52:34 +0300
    
    7
    +
    
    1 8
     xserver-xorg-video-ati (1:19.1.0-2) unstable; urgency=medium
    
    2 9
     
    
    3 10
       * Team upload
    

  • debian/patches/fix-rotation.diff
    1
    +From 3e380acf5366cf7e907aeedc9af9fa831178e31b Mon Sep 17 00:00:00 2001
    
    2
    +From: Matthieu Herrb <matthieu.herrb@laas.fr>
    
    3
    +Date: Sun, 14 Nov 2021 17:38:24 +0100
    
    4
    +Subject: [PATCH] Don't set SourceValidate pointer to NULL
    
    5
    +
    
    6
    +inspired from similar code in amdgpu, fixes a crash when xrandr(1)
    
    7
    +is invoqued with X server 21.1.1
    
    8
    +
    
    9
    +Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    
    10
    +---
    
    11
    + src/radeon_kms.c | 9 ++++++++-
    
    12
    + 1 file changed, 8 insertions(+), 1 deletion(-)
    
    13
    +
    
    14
    +diff --git a/src/radeon_kms.c b/src/radeon_kms.c
    
    15
    +index 62962d61..51b00dd9 100644
    
    16
    +--- a/src/radeon_kms.c
    
    17
    ++++ b/src/radeon_kms.c
    
    18
    +@@ -931,6 +931,13 @@ radeon_dirty_update(ScrnInfoPtr scrn)
    
    19
    + 	}
    
    20
    + }
    
    21
    + 
    
    22
    ++static void
    
    23
    ++radeonSourceValidate(DrawablePtr draw, int x, int y, int w, int h,
    
    24
    ++		     unsigned int subWindowMode)
    
    25
    ++{
    
    26
    ++}
    
    27
    ++
    
    28
    ++
    
    29
    + 
    
    30
    + Bool
    
    31
    + radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
    
    32
    +@@ -993,7 +1000,7 @@ radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id,
    
    33
    + 	    SetPicturePictFilter(src, xf86_crtc->filter, xf86_crtc->params,
    
    34
    + 				 xf86_crtc->nparams);
    
    35
    + 
    
    36
    +-	pScreen->SourceValidate = NULL;
    
    37
    ++	pScreen->SourceValidate = radeonSourceValidate;
    
    38
    + 	CompositePicture(PictOpSrc,
    
    39
    + 			 src, NULL, dst,
    
    40
    + 			 extents.x1, extents.y1, 0, 0, extents.x1,
    
    41
    +-- 
    
    42
    +GitLab
    
    43
    +

  • debian/patches/series
    1
    -# placeholder
    1
    +fix-rotation.diff


  • Reply to: