svga: fail screen creation if HW version is too old
authorBrian Paul <brianp@vmware.com>
Thu, 6 Apr 2017 20:55:53 +0000 (14:55 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Apr 2017 17:37:59 +0000 (11:37 -0600)
commit577e114e4654c645fcb1673afe5bb849deccb2b3
tree75b2b88a855f1830fb445c188967188cfbae21b5
parent8de0452ec4d96837846fffc65bc01a56103b9ed5
svga: fail screen creation if HW version is too old

Tested by verifying 3D acceleration works with HWv8 but not earlier.
For HWv7 and older we get the GDI Generic renderer.

Reviewed-by: Neha Bhende<bhenden@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen.c