]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vmwgfx: minor dmabuf utilities cleanup
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Oct 2011 18:13:28 +0000 (20:13 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 09:17:20 +0000 (10:17 +0100)
commitb37a6b9ad002a6c123a6924668dfef5c5fb0b700
treeab1df2dec40546ec69fff9b6837cf5711cc7fb34
parent0cff60c625131c64847debc2b4cee33ba33e8d8f
vmwgfx: minor dmabuf utilities cleanup

Add / fix some function comments.
Don't move out an fbdev framebuffer when unused. Just unpin.
Only have a single function that computes a SVGAGuestPtr from the buffer's
current placement, and make it more versatile by accepting a
struct ttm_buffer_object

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c