From 48eb1f6fa2391e86d66c42bd69690ac86722ba1d Mon Sep 17 00:00:00 2001 From: Evgeny Kornev Date: Wed, 12 Apr 2023 13:11:09 +0300 Subject: [PATCH] include: soc: tegra: add isp_unit_id Add isp_unit_id to channel isp config so isp 'affinity' could be passed to RCE from KMD Jira CT26X-440 Change-Id: I09fd85b92b28208c54d5e00835a4298c2326da7f Signed-off-by: Evgeny Kornev Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2886722 Reviewed-by: svcacv Reviewed-by: Pekka Pessi Reviewed-by: Frank Chen GVS: Gerrit_Virtual_Submit --- include/soc/tegra/camrtc-capture.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/soc/tegra/camrtc-capture.h b/include/soc/tegra/camrtc-capture.h index 472409f9..e2a56c14 100644 --- a/include/soc/tegra/camrtc-capture.h +++ b/include/soc/tegra/camrtc-capture.h @@ -313,6 +313,17 @@ typedef struct syncpoint_info { #define ISP_NUM_GOS_TABLES MK_U32(8) +/** + * @defgroup ISPUnitIds + * ISP Unit Identifiers + */ +/**@{*/ +/** ISP unit 0 */ +#define ISP_UNIT_ISP MK_U32(0x0000) +/** ISP unit 1 */ +#define ISP_UNIT_ISP2 MK_U32(0x0001) +/**@}*/ + #define VI_NUM_GOS_TABLES MK_U32(12) #define VI_NUM_ATOMP_SURFACES 4 #define VI_NUM_STATUS_SURFACES 1 @@ -2313,7 +2324,8 @@ struct capture_channel_isp_config { /** Size of the memoryinfo buffer reserved for each program request. */ uint32_t program_memoryinfo_size; - uint32_t reserved; + /** ISP unit ID. See @ref ISPUnitIds "ISP Unit Identifiers". */ + uint32_t isp_unit_id; #define HAVE_ISP_GOS_TABLES /** Number of active ISP GOS tables in isp_gos_tables[] */