nvc0: remove use of deprecated sw class identifier
authorBen Skeggs <bskeggs@redhat.com>
Wed, 16 Dec 2015 23:03:49 +0000 (09:03 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 22 Dec 2015 03:24:13 +0000 (13:24 +1000)
commit5b614b141a4674e214e2258613adfdf3c138c387
tree9713ae911b9cb5ab651679faed5871394fcca67f
parent33a3ba8c59a095892f33bd7de62a0aac30afc195
nvc0: remove use of deprecated sw class identifier

Also emits a method to properly bind the class to a subchannel, which
was missing previously.  The kernel currently doesn't care, but this
will break if it ever decides to (ie. to support multiple sw classes).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c