Loading msm/dsi/dsi_ctrl.c +5 −3 Original line number Original line Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only /* /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ */ #include <linux/of_device.h> #include <linux/of_device.h> Loading Loading @@ -1272,6 +1272,7 @@ static void dsi_kickoff_msg_tx(struct dsi_ctrl *dsi_ctrl, * result in smmu write faults with DSI as client. * result in smmu write faults with DSI as client. */ */ if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (dsi_ctrl->version < DSI_CTRL_VERSION_2_4) dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_ctrl->cmd_len = 0; dsi_ctrl->cmd_len = 0; } } Loading Loading @@ -3222,6 +3223,7 @@ int dsi_ctrl_cmd_tx_trigger(struct dsi_ctrl *dsi_ctrl, u32 flags) BIT(DSI_FIFO_OVERFLOW), false); BIT(DSI_FIFO_OVERFLOW), false); if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (dsi_ctrl->version < DSI_CTRL_VERSION_2_4) dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_ctrl->cmd_len = 0; dsi_ctrl->cmd_len = 0; } } Loading Loading
msm/dsi/dsi_ctrl.c +5 −3 Original line number Original line Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only /* /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ */ #include <linux/of_device.h> #include <linux/of_device.h> Loading Loading @@ -1272,6 +1272,7 @@ static void dsi_kickoff_msg_tx(struct dsi_ctrl *dsi_ctrl, * result in smmu write faults with DSI as client. * result in smmu write faults with DSI as client. */ */ if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (dsi_ctrl->version < DSI_CTRL_VERSION_2_4) dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_ctrl->cmd_len = 0; dsi_ctrl->cmd_len = 0; } } Loading Loading @@ -3222,6 +3223,7 @@ int dsi_ctrl_cmd_tx_trigger(struct dsi_ctrl *dsi_ctrl, u32 flags) BIT(DSI_FIFO_OVERFLOW), false); BIT(DSI_FIFO_OVERFLOW), false); if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE) { if (dsi_ctrl->version < DSI_CTRL_VERSION_2_4) dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_hw_ops.soft_reset(&dsi_ctrl->hw); dsi_ctrl->cmd_len = 0; dsi_ctrl->cmd_len = 0; } } Loading