Spaces:
Sleeping
Sleeping
Ticket Name: Linux/TDA2: function of the IPU1 and IPU2 | |
Query Text: | |
Part Number: TDA2 Tool/software: Linux Hi , I found the following description on TDA2x Technical Reference Manual SPRUI29D chapter 7.1.1: The device instantiates two dual Cortex®-M4 image processor unit (IPU) subsystems. • IPU1 subsystem is available for general purpose usage • IPU2 subsystem is dedicated to IVA support and is not available for other processing And, on the vision_sdk links_fw/include/link_api/system_linkId.h, I can see only the IPU1_0's link id, for example, SYSTEM_LINK_ID_DISPLAY_0, SYSTEM_LINK_ID_VENC_0, SYSTEM_LINK_ID_VDEC_0. What's the function each IPU? Could I create the IPU2 link id to work? Thanks. Regards, Tianxing | |
Responses: | |
Hi Tianxing, Both the IPUs are available for general purpose usage. This paragraph is leftover from a previous generation device and will be removed from the TRM. Regards, Rishabh | |
Hi Rishabh, Thanks, that's mean I can used IPU1 and IPU2 equivalent . However, vision sdk has not defined the IPU2 link. For example, SYSTEM_LINK_ID_CAPTURE_0, SYSTEM_LINK_ID_VDEC_0, it only belong to IPU1_0. If I want to used IPU2 to capture or decode, maybe I should define the link used IPU2_LINK? Regards, Tianxing | |
Hi Tianxing, Any link that is supported on IPU can be run on either IPU1 or IPU2. Capture, display are supported on both IPUs. Regards, Rishabh | |
Hi Rishabh, My question is that, should I define a decode link, display link or capture link id used the macro define: #define IPU2_LINK(x) (SYSTEM_MAKE_LINK_ID(SYSTEM_PROC_IPU2 , (x))) Thanks, Tianxing | |
Hi Tianxing, You need to change anything here. You should change only the primary core in cfg.mk and rest will be taken care depending on it. Regards, Rishabh | |
Hi Rishabh, Now, I set as follow: PROC_IPU1_0_INCLUDE=yes PROC_IPU1_1_INCLUDE=no PROC_IPU2_INCLUDE=yes PROC_A15_0_INCLUDE=yes PROC_DSP1_INCLUDE=yes PROC_DSP2_INCLUDE=yes PROC_EVE1_INCLUDE=yes PROC_EVE2_INCLUDE=yes PROC_EVE3_INCLUDE=yes PROC_EVE4_INCLUDE=yes IPU_PRIMARY_CORE=ipu1_0 IPU_SECONDARY_CORE=ipu2 I think if I want to create link on ipu2, I should define the ipu2 link Id, is right? And If I only set the ipu2 as primary, I need not care the link id. Regards, Tianxing | |
Hi Tianxing, Yes you need not care about the link id. Changing primary core is sufficient. Regards, Rishabh | |
Hi Rishabh, The another question is that if I used IPU2 and IPU1 both, the IPU2 link Id maybe defined, is right? Regards, Tianxing | |
Hi Tianxing, Please find the new TDA TRM here: www.ti.com/.../sprui29e.pdf Regards, Rishabh | |
Hi Tianxing, Is there an update on this issue? Regards, Rishabh | |