]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitceed5f30bf0f515b52246230e5faacf89983fd8f
tree4d38b61dea52bad27e0421d25c8a2d8690de6a75
parent7c74cbd01b2698583fb74ebdfcd7ef4c768e6346
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