drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands.
authorCharmaine Lee <charmainel@vmware.com>
Tue, 12 Apr 2016 15:19:08 +0000 (08:19 -0700)
committerSinclair Yeh <syeh@vmware.com>
Thu, 28 Apr 2016 18:07:23 +0000 (11:07 -0700)
commite02e58843153ce80a9fe7588def89b2638d40e64
tree4b5b36051d3b86df84167047741143b6d8687018
parent1883598d4201361a6d2ce785095695f58071ee11
drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands.

Instead of calling vmw_cmd_ok, call vmw_cmd_dx_cid_check to
validate the context id for query commands.

Signed-off-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c