drm/vmwgfx: Add max surface memory param
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 9 Dec 2013 07:39:04 +0000 (23:39 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 9 Dec 2013 07:50:23 +0000 (23:50 -0800)
commit11e6a09fba446ce799a9de51d2d99586024bbdaa
tree44085cf544577b3d033801e73b02a8d527f04177
parent9255ce80f88ba885c38c0bbd235db7c24392e22e
drm/vmwgfx: Add max surface memory param

Userspace uses this to workaround overcommit issues
by flushing the command stream early.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
include/uapi/drm/vmwgfx_drm.h