compositor-drm: Handle unconnected connectors better
authorWang Quanxian <quanxian.wang@intel.com>
Mon, 30 Jul 2012 22:09:46 +0000 (18:09 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 30 Jul 2012 22:09:46 +0000 (18:09 -0400)
commitacb805a3565d4473d112e5176e9ca4fba6548642
tree8c56da51776deaf79b576a4aa2b72dfe2b264615
parent572c2ff59a56232afe1721eca179e392b7f73021
compositor-drm: Handle unconnected connectors better

If a connector is not attached to a crtc, weston fails to bring it up.
Typically kms fbdev drives all crtc and connectors, but if kms hasn't been
initialzed and weston is the first to set a mode of if a monitor is
hotplugged, we just fail to bring it up.

(krh: reformatted and edited a bit from original patch)
src/compositor-drm.c