Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ebf7214 authored by Ping Li's avatar Ping Li
Browse files

drm/msm/sde: Correct the method to get the QSEED3 offset



The method used to get the QSEED3 offset is incorrect in REG_DMA
path, this change fixes the issue to get the correct QSEED3 offset.

Change-Id: Id0975752d419ab03f745f6a0236c0df03c528e0a
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent f0a4ec7d
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -2408,8 +2408,7 @@ void reg_dmav1_setup_vig_qseed3(struct sde_hw_pipe *ctx,
		return;
		return;
	}
	}


	offset = ctx->catalog->sspp[ctx->idx].sblk->scaler_blk.base -
	offset = ctx->cap->sblk->scaler_blk.base - REG_DMA_VIG_SWI_DIFF;
		REG_DMA_VIG_SWI_DIFF;
	dma_ops = sde_reg_dma_get_ops();
	dma_ops = sde_reg_dma_get_ops();
	dma_ops->reset_reg_dma_buf(sspp_buf[QSEED][ctx->idx]);
	dma_ops->reset_reg_dma_buf(sspp_buf[QSEED][ctx->idx]);