sdm: Add color managing proxy logic to SDM core
1. Loads and instantiates ColorInterface to color
library and pass to different display object when each
Display object gets created.
2. Discovers and retrieves dspp version information from HWInterface
then update the information to ColorInterface. Also discover
active display information and update into ColorInterface.
3. When color managing requests come in from HWCColorManager on
different DisplayInterface<primary or external>, Display
object will use ColorInterface::ColorSVCRequestRoute<>
to pass the requests to color library, where metadata/input
params are used to generate corresponding hardware
configuring data. Those data output for DSPP blocks will be
committed on DisplayBase::Commit() boundary.
4. HWCDisplay::Prepare() checks on each frame if bootanimation
is done after POR, once it's done, default display mode
will be applied.
Change-Id: Ib2c2b94d4fa0554c2e0876a065ccb0a07592f63d
16 files changed