Commit d43c4786 authored by Moudy Ho's avatar Moudy Ho Committed by Tomasz Nowicki
Browse files

HACK: CHROMIUM: media: platform: mediatek: mdp3: Compute plane address with data_offset



With V4L2 MEMORY DMABUF API, it is necessary to set a file descriptor on
each plane. The way to pass an offset with a DmaBuf is not defined in V4L2
specification. This is the case as it is needed to specify offsets because
Chromium creates one DmaBuf for the planes.

BUG=chromium:901264
BUG=b:143515730, b:341019453
TEST=camera preview & capture pass
UPSTREAM-TASK=b:368493852

Change-Id: I947b9aa283bddda82c0cb275da7b652c1a63ddd4
Signed-off-by: default avatarMoudy Ho <moudy.ho@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5892921


Reviewed-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
Tested-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
Commit-Queue: Hsin-Te Yuan <yuanhsinte@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
Signed-off-by: default avatarTomasz Nowicki <tnowicki@google.com>
parent 3d0170af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment