disp: msm: sde: reserve primary CTL and LM for primary connector

In dual display cases when secondary display is resumed first,
primary CTL and LM is selected for secondary path which leads to
invalid configuration. Changes are made to correct the reservation
to select primary CTL and LM for primary connector and secondary
LM to secondary connector.

Change-Id: I6b2a8bedaf46f18bdb28b45ac765f32b26207304
Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
This commit is contained in:
Jayaprakash
2019-09-16 15:13:36 +05:30
parent 8babba1d11
commit c2c470efa9
2 changed files with 20 additions and 13 deletions

View File

@@ -24,6 +24,7 @@
#include "msm_prop.h"
#include "sde_hw_mdss.h"
#include "sde_kms.h"
#include "sde_connector.h"
#define MAX_CHANNELS_PER_ENC 2
@@ -51,7 +52,7 @@ struct sde_encoder_hw_resources {
enum sde_intf_mode wbs[WB_MAX];
bool needs_cdm;
u32 display_num_of_h_tiles;
bool display_type;
enum sde_connector_display display_type;
struct msm_display_topology topology;
};