diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2014-01-07 17:55:49 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2014-01-09 11:49:57 +0100 |
commit | f37684e7169b9c0ab23ff748d5acacb65fad82f7 (patch) | |
tree | f2989f5633206d05348967296127775207981758 /vmwgfx/vmwgfx_saa_priv.h | |
parent | 97ce302ddd6e86397ea56ea9089b9549af73c3ac (diff) |
vmwgfx: Block DMA to prime surfaces for now
Since there is currently no _good_ way to get the surface format of a
prime surface, we block DMA to these surfaces; we don't know if our
software data is compatible with the surface format.
This patch also makes sure that there is a hardware surface backing the
drawable we copy from.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'vmwgfx/vmwgfx_saa_priv.h')
-rw-r--r-- | vmwgfx/vmwgfx_saa_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vmwgfx/vmwgfx_saa_priv.h b/vmwgfx/vmwgfx_saa_priv.h index 16583b0..c84827b 100644 --- a/vmwgfx/vmwgfx_saa_priv.h +++ b/vmwgfx/vmwgfx_saa_priv.h @@ -55,6 +55,7 @@ struct vmwgfx_saa { Bool only_hw_presents; Bool rendercheck; Bool is_master; + Bool known_prime_format; void (*present_flush) (ScreenPtr pScreen); struct _WsbmListHead sync_x_list; struct _WsbmListHead pixmaps; |