Skip to content

Commit 3a75bf4

Browse files
Stanimir Varbanovmchehab
authored andcommitted
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 05ec881 commit 3a75bf4

File tree

4 files changed

+1322
-1
lines changed

4 files changed

+1322
-1
lines changed

drivers/media/platform/qcom/venus/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ venus-core-objs += core.o helpers.o firmware.o \
55
hfi_venus.o hfi_msgs.o hfi_cmds.o hfi.o \
66
hfi_parser.o pm_helpers.o dbgfs.o \
77
hfi_platform.o hfi_platform_v4.o \
8-
hfi_platform_v6.o \
8+
hfi_platform_v6.o hfi_plat_bufs_v6.o \
99

1010
venus-dec-objs += vdec.o vdec_ctrls.o
1111
venus-enc-objs += venc.o venc_ctrls.o

drivers/media/platform/qcom/venus/hfi_plat_bufs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ struct hfi_plat_buffers_params {
3232
};
3333
};
3434

35+
int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type,
36+
u32 buftype, struct hfi_buffer_requirements *bufreq);
37+
3538
#endif

0 commit comments

Comments
 (0)