drm/nouveau: don't create accel engine objects when noaccel=1
authorBen Skeggs <bskeggs@redhat.com>
Wed, 25 May 2011 05:22:33 +0000 (15:22 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 6 Jun 2011 23:22:03 +0000 (09:22 +1000)
commit18b54c4d5893f32641d4961563c0f196cc04dc83
treea8362038630b7852cd5369a4e44d3d5ebbec81c6
parentcdf81a235f11c8a55023c6b181d21d519a8a5967
drm/nouveau: don't create accel engine objects when noaccel=1

Fixes various potential oopses.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c