summaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2022-05-23 15:17:05 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:35 +0100
commit5c2111c29689239c31e82ee1fe287f03be94a68c (patch)
tree50acffe7d28d609681682f85e2623337c2da7f53 /scripts/basic
parent7e89476b59ca0e00cb5499267edec3f62e8ef67d (diff)
downloadlinux-5c2111c29689239c31e82ee1fe287f03be94a68c.tar.gz
linux-5c2111c29689239c31e82ee1fe287f03be94a68c.zip
media: atmel: atmel-isc-base: move cropping settings outside start_dma
The cropping configuration of the Parallel Front Engine (PFE) can be done just once when the streaming starts. The ISC configuration is in place and will not be changed while streaming. It is not effective to keep rewriting the crop registers configuration everytime start_dma is called, as this can be called for each queued buffer. Thus we can configure the cropping at start_streaming time. This change moves the code to a dedicated function. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions