disp: msm: sde: modify SDE_DBG_DUMP to use blk_mask instead of blk_name
Currently, SDE_DBG_DUMP takes any number of hw block names along with few defined strings as arguments. This set of arguments is used to determine which HW block registers needs to be dumped. Move to a blk bitmask to avoid passing a large set of arguments. The bitmask is split based on the clks required to access the HW block for ease of use. The lower 0-23 bits are used for HW blocks which can be accessed by just enabling the MDP clks. DP is kept separate as it needs DP specific clks to be enabled. Add a debugfs node through which the mask can be modified, which can be useful while using the debugfs dump option to force a panic. As part of the change, remove in-log/in-mem enable mask debugfs node for every debugbus and use a single node to control the logging mechanism for all the HW blocks debugbus. Change-Id: Ibb6354b3e3265c9911104bb0f964616eb8a898c9 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
这个提交包含在:
@@ -657,7 +657,7 @@ int dsi_phy_drv_init(struct msm_dsi_phy *dsi_phy)
|
||||
|
||||
snprintf(dbg_name, DSI_DEBUG_NAME_LEN, "dsi%d_phy", dsi_phy->index);
|
||||
sde_dbg_reg_register_base(dbg_name, dsi_phy->hw.base,
|
||||
msm_iomap_size(dsi_phy->pdev, "dsi_phy"));
|
||||
msm_iomap_size(dsi_phy->pdev, "dsi_phy"), SDE_DBG_DSI);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户