mbox series

[v2,0/7] media: venus: Enable venus support on sc7280

Message ID 1625126736-16266-1-git-send-email-dikshita@codeaurora.org (mailing list archive)
Headers show
Series media: venus: Enable venus support on sc7280 | expand

Message

Dikshita Agarwal July 1, 2021, 8:05 a.m. UTC
This series enables support for 6xx venus encode/decode on sc7280.

The driver changes are dependent on [1]yaml and [2]dts patches.

[1] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=484019
[2] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=484727

Changes since v1:
 - added cx power domain as opp domain.
 - addressed comments on all patches (stanimir).
 - updated buf count handling to consider client requirment.
 - use VB2_MAX_FRAME for scratch1 buffer size calculation to match
   FW buffer calculation.

Dikshita Agarwal (7):
  venus: firmware: enable no tz fw loading for sc7280
  media: venus: core: Add sc7280 DT compatible and resource data
  media: venus: Add num_vpp_pipes to resource structure
  media: venus: hfi: Skip AON register programming for V6 1pipe
  venus: vdec: set work route to fw
  media: venus: helpers: update NUM_MBS macro calculation
  media: venus: Set buffer to FW based on FW min count requirement.

 drivers/media/platform/qcom/venus/core.c           | 54 ++++++++++++++++++++++
 drivers/media/platform/qcom/venus/core.h           |  2 +
 drivers/media/platform/qcom/venus/firmware.c       | 41 ++++++++++++----
 drivers/media/platform/qcom/venus/helpers.c        | 26 +++++++----
 drivers/media/platform/qcom/venus/hfi_cmds.c       |  7 +++
 drivers/media/platform/qcom/venus/hfi_helper.h     | 14 ++++++
 drivers/media/platform/qcom/venus/hfi_msgs.c       |  7 +++
 drivers/media/platform/qcom/venus/hfi_plat_bufs.h  |  2 +-
 .../media/platform/qcom/venus/hfi_plat_bufs_v6.c   | 14 ++++--
 drivers/media/platform/qcom/venus/hfi_platform.c   | 13 ------
 drivers/media/platform/qcom/venus/hfi_platform.h   |  5 +-
 .../media/platform/qcom/venus/hfi_platform_v6.c    |  6 ---
 drivers/media/platform/qcom/venus/hfi_venus.c      |  4 ++
 drivers/media/platform/qcom/venus/hfi_venus_io.h   |  2 +
 drivers/media/platform/qcom/venus/vdec.c           | 42 ++++++++++++++---
 15 files changed, 186 insertions(+), 53 deletions(-)