diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-15 22:21:56 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-16 08:15:42 +0000 |
commit | 588c5aa6bca441d7c9305fe2fcf268e89b6b617d (patch) | |
tree | 65373f65a0e8bf79064df61d7ac3a6b32b7810a3 /src/sna/sna_render_inline.h | |
parent | af85ffdec7047efa452d6bab3a0ee3889dd4f046 (diff) |
sna: Revert use of a separate CAN_CREATE_SMALL flag
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render_inline.h')
-rw-r--r-- | src/sna/sna_render_inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render_inline.h b/src/sna/sna_render_inline.h index a3297073..432201f5 100644 --- a/src/sna/sna_render_inline.h +++ b/src/sna/sna_render_inline.h @@ -97,7 +97,7 @@ too_small(struct sna_pixmap *priv) if (priv->cpu_bo && kgem_bo_is_busy(priv->cpu_bo)) return false; - return priv->create & KGEM_CAN_CREATE_SMALL; + return (priv->create & KGEM_CAN_CREATE_GPU) == 0; } static inline bool |