winsys/drm: Add support for quality level in surface ioctl
authorDeepak Rawat <drawat@vmware.com>
Thu, 2 Nov 2017 00:40:50 +0000 (17:40 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit159e706c4c4090b36ea118b3fea5c576ee3a7350
tree17884ce7343e15121c1ade911a91d25be4fbe565
parentb343c6915ca3e1a60f609807a0c259078a68a182
winsys/drm: Add support for quality level in surface ioctl

A new argument "quality level" is added in surface define v3 which
represets precision settings for surface. This commit add support
for quality level in DRM_VMW_GB_SURFACE_CREATE_EXT and
DRM_VMW_GB_SURFACE_REF_EXT.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/svga/drm/vmw_screen.h
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c
src/gallium/winsys/svga/drm/vmw_screen_svga.c
src/gallium/winsys/svga/drm/vmwgfx_drm.h