Hello. TI experts.
I'm using a decoder on TDA4VH by chips-media/wave5.
And I've patched the driver from this link to use dynamic sram allocation.
But, it seems like the decoder can't use sram because sram size and node not found.
These are kernel messages.
root@j784s4-evm:# dmesg | grep "codec*" [ 7.025846] vdec 4210000.video-codec: sram-size not found [ 7.050039] vdec 4210000.video-codec: sram node not found [ 7.094465] vdec 4210000.video-codec: [VDI] common_mem: daddr=0x0000000900500000 size=3145728 vaddr=0x00000000b67131e4 [ 7.105297] vdec 4210000.video-codec: [VDI] driver initialized successfully [ 7.142290] vdec 4210000.video-codec: wave5_vpu_reset: backbone supported [ 7.155916] vdec 4210000.video-codec: wave5_vpu_load_firmware: enum product_id: 00000000, fw revision: 284060 [ 7.169694] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE' and product code: 0x521c [ 7.248286] vdec 4220000.video-codec: sram-size not found [ 7.248290] vdec 4220000.video-codec: sram node not found [ 7.274302] vdec 4220000.video-codec: [VDI] common_mem: daddr=0x0000000900800000 size=3145728 vaddr=0x000000004d7775dd [ 7.287036] vdec 4220000.video-codec: [VDI] driver initialized successfully
What should I check to use sram allocation?
and if patching succeeds, can the runtime of decoding be faster?
best regards
Yongsig