]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: prevent all channel creation if accel not available
authorBen Skeggs <bskeggs@redhat.com>
Wed, 16 Dec 2009 04:28:55 +0000 (14:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 16 Dec 2009 07:05:57 +0000 (17:05 +1000)
commit68501d7007c3a8fde3ac5d8527d97c5f0ca73855
tree3c43ff86368448a041fecd5c8841de3e8230a003
parent1b6fff77627188a23bfde35d21c197981fde33ab
drm/nouveau: prevent all channel creation if accel not available

Previously, if there was no firmware available, the DRM would just
disable channel creation from userspace, but still use a single
channel for its own purposes.

With a bit of care it should actually be possible to do this, due
to the DRM's very limited use of the engine.  It currently doesn't
work correctly however, resulting in corrupted fbcon and hangs on
a number of cards.

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