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:
parent
b5fa463b90
commit
732cd11cf0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue