drm/nouveau: only expose the object classes that are supported by the chipset
authorBen Skeggs <bskeggs@redhat.com>
Wed, 20 Oct 2010 00:39:35 +0000 (10:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:06:56 +0000 (15:06 +1000)
commitb8c157d3a9a13871742c8a8d3d4598c3791ed5f5
tree3ee372c2e8aa1100148f3d6e8232befdb386399a
parenta6a1a38075661bec189f2bad7912f8861e6ce357
drm/nouveau: only expose the object classes that are supported by the chipset

We previously added all the available classes for the entire generation,
even though the objects wouldn't work on the hardware.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_irq.c
drivers/gpu/drm/nouveau/nouveau_object.c
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv04_graph.c
drivers/gpu/drm/nouveau/nv10_graph.c
drivers/gpu/drm/nouveau/nv20_graph.c
drivers/gpu/drm/nouveau/nv40_graph.c
drivers/gpu/drm/nouveau/nv50_graph.c