drm/vmwgfx: Convert screen targets to new helpers v3
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 26 Jun 2015 09:22:40 +0000 (02:22 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Aug 2015 12:01:09 +0000 (14:01 +0200)
commit6bf6bf03b37b5ba0f3399fa9bb3d62edfa117c87
treef09e4ecc302cd792b98baacec3704c4f8b1dfe87
parent10b1e0ca9c32deb3a9b0ecc93fc4920fc24b4a57
drm/vmwgfx: Convert screen targets to new helpers v3

Also implements the missing readback function and
fixes page flip in case of no event.

v2:
- Adapt to the work done for screen targets for 2d, in particular
Handle proxy surface updates.
- Remove execbuf quirks since we now use fifo reserve / commit.
- Revert the initial placement of vmw dma buffers.

v3: Address review comments.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c