nvc0: allow to use compute support on GM200
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 13 Apr 2016 22:46:50 +0000 (00:46 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Apr 2016 19:01:51 +0000 (21:01 +0200)
commit6e23fd420d8e7d382f6a643a48cc6fcaeb81ee64
treeea22697ed647e068e742e6578d2f27d85e07ef2f
parentffcc00ce309e5b4d279d24b2a85d23904d721a9a
nvc0: allow to use compute support on GM200

This works like a charm but please not that NVF0_COMPUTE have to be set
because compute support is still not enabled by default on GK110+. This
will require more testing to make sure it won't break the 3D state.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv_object.xml.h
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nve4_compute.c