Commit 3a75bf4e authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Mauro Carvalho Chehab

media: venus: Add platform buffers for v6

Add a new file for hfi platform buffer size and count calculations
for v6.
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 05ec881b
...@@ -5,7 +5,7 @@ venus-core-objs += core.o helpers.o firmware.o \ ...@@ -5,7 +5,7 @@ venus-core-objs += core.o helpers.o firmware.o \
hfi_venus.o hfi_msgs.o hfi_cmds.o hfi.o \ hfi_venus.o hfi_msgs.o hfi_cmds.o hfi.o \
hfi_parser.o pm_helpers.o dbgfs.o \ hfi_parser.o pm_helpers.o dbgfs.o \
hfi_platform.o hfi_platform_v4.o \ hfi_platform.o hfi_platform_v4.o \
hfi_platform_v6.o \ hfi_platform_v6.o hfi_plat_bufs_v6.o \
venus-dec-objs += vdec.o vdec_ctrls.o venus-dec-objs += vdec.o vdec_ctrls.o
venus-enc-objs += venc.o venc_ctrls.o venus-enc-objs += venc.o venc_ctrls.o
......
...@@ -32,4 +32,7 @@ struct hfi_plat_buffers_params { ...@@ -32,4 +32,7 @@ struct hfi_plat_buffers_params {
}; };
}; };
int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type,
u32 buftype, struct hfi_buffer_requirements *bufreq);
#endif #endif
This diff is collapsed.
...@@ -322,4 +322,5 @@ const struct hfi_platform hfi_plat_v6 = { ...@@ -322,4 +322,5 @@ const struct hfi_platform hfi_plat_v6 = {
.codecs = get_codecs, .codecs = get_codecs,
.capabilities = get_capabilities, .capabilities = get_capabilities,
.num_vpp_pipes = num_vpp_pipes, .num_vpp_pipes = num_vpp_pipes,
.bufreq = hfi_plat_bufreq_v6,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment