Skip to content

Commit

Permalink
media: venus: Add platform buffers for v6
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stanimir Varbanov authored and Mauro Carvalho Chehab committed Jan 13, 2021
1 parent 05ec881 commit 3a75bf4
Show file tree
Hide file tree
Showing 4 changed files with 1,322 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/qcom/venus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions drivers/media/platform/qcom/venus/hfi_plat_bufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 3a75bf4

Please sign in to comment.