]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: disallow fbcon accel if running in interrupt context
authorBen Skeggs <bskeggs@redhat.com>
Tue, 5 Oct 2010 06:41:29 +0000 (16:41 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:04:20 +0000 (15:04 +1000)
commit264edbb98d83a2996389d0cc800ac08df7b67a59
tree4d38b61dea52bad27e0421d25c8a2d8690de6a75
parent7efb2ddcb45529aa714d9d36f3dff57f00cf139a
drm/nouveau: disallow fbcon accel if running in interrupt context

A future commit will add locking to the DRM's channel, and there's numerous
problems that come up if we allow printk from an interrupt context to be
accelerated.  It seems saner to just disallow it completely.

As a nice side-effect, all the "to accel or not to accel" logic gets moved
out of the chipset-specific code.

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