[media] media: venus: hfi: add Host Firmware Interface (HFI)
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 15 Jun 2017 16:31:48 +0000 (13:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 11:53:40 +0000 (08:53 -0300)
commit09c2845e8fe4fcab942929480203f504a6e0a114
tree0c9fafdb7ed949c1b49451831fe051edeaec320e
parentaaaa93eda64b004c20d55049c3b7b61c4d647559
[media] media: venus: hfi: add Host Firmware Interface (HFI)

This is the implementation of HFI. It is charged with the
responsibility to comunicate with the firmware through an
interface commands and messages.

 - hfi.c has interface functions used by the core, decoder
and encoder parts to comunicate with the firmware. For example
there are functions for session and core initialisation.

 - hfi_cmds has packetization operations which preparing
packets to be send from host to firmware.

 - hfi_msgs takes care of messages sent from firmware to the
host.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/qcom/venus/hfi.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi.h [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi_cmds.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi_cmds.h [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi_helper.h [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi_msgs.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/hfi_msgs.h [new file with mode: 0644]