]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: Allow negative offsets for interlaced scanning
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 1 Jun 2018 13:13:16 +0000 (15:13 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Jul 2018 14:56:37 +0000 (16:56 +0200)
commit22661742b86271dac0926e99e4c24703bc67bddb
treeb9b9f15ca39a918644880141a85ee125ff18fd2c
parent008613322ea046d270df8168ade1963bf1f90ba3
gpu: ipu-v3: Allow negative offsets for interlaced scanning

The IPU also supports interlaced buffers that start with the bottom field.
To achieve this, the the base address EBA has to be increased by a stride
length and the interlace offset ILO has to be set to the negative stride.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
drivers/gpu/ipu-v3/ipu-cpmem.c