This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Creating more than 8 v4l2 encoders

Part Number: TDA4VM

Hi Ti team

We are testing 16ch 720p 6fps encoding on TDA4VM.

If we create more than 8 Encoder instances,
The following message is output and creation is not possible.

[ 217.204145] Firmware used_socks[8] max context[8]
[ 217.210345] ERROR: Firmware context limit reached!

So, find the kernel code that outputs the message
I made the following fixes, but still can't use more than 8 encoders.

drivers/media/platform/vxe-vxd/encoder/fw_binaries/ALL_CODECS_FW_ALL_pipes_2_contexts_8_hwconfig_1_bin.c

unsigned char *all_codecs_fw_all_pipes_2_contexts_8_hwconfig_1_define_names_array[] = {
"TOPAZHP_NUM_PIPES",
"TOPAZHP_MAX_BU_SUPPORT",
"MAX_REF_B_LEVELS_FW",
"SEI_INSERTION",
"TOPAZHP_MAX_NUM_STREAMS",
};

unsigned int all_codecs_fw_all_pipes_2_contexts_8_hwconfig_1_define_values_array[] = {
2,
(TOPAZHP_MAX_BU_SUPPORT_HD),
0,
One,
16, // encoder count 8->16
};

Is what we are trying to test impossible?
Please advise on how to try this.

Thank you,

Sungnam.