浏览代码

disp: msm: add qcom dma mapping header for dma attributes

Refactoring of iommu headers is moving few downstream attributes
defines to new header from dma-mapping.h. This change includes
the qcom header for downstream attribute defines.

Change-Id: Ia1f9f40f2cb8090dc7b7e3cbe0b632449c44c3b0
Signed-off-by: Prabhanjan Kandula <[email protected]>
Prabhanjan Kandula 4 年之前
父节点
当前提交
81ecb37301
共有 4 个文件被更改,包括 6 次插入2 次删除
  1. 1 0
      msm/msm_gem.c
  2. 2 1
      msm/msm_gem_prime.c
  3. 1 0
      msm/msm_smmu.c
  4. 2 1
      rotator/sde_rotator_util.c

+ 1 - 0
msm/msm_gem.c

@@ -16,6 +16,7 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <linux/qcom-dma-mapping.h>
 #include <linux/spinlock.h>
 #include <linux/shmem_fs.h>
 #include <linux/dma-buf.h>

+ 2 - 1
msm/msm_gem_prime.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
  * Copyright (C) 2013 Red Hat
  * Author: Rob Clark <[email protected]>
  *
@@ -23,6 +23,7 @@
 
 #include <drm/drm_drv.h>
 
+#include <linux/qcom-dma-mapping.h>
 #include <linux/dma-buf.h>
 #include <linux/ion.h>
 #include <linux/msm_ion.h>

+ 1 - 0
msm/msm_smmu.c

@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/of_platform.h>
 #include <linux/pm_runtime.h>
+#include <linux/qcom-dma-mapping.h>
 #include <linux/msm_dma_iommu_mapping.h>
 #include <linux/dma-mapping.h>
 

+ 2 - 1
rotator/sde_rotator_util.c

@@ -1,9 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2012, 2015-2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012, 2015-2019, 2021, The Linux Foundation. All rights reserved.
  */
 #define pr_fmt(fmt)	"%s: " fmt, __func__
 
+#include <linux/qcom-dma-mapping.h>
 #include <linux/dma-mapping.h>
 #include <linux/errno.h>
 #include <linux/file.h>