File u_kscreen-rotation-fix.patch of Package xf86-video-ati

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,
openSUSE Build Service is sponsored by