Skip to content
Closed
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
5 changes: 3 additions & 2 deletions arch/arm64/boot/dts/qcom/sm8550.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
#include <dt-bindings/mailbox/qcom-ipcc.h>
#include <dt-bindings/media/qcom,sm8550-iris.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/soc/qcom,gpr.h>
Expand Down Expand Up @@ -3292,8 +3293,8 @@
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>;
reset-names = "bus";

iommus = <&apps_smmu 0x1940 0>,
<&apps_smmu 0x1947 0>;
iommu-map = <IRIS_NON_PIXEL_VCODEC &apps_smmu 0x1940 0x0 0x1>,
<IRIS_PIXEL &apps_smmu 0x1947 0x0 0x1>;
dma-coherent;

/*
Expand Down
13 changes: 13 additions & 0 deletions include/dt-bindings/media/qcom,sm8550-iris.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/

#ifndef _DT_BINDINGS_MEDIA_QCOM_SM8550_IRIS_H_
#define _DT_BINDINGS_MEDIA_QCOM_SM8550_IRIS_H_

/* Function identifiers for iommu-map to attach for the context bank devices */
#define IRIS_NON_PIXEL_VCODEC 0
#define IRIS_PIXEL 1

#endif