Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Lucas Stach and committed by
Philipp Zabel
16e9ab82 2ea659a9

-2
-2
drivers/gpu/ipu-v3/ipu-prg.c
··· 318 318 writel(val, prg->regs + IPU_PRG_BADDR(prg_chan)); 319 319 320 320 val = readl(prg->regs + IPU_PRG_CTL); 321 - /* counter load enable */ 322 - val |= IPU_PRG_CTL_CNT_LOAD_EN(prg_chan); 323 321 /* config AXI ID */ 324 322 val &= ~(IPU_PRG_CTL_SOFT_ARID_MASK << 325 323 IPU_PRG_CTL_SOFT_ARID_SHIFT(prg_chan));