diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2013-12-16 10:38:21 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2013-12-16 10:38:21 +0100 |
commit | f45a551e9b70ccec8f92df02747d4e2af299cf8c (patch) | |
tree | 8a422f472cc59feada0bb4770f4c535ba3747a7f | |
parent | 93228f3dd3355a25583d22dbb96791678b93be3e (diff) |
vmwgfx: Fix compile breakage on XA version 1.
A recent revert brought back code that assumed XA version 2.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: trivial
-rw-r--r-- | vmwgfx/vmwgfx_saa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vmwgfx/vmwgfx_saa.c b/vmwgfx/vmwgfx_saa.c index 96275a5..e76bd09 100644 --- a/vmwgfx/vmwgfx_saa.c +++ b/vmwgfx/vmwgfx_saa.c @@ -292,8 +292,7 @@ vmwgfx_saa_dma(struct vmwgfx_saa *vsaa, if (vpix->gmr && vsaa->can_optimize_dma) { uint32_t handle, dummy; - if (xa_surface_handle(vpix->hw, xa_handle_type_shared, - &handle, &dummy) != 0) + if (_xa_surface_handle(vpix->hw, &handle, &dummy) != 0) goto out_err; if (vmwgfx_dma(0, 0, reg, vpix->gmr, pixmap->devKind, handle, to_hw) != 0) |