disp: msm: refactor DSI debugbus dumping
Move DSI debugbus dumping logic from DSI driver to sde_dbg in order to utilize the framework in place for debugbuses. This allows for more control over the dumping logic, such as where the dump data is stored(memory/console), via nodes populated in debugfs. Change-Id: Iff507fdaa02d26af26743e81f6048aec57c09a76 Signed-off-by: Steve Cohen <cohens@codeaurora.org>
Этот коммит содержится в:
@@ -568,20 +568,6 @@ void dsi_ctrl_hw_cmn_video_engine_setup(struct dsi_ctrl_hw *ctrl,
|
||||
DSI_CTRL_HW_DBG(ctrl, "Video engine setup done\n");
|
||||
}
|
||||
|
||||
void dsi_ctrl_hw_cmn_debug_bus(struct dsi_ctrl_hw *ctrl, u32 *entries, u32 size)
|
||||
{
|
||||
u32 reg = 0, i = 0;
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
DSI_W32(ctrl, DSI_DEBUG_BUS_CTL, entries[i]);
|
||||
/* make sure that debug test point is enabled */
|
||||
wmb();
|
||||
reg = DSI_R32(ctrl, DSI_DEBUG_BUS_STATUS);
|
||||
DSI_CTRL_HW_INFO(ctrl, "debug bus ctrl: 0x%x status:0x%x\n",
|
||||
entries[i], reg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* cmd_engine_setup() - setup dsi host controller for command mode
|
||||
* @ctrl: Pointer to the controller host hardware.
|
||||
|
Ссылка в новой задаче
Block a user