Commit 0900f59d authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Tomasz Nowicki
Browse files

CHROMIUM: media: platform: mediatek: isp: set the dma max_seg_size



Allow devices to have dma operations beyond 4K, and avoid warnings such
as:

DMA-API: mtk-cam-dip 15022000.dip: mapping sg segment longer than device claims to support [len=1048576] [max=65536]

UPSTREAM-TASK=b:298364886, b:368493852
BUG=b:296972151, b:341019453
TEST=none

Change-Id: I8dc41132491e9172fd481ae43bdfba0eeea9e879
Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4831951


Reviewed-by: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: default avatarOlivia Wen <olivia.wen@mediatek.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5733973


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