drm/msm: cache active displays within display manager

Update dsi driver to fill a provided array with display pointers
of all active dsi displays, and cache them within the display
manager structure.

This way, the display manager can simply look up the desired
display pointer based on a local index rather than asking the
dsi driver to perform a lookup each time and checking if it's
valid and active.

Change-Id: I213f66b96c44e95cd91face84005d67b3a9d92a6
Signed-off-by: Clarence Ip <cip@codeaurora.org>
6 files changed