summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 81b04ae2..d54e4990 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -769,6 +769,8 @@ static inline Bool radeon_set_pixmap_bo(PixmapPtr pPix, struct radeon_bo *bo)
if (driver_priv->bo)
radeon_bo_unref(driver_priv->bo);
+ drmmode_fb_reference(pRADEONEnt->fd, &driver_priv->fb, NULL);
+
radeon_bo_ref(bo);
driver_priv->bo = bo;