disp: msm: dsi: Panic on getting continuous ESD check failures
During stability stress testing, there are many instances where the panel is unreachable which results in the ESD check mechanism failing continuously with PANEL_DEAD events. There are two possible reasons. Either the device is bad or DSI controller is hung. As of today, logs/xlog is flooded and info on root cause is missed in the logs. To catch the root cause for such issues, this patch induces forced crash when there are five consecutive ESD check failures. Change-Id: Id0a5762ac977f8a209af651f65cbe9da199cb8d0 Signed-off-by: Lipsa Rout <lrout@codeaurora.org>
This commit is contained in:
@@ -184,6 +184,7 @@ struct dsi_display_ext_bridge {
|
||||
* @misr_frame_count Number of frames to accumulate the MISR value
|
||||
* @esd_trigger field indicating ESD trigger through debugfs
|
||||
* @poms_te_work POMS delayed work for disabling panel TE
|
||||
* @esd_fail_count Count of continuous ESD check failures
|
||||
* @te_source vsync source pin information
|
||||
* @clk_gating_config Clocks for which clock gating needs to be enabled
|
||||
* @queue_cmd_waits Indicates if wait for dma commands done has to be queued.
|
||||
@@ -277,6 +278,8 @@ struct dsi_display {
|
||||
|
||||
struct dsi_display_boot_param *boot_disp;
|
||||
|
||||
u32 esd_fail_count;
|
||||
|
||||
u32 te_source;
|
||||
u32 clk_gating_config;
|
||||
bool queue_cmd_waits;
|
||||
|
Reference in New Issue
Block a user