disp: msm: dsi: enable xlog in critical paths
Enable xlog in critical paths to increase debug coverage. Change-Id: I177acd3f2c2ab349f533bb9fbd8a8122539d524b Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "dsi_panel.h"
|
||||
#include "dsi_ctrl_hw.h"
|
||||
#include "dsi_parser.h"
|
||||
#include "sde_dbg.h"
|
||||
#include "sde_dsc_helper.h"
|
||||
#include "sde_vdc_helper.h"
|
||||
|
||||
@@ -207,6 +208,7 @@ int dsi_panel_trigger_esd_attack(struct dsi_panel *panel)
|
||||
|
||||
if (gpio_is_valid(r_config->reset_gpio)) {
|
||||
gpio_set_value(r_config->reset_gpio, 0);
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_CASE1);
|
||||
DSI_INFO("GPIO pulled low to simulate ESD\n");
|
||||
return 0;
|
||||
}
|
||||
@@ -402,6 +404,7 @@ static int dsi_panel_tx_cmd_set(struct dsi_panel *panel,
|
||||
cmds = mode->priv_info->cmd_sets[type].cmds;
|
||||
count = mode->priv_info->cmd_sets[type].count;
|
||||
state = mode->priv_info->cmd_sets[type].state;
|
||||
SDE_EVT32(type, state, count);
|
||||
|
||||
if (count == 0) {
|
||||
DSI_DEBUG("[%s] No commands to be sent for state(%d)\n",
|
||||
@@ -4376,6 +4379,7 @@ int dsi_panel_send_roi_dcs(struct dsi_panel *panel, int ctrl_idx,
|
||||
}
|
||||
DSI_DEBUG("[%s] send roi x %d y %d w %d h %d\n", panel->name,
|
||||
roi->x, roi->y, roi->w, roi->h);
|
||||
SDE_EVT32(roi->x, roi->y, roi->w, roi->h);
|
||||
|
||||
mutex_lock(&panel->panel_lock);
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user