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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_parser.o pm_helpers.o dbgfs.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-enc-objs += venc.o venc_ctrls.o
+3 −0
Original line number Diff line number Diff line
@@ -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
+1317 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -322,4 +322,5 @@ const struct hfi_platform hfi_plat_v6 = {
	.codecs = get_codecs,
	.capabilities = get_capabilities,
	.num_vpp_pipes = num_vpp_pipes,
	.bufreq = hfi_plat_bufreq_v6,
};