diff options
| author | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2015-04-30 20:30:39 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:41:03 -0700 |
| commit | 62b220bb08b7ad6a6f3753845f40ac31cbc1abae (patch) | |
| tree | 63dc714b98772d7c3c068ef6ad55a1ba4dccb0a6 /drivers | |
| parent | bc3319bf2800cd9ee79216d32dd1e7209be35d5e (diff) | |
msm: mdss: use layer mixer number to select pingpong block
In the current implementation, the pingpong block is selected
based on the interface number. This causes issues when a
single DSI command mode panel is connected to Interface #n and
not driven on control path #(n-1). Add change to select pingpong
block based on LM number to handle this.
Change-Id: I195d25bb7dd890c3b731e6ea38b1a41a321b1cf5
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c index 3f75a1344941..96fdab985f92 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c @@ -1400,7 +1400,11 @@ static int mdss_mdp_cmd_intfs_setup(struct mdss_mdp_ctl *ctl, ctl->intf_ctx[MASTER_CTX] = ctx; - ret = mdss_mdp_cmd_ctx_setup(ctl, ctx, session, false); + /* + * pp_num for master ctx is same as mixer num independent + * of pingpong split enabled/disabled + */ + ret = mdss_mdp_cmd_ctx_setup(ctl, ctx, mixer->num, false); if (ret) { pr_err("mdss_mdp_cmd_ctx_setup failed for ping ping: %d\n", mixer->num); |
