diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 15:13:55 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-26 13:21:32 +0200 |
commit | f269969583ad31e3c329aac78123fff4073d8290 (patch) | |
tree | a7b06329f39996e1c4573a243500467fa53f2f8a /vmwgfx_ldu.c | |
parent | defb1dede586fd3dc25aa7eb246d82858a7afd56 (diff) |
vmwgfx: Replace vmw_dma_buffer with vmw_buffer_object
Initially vmware buffer objects were only used as DMA buffers, so the name
DMA buffer was a natural one. However, currently they are used also as
dumb buffers and MOBs backing guest backed objects so renaming them to
buffer objects is logical. Particularly since there is a dmabuf subsystem
in the kernel where a dma buffer means something completely different.
This also renames user-space api structures and IOCTL names
correspondingly, but the old names remain defined for now and the ABI
hasn't changed.
There are a couple of minor style changes to make checkpatch happy.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'vmwgfx_ldu.c')
-rw-r--r-- | vmwgfx_ldu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vmwgfx_ldu.c b/vmwgfx_ldu.c index 4dba1f4..0c5d3e3 100644 --- a/vmwgfx_ldu.c +++ b/vmwgfx_ldu.c @@ -597,11 +597,11 @@ int vmw_kms_ldu_close_display(struct vmw_private *dev_priv) } -int vmw_kms_ldu_do_dmabuf_dirty(struct vmw_private *dev_priv, - struct vmw_framebuffer *framebuffer, - unsigned flags, unsigned color, - struct drm_clip_rect *clips, - unsigned num_clips, int increment) +int vmw_kms_ldu_do_bo_dirty(struct vmw_private *dev_priv, + struct vmw_framebuffer *framebuffer, + unsigned int flags, unsigned int color, + struct drm_clip_rect *clips, + unsigned int num_clips, int increment) { size_t fifo_size; int i; |