Differential D35661 Diff 108629 x11-drivers/xf86-video-ati/files/0001_dont_set_sourcevalidate_pointer_to_null.diff
Changeset View
Changeset View
Standalone View
Standalone View
x11-drivers/xf86-video-ati/files/0001_dont_set_sourcevalidate_pointer_to_null.diff
- This file was added.
diff --git a/src/radeon_kms.c b/src/radeon_kms.c | |||||
index 62962d61d8ee22a02567b7125b4bb3a7f7230be4..51b00dd9b013d183bf93d7f5578014dc16c80ce8 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, |