svga: Fix failures caused in fedora 24
authorNeha Bhende <bhenden@vmware.com>
Tue, 28 Jun 2016 19:59:19 +0000 (12:59 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Jun 2016 18:45:09 +0000 (12:45 -0600)
commit7988513ac3d86ba367fbe44e73fe483ff96aaa29
tree11d834c70c72821dd33098b7fbb3152f3364bddc
parent52f297d144de69d494b5573920c33902063d3628
svga: Fix failures caused in fedora 24

SVGA_3D_CMD_DX_GENRATE_MIPMAP & SVGA_3D_CMD_DX_SET_PREDICATION commands
are not presents in fedora 24 kernel module. Because of this
reason application like supertuxkart are not running.

v2: Add few comments and code modifications suggested by Brian P.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_winsys.h
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c