video: driver: add release done flag support

update hfi command header file to include
release done flag and related hfi buffer flag
changes. add functionality to release and
unmap buffer if this flag is sent by fw.

Change-Id: I03fdd7776fcd6ac5e8a147c7dff2dfb6a15250e9
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:
Darshana Patil
2021-03-08 17:29:40 -08:00
parent 6d97dd3795
commit 03bda80d9e
4 changed files with 98 additions and 11 deletions

View File

@@ -16,8 +16,10 @@ u32 get_hfi_port(struct msm_vidc_inst *inst,
enum msm_vidc_port_type port);
u32 get_hfi_port_from_buffer_type(struct msm_vidc_inst *inst,
enum msm_vidc_buffer_type buffer_type);
u32 get_hfi_buffer_type(enum msm_vidc_domain_type domain,
u32 hfi_buf_type_from_driver(enum msm_vidc_domain_type domain,
enum msm_vidc_buffer_type buffer_type);
u32 hfi_buf_type_to_driver(enum msm_vidc_domain_type domain,
enum hfi_buffer_type buffer_type, enum hfi_packet_port_type port_type);
u32 get_hfi_codec(struct msm_vidc_inst *inst);
u32 get_hfi_colorformat(struct msm_vidc_inst *inst,
enum msm_vidc_colorformat_type colorformat);