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 @@ -41,6 +41,7 @@ properties:
- const: iface
- const: vcodec_core
- const: vcodec_bus
dma-coherent: true

iommus:
minItems: 1
Expand Down Expand Up @@ -86,6 +87,7 @@ properties:

required:
- compatible
- dma-coherent
- power-domain-names
- iommus

Expand Down Expand Up @@ -119,6 +121,7 @@ examples:
interconnects = <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_VENUS_CFG 0>,
<&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>;
interconnect-names = "cpu-cfg", "video-mem";
dma-coherent;

iommus = <&apps_smmu 0x2180 0x20>,
<&apps_smmu 0x2184 0x20>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/sc7280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4986,6 +4986,7 @@
interconnects = <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_VENUS_CFG 0>,
<&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>;
interconnect-names = "cpu-cfg", "video-mem";
dma-coherent;

iommus = <&apps_smmu 0x2180 0x20>;
memory-region = <&video_mem>;
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/platform/qcom/iris/iris_vidc.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,14 +440,14 @@ static int iris_enum_frameintervals(struct file *filp, void *fh,
mbpf = NUM_MBS_PER_FRAME(fival->height, fival->width);
fps = DIV_ROUND_UP(core->iris_platform_data->max_core_mbps, mbpf);

fival->type = V4L2_FRMIVAL_TYPE_STEPWISE;
fival->type = V4L2_FRMIVAL_TYPE_CONTINUOUS;
fival->stepwise.min.numerator = 1;
fival->stepwise.min.denominator =
min_t(u32, fps, MAXIMUM_FPS);
fival->stepwise.max.numerator = 1;
fival->stepwise.max.denominator = 1;
fival->stepwise.step.numerator = 1;
fival->stepwise.step.denominator = MAXIMUM_FPS;
fival->stepwise.step.denominator = 1;

return 0;
}
Expand Down