diff options
-rw-r--r-- | src/intel_uxa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c index 68037c99..1abc0dc8 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -645,9 +645,7 @@ void intel_set_pixmap_bo(PixmapPtr pixmap, dri_bo * bo) priv->bo = bo; priv->stride = intel_pixmap_pitch(pixmap); - ret = drm_intel_bo_get_tiling(bo, - &tiling, - &swizzle_mode); + ret = drm_intel_bo_get_tiling(bo, &tiling, &swizzle_mode); if (ret != 0) { FatalError("Couldn't get tiling on bo %p: %s\n", bo, strerror(-ret)); @@ -772,6 +770,8 @@ static Bool intel_uxa_put_image(PixmapPtr pixmap, if (tiling != I915_TILING_NONE) drm_intel_bo_set_tiling(bo, &tiling, stride); + priv->stride = stride; + priv->tiling = tiling; screen->ModifyPixmapHeader(pixmap, w, h, |