drm/nouveau: report unknown connector state if lid closed
authorBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 02:12:09 +0000 (12:12 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 05:09:44 +0000 (15:09 +1000)
commitb30083bdb990bcc2829fce83d871a86059ff4fc1
tree44d6f2d48e11a31a51cadad4305b4d4666a0a440
parentc52e53fd38b195169c67a8cc9ed1af0125d2655c
drm/nouveau: report unknown connector state if lid closed

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>
drivers/gpu/drm/nouveau/nouveau_connector.c