diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2011-09-01 13:59:10 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2011-09-29 20:30:21 +0200 |
commit | 5c43481aa639053bbbf7fbf5f72f0edecf616731 (patch) | |
tree | 7b9596ab7bf9d364f81fd5f5b95e4f21b8ac646e /vmwgfx/vmwgfx_drmi.h | |
parent | 3c2f9cc43f7d36952e78d10d224da0ba68ecefea (diff) |
vmwgfx: Adapt to vmwgfx kernel driver 2.1
This introduces fence objects with 2.0, and present / present readback
ioctls with 2.1.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'vmwgfx/vmwgfx_drmi.h')
-rw-r--r-- | vmwgfx/vmwgfx_drmi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vmwgfx/vmwgfx_drmi.h b/vmwgfx/vmwgfx_drmi.h index 0c92719..ba4c440 100644 --- a/vmwgfx/vmwgfx_drmi.h +++ b/vmwgfx/vmwgfx_drmi.h @@ -36,11 +36,11 @@ struct vmwgfx_dma_ctx; extern int -vmwgfx_present_readback(int drm_fd, RegionPtr region); +vmwgfx_present_readback(int drm_fd, uint32_t fb_id, RegionPtr region); extern int -vmwgfx_present(int drm_fd, unsigned int dst_x, unsigned int dst_y, - RegionPtr region, uint32_t handle); +vmwgfx_present(int drm_fd, uint32_t fb_id, unsigned int dst_x, + unsigned int dst_y, RegionPtr region, uint32_t handle); struct vmwgfx_dmabuf { uint32_t handle; |