[RAMEN9610-12270][COMMON] media: vb2: modify to support offset in dmabuf
authorSeungchul Kim <sc377.kim@samsung.com>
Thu, 27 Sep 2018 05:03:43 +0000 (14:03 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:17 +0000 (20:23 +0300)
commit32b843cc046fa534d35d8ca8caf781191e272db2
treee2dddec699820a4468f8a7f26eff29a16300b093
parent6e22ffa457fd4d2581a8ee1eefb8df78a2ff96db
[RAMEN9610-12270][COMMON] media: vb2: modify to support offset in dmabuf

The offset was added to v4l2_buffer,
but vb2 does not support offset.
So vb2 is modified to support offset calculation.

Change-Id: Iee6e4b1146043eae00450556ba4686ba412aec0d
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
drivers/media/v4l2-core/videobuf2-dma-sg.c
drivers/media/v4l2-core/videobuf2-v4l2.c