mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-05 20:04:31 -05:00
media: venus: Add platform buffers for v6
Add a new file for hfi platform buffer size and count calculations for v6. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
05ec881b21
commit
3a75bf4e79
@@ -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
|
||||
|
||||
@@ -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
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
Normal file
1317
drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user