The reason I ask this question is because in the SDK file "ipu_common.h" there is the declaration:
enum disp_port {
IPU1_DI0,
IPU1_DI1,
IPU2_DI0,
IPU2_DI1,
};
So if PROG_DISP_ID_5 is set to 2, that would indicate that the output is on IPU2 DI0, and I'm pretty sure it comes out of IPU1 DI0.
The code is:
In the function ipu_dc_config:
uint32_t disp_port = 2; //up to 4 display is supported by one IPU.
ipu_dc_display_config(ipu_index, disp_port, 2, 0, width - 1);
In the function ipu_dc_display_config:
ipu_write_field(ipu_index, IPU_DC_WR_CH_CONF_5__PROG_DISP_ID_5, disp_port);