sde: Fix for external displays

1. When non-primary displays are registered, set composition mode to
   safe mode until resources for the added display is configured
   properly.

2. Fix HDMI mirroring issue on framework reboot.
   It could be possible that HPD is on during framework reboot.
   HDMI driver needs HPD toggling to send uevent to userspace.
   Disable HPD at start if HDMI is external, it will be enabled later
   when the primary display powers on.

Change-Id: I27f27af3f6d525bd3697f5d5edd838f04003ff61
2 files changed