drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands.

commit e02e588431 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Charmaine Lee 2016-04-12 08:19:08 -07:00 • committed by Greg Kroah-Hartman
commit c170833402