Loading drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +1 −1 Original line number Diff line number Diff line Loading @@ -1087,10 +1087,10 @@ static int dsi_message_tx(struct dsi_ctrl *dsi_ctrl, cmdbuf = (u8 *)(dsi_ctrl->vaddr); msm_gem_sync(dsi_ctrl->tx_cmd_buf); for (cnt = 0; cnt < length; cnt++) cmdbuf[dsi_ctrl->cmd_len + cnt] = buffer[cnt]; msm_gem_sync(dsi_ctrl->tx_cmd_buf); dsi_ctrl->cmd_len += length; if (!(msg->flags & MIPI_DSI_MSG_LASTCOMMAND)) { Loading drivers/gpu/drm/msm/sde/sde_hw_reg_dma_v1.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -474,6 +474,7 @@ static int write_kick_off_v1(struct sde_reg_dma_kickoff_cfg *cfg) struct sde_hw_blk_reg_map hw; memset(&hw, 0, sizeof(hw)); msm_gem_sync(cfg->dma_buf->buf); cmd1 = (cfg->op == REG_DMA_READ) ? (dspp_read_sel[cfg->block_select] << 30) : 0; cmd1 |= (cfg->last_command) ? BIT(24) : 0; Loading @@ -481,7 +482,6 @@ static int write_kick_off_v1(struct sde_reg_dma_kickoff_cfg *cfg) cmd1 |= (cfg->op == REG_DMA_WRITE) ? (BIT(22)) : 0; cmd1 |= (SIZE_DWORD(cfg->dma_buf->index) & MAX_DWORDS_SZ); msm_gem_sync(cfg->dma_buf->buf); SET_UP_REG_DMA_REG(hw, reg_dma); SDE_REG_WRITE(&hw, REG_DMA_OP_MODE_OFF, BIT(0)); SDE_REG_WRITE(&hw, reg_dma_clear_status_off, Loading Loading
drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +1 −1 Original line number Diff line number Diff line Loading @@ -1087,10 +1087,10 @@ static int dsi_message_tx(struct dsi_ctrl *dsi_ctrl, cmdbuf = (u8 *)(dsi_ctrl->vaddr); msm_gem_sync(dsi_ctrl->tx_cmd_buf); for (cnt = 0; cnt < length; cnt++) cmdbuf[dsi_ctrl->cmd_len + cnt] = buffer[cnt]; msm_gem_sync(dsi_ctrl->tx_cmd_buf); dsi_ctrl->cmd_len += length; if (!(msg->flags & MIPI_DSI_MSG_LASTCOMMAND)) { Loading
drivers/gpu/drm/msm/sde/sde_hw_reg_dma_v1.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -474,6 +474,7 @@ static int write_kick_off_v1(struct sde_reg_dma_kickoff_cfg *cfg) struct sde_hw_blk_reg_map hw; memset(&hw, 0, sizeof(hw)); msm_gem_sync(cfg->dma_buf->buf); cmd1 = (cfg->op == REG_DMA_READ) ? (dspp_read_sel[cfg->block_select] << 30) : 0; cmd1 |= (cfg->last_command) ? BIT(24) : 0; Loading @@ -481,7 +482,6 @@ static int write_kick_off_v1(struct sde_reg_dma_kickoff_cfg *cfg) cmd1 |= (cfg->op == REG_DMA_WRITE) ? (BIT(22)) : 0; cmd1 |= (SIZE_DWORD(cfg->dma_buf->index) & MAX_DWORDS_SZ); msm_gem_sync(cfg->dma_buf->buf); SET_UP_REG_DMA_REG(hw, reg_dma); SDE_REG_WRITE(&hw, REG_DMA_OP_MODE_OFF, BIT(0)); SDE_REG_WRITE(&hw, reg_dma_clear_status_off, Loading