diff options
author | Thomas Hellstrom | 2010-11-17 13:28:31 +0100 |
---|---|---|
committer | Dave Airlie | 2010-11-22 04:25:21 +0100 |
commit | 65705962025df490d13df59ec57c5329d1bd0a16 (patch) | |
tree | aa9d40bbd1a842aaada664d9d0fa6a317ec1755f /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | |
parent | drm/ttm: Improved fencing of buffer object lists (diff) | |
download | kernel-qcow2-linux-65705962025df490d13df59ec57c5329d1bd0a16.tar.gz kernel-qcow2-linux-65705962025df490d13df59ec57c5329d1bd0a16.tar.xz kernel-qcow2-linux-65705962025df490d13df59ec57c5329d1bd0a16.zip |
drm/ttm/vmwgfx: Have TTM manage the validation sequence.
Rather than having the driver supply the validation sequence, leave that
responsibility to TTM. This saves some confusion and a function argument.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index 76954e3528c1..41b95ed6dbcd 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c @@ -653,8 +653,7 @@ int vmw_execbuf_ioctl(struct drm_device *dev, void *data, ret = vmw_cmd_check_all(dev_priv, sw_context, cmd, arg->command_size); if (unlikely(ret != 0)) goto out_err; - ret = ttm_eu_reserve_buffers(&sw_context->validate_nodes, - dev_priv->val_seq++); + ret = ttm_eu_reserve_buffers(&sw_context->validate_nodes); if (unlikely(ret != 0)) goto out_err; |