svga: assign a separate function for is_format_supported() for vgpu10 device
authorCharmaine Lee <charmainel@vmware.com>
Wed, 29 Nov 2017 21:09:26 +0000 (13:09 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commitb1aee7ff05e55792174973b9272d078f93becd1f
tree2e68d1a8981790c6a8d672a3674fb0ec725b8935
parent1ea9c80d6d0b3093d8dfa93a5bf93e4d10bf6406
svga: assign a separate function for is_format_supported() for vgpu10 device

This patch adds a new function svga_is_dx_format_supported() to check
for format support in a VGPU10 device.

v2: reapply the patch after svga_is_format_supported is moved to svga_format.c

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_format.c
src/gallium/drivers/svga/svga_format.h
src/gallium/drivers/svga/svga_screen.c