xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Oct 17 09:17:21 PDT 2013
src/sna/sna_accel.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 930b2c76c78dabc42749f819cb1f9566a6d870a1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Oct 17 17:16:56 2013 +0100
sna: Check return of source_bo for a potential failure
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index d63b1f4..3b0871d 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -11458,6 +11458,12 @@ sna_poly_fill_rect_tiled_blt(DrawablePtr drawable,
bool ret;
tile_bo = sna_pixmap_get_source_bo(tile);
+ if (tile_bo == NULL) {
+ DBG(("%s: unable to move tile go GPU, fallback\n",
+ __FUNCTION__));
+ return false;
+ }
+
ret = sna_poly_fill_rect_tiled_8x8_blt(drawable, bo, damage,
tile_bo, gc, n, rect,
extents, clipped);
More information about the xorg-commit
mailing list