sna: Don't perform a deferred attachment for vmapping if not supported
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
23e3959e1f
commit
797b27365d
|
|
@ -572,6 +572,9 @@ static inline struct kgem_bo *pixmap_vmap(struct kgem *kgem, PixmapPtr pixmap)
|
|||
{
|
||||
struct sna_pixmap *priv;
|
||||
|
||||
if (!kgem->has_vmap)
|
||||
return NULL;
|
||||
|
||||
if (unlikely(kgem->wedged))
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue