Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ properties:
iommus:
maxItems: 1

iommu-map:
maxItems: 1

memory-region:
maxItems: 1

Expand Down Expand Up @@ -101,6 +104,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/qcom,qcs615-venus.h>
#include <dt-bindings/clock/qcom,videocc-sc7180.h>

venus: video-codec@aa00000 {
Expand All @@ -118,5 +122,6 @@ examples:
clock-names = "core", "iface", "bus",
"vcodec0_core", "vcodec0_bus";
iommus = <&apps_smmu 0x0c00 0x60>;
iommu-map = <VENUS_FIRMWARE &apps_smmu 0xe42 0x1>;
memory-region = <&venus_mem>;
};
2 changes: 2 additions & 0 deletions drivers/media/platform/qcom/venus/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ struct venus_core {
size_t mapped_mem_size;
phys_addr_t mem_phys;
size_t mem_size;
struct qcom_scm_pas_context *ctx;
bool iommu_domain_owned;
} fw;
struct mutex lock;
struct list_head instances;
Expand Down
Loading