]> git.baikalelectronics.ru Git - kernel.git/commit
media: ti-vpe: vpe: Fix Motion Vector vpdma stride
authorBenoit Parrot <bparrot@ti.com>
Mon, 7 Oct 2019 15:09:50 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 16:42:25 +0000 (13:42 -0300)
commit9cfd58d46017dd8e339aec78960f238dc6d2227e
treeab48ce3743349d5455dafe5d33e0413f4286b6f3
parent7723d0c58dbdbf161c64985ff523d5c8b01f265a
media: ti-vpe: vpe: Fix Motion Vector vpdma stride

commit 4b881c05071b ("[media] media: ti-vpe: vpe: allow use of user
specified stride") and commit 4ccc43a105f1 ("[media] media: ti-vpe: vpdma:
add support for user specified stride") resulted in the Motion Vector
stride to be the same as the image stride.

This caused memory corruption in the output image as mentioned in
commit c6945be0cd3f ("[media] media: ti-vpe: vpe: Fix line stride
for output motion vector").

Fixes: 4b881c05071b ("[media] media: ti-vpe: vpe: allow use of user specified stride")
Fixes: 4ccc43a105f1 ("[media] media: ti-vpe: vpdma: add support for user specified stride")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/ti-vpe/vpe.c