mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
gpu: ipu-v3: Add chroma plane offset overrides to ipu_cpmem_set_image()
Allow the caller of ipu_cpmem_set_image() to override the latters calculation of the chroma plane offsets, by adding override U/V plane offsets to 'struct ipu_image'. Signed-off-by: Steve Longerbeam <[email protected]> Tested-by: Philipp Zabel <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
parent
22ec080819
commit
dec408fd23
3 changed files with 35 additions and 24 deletions
|
|
@ -246,6 +246,9 @@ struct ipu_image {
|
|||
struct v4l2_rect rect;
|
||||
dma_addr_t phys0;
|
||||
dma_addr_t phys1;
|
||||
/* chroma plane offset overrides */
|
||||
u32 u_offset;
|
||||
u32 v_offset;
|
||||
};
|
||||
|
||||
void ipu_cpmem_zero(struct ipuv3_channel *ch);
|
||||
|
|
|
|||
Loading…
Reference in a new issue