mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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:
parent
02d285a728
commit
942f7d4bcf
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue