disp: msm: sde: update idle_pc_enabled flag for all encoders
At present, idle_pc_enabled flag will be set for encoders containing only these capabilities MSM_DISPLAY_CAP_CMD_MODE and MSM_DISPLAY_CAP_VID_MODE. When cwb is triggered,extra power vote will be taken during kickoff and vote remains till cwb is disabled. In between, if primary goes into idle power collapse, vote taken by cwb will not be removed since idle_pc_enabled flag is not set. This change updates idle_pc_enabled flag for all encoders based on catalog property. Change-Id: If4f147edbd610d0302e4d6c0a3e6b7de2c729db1 Signed-off-by: Yashwanth <quic_yvulapu@quicinc.com>
This commit is contained in:
@@ -5082,9 +5082,7 @@ static int sde_encoder_setup_display(struct sde_encoder_virt *sde_enc,
|
||||
|
||||
SDE_DEBUG("dsi_info->num_of_h_tiles %d\n", disp_info->num_of_h_tiles);
|
||||
|
||||
if ((disp_info->capabilities & MSM_DISPLAY_CAP_CMD_MODE) ||
|
||||
(disp_info->capabilities & MSM_DISPLAY_CAP_VID_MODE))
|
||||
sde_enc->idle_pc_enabled = sde_kms->catalog->has_idle_pc;
|
||||
sde_enc->idle_pc_enabled = sde_kms->catalog->has_idle_pc;
|
||||
|
||||
sde_enc->input_event_enabled = sde_kms->catalog->wakeup_with_touch;
|
||||
|
||||
|
Reference in New Issue
Block a user