disp: msm: sde: dump clock state before entering suspend

Add debug capability to dump clocks before entering pm suspend.
This will help debug invalid register access when clocks are off
during adversarial test cases.

Change-Id: I80d19b751a3b9a1de0cc64699a21a1852d614ced
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
Amine Najahi
2020-06-12 16:54:49 -04:00
committed by Gerrit - the friendly Code Review server
parent 743dc695c4
commit 8479ed7278
6 changed files with 101 additions and 0 deletions

View File

@@ -322,4 +322,11 @@ int dsi_clk_prepare_enable(struct dsi_clk_link_set *clk);
* @clk: list of src clocks.
*/
void dsi_clk_disable_unprepare(struct dsi_clk_link_set *clk);
/**
* dsi_display_dump_clk_handle_state() - dump client clock state
* @client: DSI clock client pointer.
*/
int dsi_display_dump_clk_handle_state(void *client);
#endif /* _DSI_CLK_H_ */