Proposal for a new video driver for Qualcomm upcoming SOCs

From: vgarodia
Date: Mon Mar 28 2022 - 13:12:48 EST


Hi All,

There is an existing video driver for Qualcomm SOCs [1]. There is a need for a separate driver for the new generations of video hardware in Qualcomm SOCs. It is needed, primarily for below reasons:-

1. HFI 2.0 interface (driver<->firmware interface) is a new non-backward compatible interface.
a. HFI 2.0 is designed to suit future video hardware generations.
b. Older interface (HFI 1.0) is supported till MSM8350 (SD 835). Any new video hardware would be supported *only* with the
new HFI 2.0.

2. Video firmwares, which are based on HFI 1.0, were designed to follow khronos openmax IL 1.1.2 specification. Video firmware
interface HFI 2.0 is designed based on v4l2 stateful codec specification.

This request is to share your suggestions or any queries to discuss on this proposal.
Incase any aspect to consider, before we start implementing the new driver.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/media/platform/qcom/venus

Regards,
Vikash