hwc: fix can_dss_render_all decision logic for docking mode

Currently can_dss_render_all() doesn't consider docking mode for
decision making. In case of rotation on HDMI, current logic expects all
layers to be NV12 which is not true if in docking mode.

Adding logic to consider NV12 to be the dockable layer.

Rebased from p-ics-mr1:
6a5358f hwc: fix can_dss_render_all decision logic for docking mode

Change-Id: Ib56c88ef45293eb87e4db9bc1faa956ea96a533e
Signed-off-by: Muralidhar Dixit <murali.dixit@ti.com>
Signed-off-by: Varadarajan, Charulatha <charu@ti.com>
(cherry picked from commit c739886ef430dbb231357038410fbde6990bb19f)
1 file changed