sna/prime: Correct the pinning flag when importing the prime bo
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9bdf46d6c1
commit
aeef03520f
|
|
@ -1046,7 +1046,7 @@ sna_set_shared_pixmap_backing(PixmapPtr pixmap, void *fd_handle)
|
|||
priv->stride = pixmap->devKind;
|
||||
|
||||
priv->gpu_bo = bo;
|
||||
priv->pinned |= PIN_DRI;
|
||||
priv->pinned |= PIN_PRIME;
|
||||
|
||||
close((intptr_t)fd_handle);
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue