OSDN Git Service

drm/msm/mdp5: Enable 3D mux in mdp5_ctl
authorArchit Taneja <architt@codeaurora.org>
Thu, 23 Mar 2017 10:28:17 +0000 (15:58 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:36 +0000 (06:59 -0400)
commit3a882143794ab31aa25551ba90b2d0740c4973c4
treef404d168c9cbd87b2381a3562056c43c968e4b8d
parent0d1d3e44653ff5e806b4007d0d952491d745cbbf
drm/msm/mdp5: Enable 3D mux in mdp5_ctl

3D mux is a small block placed after the DSPPs in MDP5. It can merge
2 LM/DSPP outputs and feed it to a single interface.

Enable 3D Mux if our mdp5_pipeline has 2 active LMs. This check
will need to be made more specific later when we add Dual DSI
support with source split enabled. In that use case, each LM feeds to a
separae INTF, so the 3D mux isn't needed.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c