drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.
authorChris Ball <cjb@laptop.org>
Sun, 26 Sep 2010 11:47:27 +0000 (06:47 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:50:42 +0000 (11:50 +1000)
commita424d761a00c0233cb7734a8cd572ecd6d0362aa
treec08b4f9d14abf1a57608cc1a112587cf5437627a
parentff773714dd30b802c336064109c535d8b2774e2f
drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

Francisco Jerez advises that pre-nv20 cards would hang if we entered
kdb with accel on and IRQs disabled, so we now disable accel before
entering kdb and re-enable it on the way back out.

Reported-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nv04_crtc.c