nouveau: fix chipset checks for nv1a by using the oclass instead
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 12 Feb 2014 23:22:56 +0000 (18:22 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 13 Feb 2014 16:06:41 +0000 (11:06 -0500)
commit0c8b165366d68291e3013c7308b8b1fdd5ade2a2
treef7ad0563a5424ebbf0fd7f0bac44a995df078b00
parent0ef3ce415522c77f11477c340efeef7b61cb8cb3
nouveau: fix chipset checks for nv1a by using the oclass instead

Commit f4ebcd133b9 ("dri/nouveau: NV17_3D class is not available for
NV1a chipset") fixed this partially by using the correct 3d class.
However there were a lot of checks left over comparing against the
chipset.

Reported-and-tested-by: John F. Godfrey <jfgodfrey@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: 9.2 10.0 10.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/nouveau/nv10_context.c
src/mesa/drivers/dri/nouveau/nv10_state_fb.c
src/mesa/drivers/dri/nouveau/nv10_state_raster.c