From: Lucas Stach Date: Wed, 3 May 2017 16:16:46 +0000 (+0200) Subject: gpu: ipu-v3: prg: remove counter load enable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16e9ab820ad43108513ec32bb18fb226df4cc7fc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git gpu: ipu-v3: prg: remove counter load enable The counter load enable bit has no effect when the shadow register set is activated. As we always operate the PRG with shadow enabled it is safe to remove this. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- diff --git a/drivers/gpu/ipu-v3/ipu-prg.c b/drivers/gpu/ipu-v3/ipu-prg.c index caca57febbd6..ecc9ea44dc50 100644 --- a/drivers/gpu/ipu-v3/ipu-prg.c +++ b/drivers/gpu/ipu-v3/ipu-prg.c @@ -318,8 +318,6 @@ int ipu_prg_channel_configure(struct ipuv3_channel *ipu_chan, writel(val, prg->regs + IPU_PRG_BADDR(prg_chan)); val = readl(prg->regs + IPU_PRG_CTL); - /* counter load enable */ - val |= IPU_PRG_CTL_CNT_LOAD_EN(prg_chan); /* config AXI ID */ val &= ~(IPU_PRG_CTL_SOFT_ARID_MASK << IPU_PRG_CTL_SOFT_ARID_SHIFT(prg_chan));