disp: msm: dsi: Add print info for DSI_CTRL
Add the DSI_CTRL index to indicate which DSI_CTRL is enable. Port from: 559a1c5 Change-Id: Id9a60c5cfcb5c4f7959c10987d85eb17062fa15e Signed-off-by: Bang Nguyen <bangnguyen@motorola.com> Reviewed-on: https://gerrit.mot.com/1444408 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1509811 Reviewed-by: Hua Tan <tanhua1@motorola.com>
This commit is contained in:
1 parent
4dc0d44e9c
commit
bbaae6dfcc
1 file changed
+4
-1
@@ -7433,6 +7433,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");
|
||||
@@ -7444,7 +7445,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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user