drm/nouveau: report unknown connector state if lid closed
commit8209107cefb38f24571da7e806422709bd5e47af
authorBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 02:12:09 +0000 (25 12:12 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:52 +0000 (1 16:01 -0700)
treee46dda459714f232682fea3d3b06e27ef5edb039
parent67c538878517bc45d1ac523fde97c8b12e180754
drm/nouveau: report unknown connector state if lid closed

commit b30083bdb990bcc2829fce83d871a86059ff4fc1 upstream.

This is in preference to disconnected.  If there's no other outputs
connected this will cause LVDS to be programmed even with the lid
closed rather than having X fail to start because of no available
outputs.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/nouveau/nouveau_connector.c