drm/nv10: fix chipset checks, mostly for the benefit of nv1a
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 5 Sep 2013 08:45:03 +0000 (04:45 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:37:39 +0000 (15:37 +1000)
commit8aa816b0bbcefa8517d7e10586d7dbb0ead3c4c1
tree6bf521a265db307596ba6a679a8e59e427400ae7
parent4a0ff75418851116d034fa4d91bef114f01a329d
drm/nv10: fix chipset checks, mostly for the benefit of nv1a

NV1A is numerically higher than NV17 but generationally lower. Use the
new card type to help disambiguate.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/device/base.c
drivers/gpu/drm/nouveau/core/engine/graph/nv10.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c
drivers/gpu/drm/nouveau/nouveau_drm.c