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:Moudy Ho <moudy.ho@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5892921 Reviewed-by:
Hsin-Te Yuan <yuanhsinte@chromium.org> Tested-by:
Hsin-Te Yuan <yuanhsinte@chromium.org> Commit-Queue: Hsin-Te Yuan <yuanhsinte@chromium.org> Signed-off-by:
Hubert Mazur <hmazur@google.com> Signed-off-by:
Tomasz Nowicki <tnowicki@google.com>
Loading
Please sign in to comment