|
@@ -849,7 +849,7 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
|
|
|
rc = -EINVAL;
|
|
|
goto release_panel_lock;
|
|
|
}
|
|
|
- SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY, status_mode, te_check_override);
|
|
|
|
|
|
if (te_check_override)
|
|
|
te_rechecks = MAX_TE_RECHECKS;
|
|
@@ -897,7 +897,7 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
|
|
|
|
|
|
release_panel_lock:
|
|
|
dsi_panel_release_panel_lock(panel);
|
|
|
- SDE_EVT32(SDE_EVTLOG_FUNC_EXIT);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_EXIT, rc);
|
|
|
|
|
|
return rc;
|
|
|
}
|
|
@@ -1193,6 +1193,7 @@ int dsi_display_set_power(struct drm_connector *connector,
|
|
|
return rc;
|
|
|
}
|
|
|
|
|
|
+ SDE_EVT32(display->panel->power_mode, power_mode, rc);
|
|
|
DSI_DEBUG("Power mode transition from %d to %d %s",
|
|
|
display->panel->power_mode, power_mode,
|
|
|
rc ? "failed" : "successful");
|
|
@@ -4331,6 +4332,7 @@ static int dsi_display_update_dsi_bitrate(struct dsi_display *display,
|
|
|
DSI_DEBUG("byte_clk_rate = %llu, byte_intf_clk_rate = %llu\n",
|
|
|
byte_clk_rate, byte_intf_clk_rate);
|
|
|
DSI_DEBUG("pclk_rate = %llu\n", pclk_rate);
|
|
|
+ SDE_EVT32(i, bit_rate, byte_clk_rate, pclk_rate);
|
|
|
|
|
|
ctrl->clk_freq.byte_clk_rate = byte_clk_rate;
|
|
|
ctrl->clk_freq.byte_intf_clk_rate = byte_intf_clk_rate;
|
|
@@ -4834,6 +4836,9 @@ static int dsi_display_get_dfps_timing(struct dsi_display *display,
|
|
|
DSI_V_TOTAL(timing),
|
|
|
timing->v_front_porch,
|
|
|
&adj_mode->timing.v_front_porch);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_CASE1, DSI_DFPS_IMMEDIATE_VFP,
|
|
|
+ curr_refresh_rate, timing->refresh_rate,
|
|
|
+ timing->v_front_porch, adj_mode->timing.v_front_porch);
|
|
|
break;
|
|
|
|
|
|
case DSI_DFPS_IMMEDIATE_HFP:
|
|
@@ -4844,6 +4849,9 @@ static int dsi_display_get_dfps_timing(struct dsi_display *display,
|
|
|
dsi_h_total_dce(timing),
|
|
|
timing->h_front_porch,
|
|
|
&adj_mode->timing.h_front_porch);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_CASE2, DSI_DFPS_IMMEDIATE_HFP,
|
|
|
+ curr_refresh_rate, timing->refresh_rate,
|
|
|
+ timing->h_front_porch, adj_mode->timing.h_front_porch);
|
|
|
if (!rc)
|
|
|
adj_mode->timing.h_front_porch *= display->ctrl_count;
|
|
|
break;
|
|
@@ -4922,7 +4930,7 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- SDE_EVT32(mode->dsi_mode_flags);
|
|
|
+ SDE_EVT32(mode->dsi_mode_flags, mode->panel_mode);
|
|
|
if (mode->dsi_mode_flags & DSI_MODE_FLAG_POMS) {
|
|
|
display->config.panel_mode = mode->panel_mode;
|
|
|
display->panel->panel_mode = mode->panel_mode;
|
|
@@ -5173,6 +5181,7 @@ int dsi_display_cont_splash_config(void *dsi_display)
|
|
|
/* Update splash status for clock manager */
|
|
|
dsi_display_clk_mngr_update_splash_status(display->clk_mngr,
|
|
|
display->is_cont_splash_enabled);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY, display->is_cont_splash_enabled);
|
|
|
|
|
|
/* Set up ctrl isr before enabling core clk */
|
|
|
dsi_display_ctrl_isr_configure(display, true);
|
|
@@ -5231,6 +5240,7 @@ int dsi_display_splash_res_cleanup(struct dsi_display *display)
|
|
|
dsi_display_clk_mngr_update_splash_status(display->clk_mngr,
|
|
|
display->is_cont_splash_enabled);
|
|
|
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_EXIT, display->is_cont_splash_enabled);
|
|
|
return rc;
|
|
|
}
|
|
|
|
|
@@ -6989,10 +6999,13 @@ int dsi_display_validate_mode_change(struct dsi_display *display,
|
|
|
dyn_clk_caps->maintain_const_fps) {
|
|
|
DSI_DEBUG("Mode switch is seamless variable refresh\n");
|
|
|
adj_mode->dsi_mode_flags |= DSI_MODE_FLAG_VRR;
|
|
|
- SDE_EVT32(cur_mode->timing.refresh_rate,
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_CASE1,
|
|
|
+ cur_mode->timing.refresh_rate,
|
|
|
adj_mode->timing.refresh_rate,
|
|
|
cur_mode->timing.h_front_porch,
|
|
|
- adj_mode->timing.h_front_porch);
|
|
|
+ adj_mode->timing.h_front_porch,
|
|
|
+ cur_mode->timing.v_front_porch,
|
|
|
+ adj_mode->timing.v_front_porch);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -7010,8 +7023,9 @@ int dsi_display_validate_mode_change(struct dsi_display *display,
|
|
|
|
|
|
adj_mode->dsi_mode_flags |=
|
|
|
DSI_MODE_FLAG_DYN_CLK;
|
|
|
- SDE_EVT32(cur_mode->pixel_clk_khz,
|
|
|
- adj_mode->pixel_clk_khz);
|
|
|
+ SDE_EVT32(SDE_EVTLOG_FUNC_CASE2,
|
|
|
+ cur_mode->pixel_clk_khz,
|
|
|
+ adj_mode->pixel_clk_khz);
|
|
|
}
|
|
|
}
|
|
|
}
|