summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorarai <arai@nvidia.com>2020-06-04 14:10:10 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2021-01-22 10:38:58 -0500
commit72c57f0e21570a90a2ccf9bc244ca0d62c5626dc (patch)
treed1ed3466f2b88a68e591392516d9d66df0afd64e /include
parente7565d131437f83b629436dfdaa6eeb6d067b6f5 (diff)
drivers:media:vi5_fops add gang mode support
add support for gang mode captures involving 8 CSI lanes Bug 2834674 Change-Id: I8f542312bb176be274ef0b6d447dd489086e62d1 Signed-off-by: arai <arai@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2355825 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
-rw-r--r--include/media/mc_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/media/mc_common.h b/include/media/mc_common.h
index c966cbd1c..4c6d3db80 100644
--- a/include/media/mc_common.h
+++ b/include/media/mc_common.h
@@ -3,7 +3,7 @@
3 * 3 *
4 * Tegra Media controller common APIs 4 * Tegra Media controller common APIs
5 * 5 *
6 * Copyright (c) 2012-2019, NVIDIA CORPORATION. All rights reserved. 6 * Copyright (c) 2012-2021, NVIDIA CORPORATION. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License, 9 * under the terms and conditions of the GNU General Public License,
@@ -81,7 +81,7 @@ struct tegra_channel_buffer {
81 struct tegra_channel *chan; 81 struct tegra_channel *chan;
82 82
83 unsigned int vb2_state; 83 unsigned int vb2_state;
84 unsigned int capture_descr_index; 84 unsigned int capture_descr_index[TEGRA_CSI_BLOCKS];
85 85
86 dma_addr_t addr; 86 dma_addr_t addr;
87 87
@@ -255,8 +255,8 @@ struct tegra_channel {
255 unsigned int subdevs_bound; 255 unsigned int subdevs_bound;
256 unsigned int link_status; 256 unsigned int link_status;
257 struct nvcsi_deskew_context *deskew_ctx; 257 struct nvcsi_deskew_context *deskew_ctx;
258 struct tegra_vi_channel *tegra_vi_channel; 258 struct tegra_vi_channel *tegra_vi_channel[TEGRA_CSI_BLOCKS];
259 struct capture_descriptor *request; 259 struct capture_descriptor *request[TEGRA_CSI_BLOCKS];
260 bool is_slvsec; 260 bool is_slvsec;
261 int is_interlaced; 261 int is_interlaced;
262 enum interlaced_type interlace_type; 262 enum interlaced_type interlace_type;