[PATCH v9 0/2] media: venus: enable venus on sm6150

Renjiang Han posted 2 patches 1 month, 1 week ago
arch/arm64/boot/dts/qcom/qcs615-ride.dts |  4 ++
arch/arm64/boot/dts/qcom/sm6150.dtsi     | 78 ++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
[PATCH v9 0/2] media: venus: enable venus on sm6150
Posted by Renjiang Han 1 month, 1 week ago
SM6150 uses the same video core as SC7180, so reuse the same resource
data of SC7180 for SM6150 to enable video functionality.

Validated this series on SM6150 and SC7180.

Signed-off-by: Renjiang Han <quic_renjiang@quicinc.com>
---
Changes in v9:
- 1. Remove venus driver patch from this patch series due to it has been
picked.
- 2. Rebase devicetree patch due to qcs615.dtsi file has been renamed to
sm6150.dtsi.
- 3. Remove the dependent patch as it has already been picked.
- Link to v8: https://lore.kernel.org/r/20250530-add-venus-for-qcs615-v8-0-c0092ac616d0@quicinc.com

Changes in v8:
- 1. Add missing tags.
- 2. Fix the dependency to point to videoCC series alone.
- 3. Fix review comments from Konrad.
- Link to v7: https://lore.kernel.org/r/20250527-add-venus-for-qcs615-v7-0-cca26e2768e3@quicinc.com

Changes in v7:
- 1. Update devicetree patch to fix the cherry-pick patch conflict issue.
- 2. Remove dt-bindings patch from this patch series due to it has been
picked.
- Link to v6: https://lore.kernel.org/r/20241219-add-venus-for-qcs615-v6-0-e9a74d3b003d@quicinc.com

Changes in v6:
- 1. Remove video-decoder and video-encoder nodes from the device tree
- 2. Add a new dependency.
- 3. Fix missing tag.
- 4. Update commit message.
- Link to v5: https://lore.kernel.org/r/20241217-add-venus-for-qcs615-v5-0-747395d9e630@quicinc.com

Changes in v5:
- 1. Remove extra blank lines in yaml files.
- 2. Add new variables in the driver while keeping the order of the
original variables. And remove unnecessary variable initialization.
- 3. Update commit message.
- 4. Update the order of nodes in the device tree.
- Link to v4: https://lore.kernel.org/r/20241213-add-venus-for-qcs615-v4-0-7e2c9a72d309@quicinc.com

Changes in v4:
- 1. Remove qcom,qcs615-venus.yaml and use qcom,sc7180-venus.yaml for
qcs615 dt-bindings.
- 2. Add "qcom,qcs615-venus" compatible into qcom,sc7180-venus.yaml.
- 3. Remove qcs615 resource from the driver and use sc7180 resource for
the qcs615.
- 4. Use the frequency in the opp-table in devicetree for the driver.
For compatibility, if getting data from the opp table fails, the data
in the frequency table will be used.
- 5. Keep the reverse Christmas tree order coding style.
- 6. Add "qcom,sc7180-venus" compatible in devicetree.
- 7. Update cover letter message.
- Link to v3: https://lore.kernel.org/r/20241125-add-venus-for-qcs615-v3-0-5a376b97a68e@quicinc.com

Changes in v3:
- 1. Remove the ‘|’ after 'description' in the qcom,qcs615-venus.yaml.
- 2. Add a blank line before 'opp-table' in the qcom,qcs615-venus.yaml.
- 3. Put ‘additionalProperties’ before ‘properties’ in the
qcom,qcs615-venus.yaml.
- 4. Update the subject of qcom,qcs615-venus.yaml patch.
- Link to v2: https://lore.kernel.org/r/20241112-add-venus-for-qcs615-v2-0-e67947f957af@quicinc.com

Changes in v2:
- 1. The change-id of DT and driver are removed.
- 2. Add qcom,qcs615-venus.yaml files to explain DT.
- 3. The order of driver's commit and DT's commit is adjusted. Place the
driver's commit before the DT's commit.
- 4. Extends driver's commit message.
- 5. Split DT's commit into two commits. Add the venus node to the
qcs615.dtsi file. Then in the qcs615-ride.dts file enable the venus node.
- 6. Modify alignment, sort, upper and lower case letters issue.
- 7. Update cover letter message description.
- Link to v1: https://lore.kernel.org/r/20241008-add_qcs615_video-v1-0-436ce07bfc63@quicinc.com

---
Renjiang Han (2):
      arm64: dts: qcom: sm6150: add venus node to devicetree
      arm64: dts: qcom: qcs615-ride: enable venus node to initialize video codec

 arch/arm64/boot/dts/qcom/qcs615-ride.dts |  4 ++
 arch/arm64/boot/dts/qcom/sm6150.dtsi     | 78 ++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
---
base-commit: d0630b758e593506126e8eda6c3d56097d1847c5
change-id: 20250826-enable-venus-for-sm6150-4412da7c2b61

Best regards,
-- 
Renjiang Han <quic_renjiang@quicinc.com>

Re: [PATCH v9 0/2] media: venus: enable venus on sm6150
Posted by Bjorn Andersson 3 weeks, 3 days ago
On Tue, 26 Aug 2025 16:23:37 +0530, Renjiang Han wrote:
> SM6150 uses the same video core as SC7180, so reuse the same resource
> data of SC7180 for SM6150 to enable video functionality.
> 
> Validated this series on SM6150 and SC7180.
> 
> 

Applied, thanks!

[1/2] arm64: dts: qcom: sm6150: add venus node to devicetree
      commit: b83d3cc7a59c29918964cc0961dc3fef9ad32b53
[2/2] arm64: dts: qcom: qcs615-ride: enable venus node to initialize video codec
      commit: cafb56f78a04c90b41109d077a1b8aef2736980b

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>