]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
authorKrzysztof Hałasa <khalasa@piap.pl>
Mon, 7 Jun 2021 10:49:07 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Sep 2021 06:50:19 +0000 (08:50 +0200)
commit241581af858b9d46ab3ebd237c923afc48161e1c
tree9efd0465f9313df894b2b83da6f46abc173e24b7
parentb6de6ec37320d28c02d256d94144c6108174c4e7
gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats

[ Upstream commit 7cca7c8096e2c8a4149405438329b5035d0744f0 ]

Video captured in 1400x1050 resolution (bytesperline aka stride = 1408
bytes) is invalid. Fix it.

Signed-off-by: Krzysztof Halasa <khalasa@piap.pl>
Link: https://lore.kernel.org/r/m3y2bmq7a4.fsf@t19.piap.pl
[p.zabel@pengutronix.de: added "gpu: ipu-v3:" prefix to commit description]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/ipu-v3/ipu-cpmem.c