sna: Fix typo in LinearFramebuffer handling

Eeek, when not using LinearFramebuffer we still want to create the GPU
bo: s/,/;/

Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-07-01 17:54:49 +01:00
parent b5fa463b90
commit 732cd11cf0
1 changed files with 3 additions and 1 deletions

View File

@ -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,