disp: msm: dsi: Add print info for DSI_CTRL

Add the DSI_CTRL index to indicate which DSI_CTRL is enable.

Port from: 9a63078

Change-Id: I8af0de72ccc0a4152d53db9efd29255ddfa129e8
Signed-off-by: Bang Nguyen <bangnguyen@motorola.com>
Reviewed-on: https://gerrit.mot.com/1697575
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Bang Nguyen 2019-07-31 13:28:18 -05:00 • committed by tongkun1
commit 942f7d4bcf

View file

@ -8168,6 +8168,7 @@ int dsi_display_prepare(struct dsi_display *display)
{
int rc = 0;
struct dsi_display_mode *mode;
struct dsi_display_ctrl *ctrl = &display->ctrl[0];
if (!display) {
DSI_ERR("Invalid params\n");
@ -8179,7 +8180,9 @@ int dsi_display_prepare(struct dsi_display *display)
return -EINVAL;
}
DSI_INFO("%s(%s)+\n", __func__, display->drm_conn->name);
DSI_INFO("panel_name=%s ctrl-index=%d\n",
display->panel->name, ctrl->ctrl->cell_index);
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
mutex_lock(&display->display_lock);