From 732cd11cf0ca813fdc06f9f09fab120ea4e3a7da Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 1 Jul 2014 17:54:49 +0100 Subject: [PATCH] sna: Fix typo in LinearFramebuffer handling Eeek, when not using LinearFramebuffer we still want to create the GPU bo: s/,/;/ Reported-by: Ilia Mirkin Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 02e59206..e317e652 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1615,7 +1615,9 @@ static bool sna_pixmap_alloc_gpu(struct sna *sna, flags |= CREATE_SCANOUT; tiling = -I915_TILING_X; } else - tiling = sna_pixmap_default_tiling(sna, pixmap), + tiling = sna_pixmap_default_tiling(sna, pixmap); + + DBG(("%s: pixmap=%ld\n", __FUNCTION__, pixmap->drawable.serialNumber)); priv->gpu_bo = kgem_create_2d(&sna->kgem, pixmap->drawable.width,