mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
video: rockchip: rga3: Remove iommu_api that does not support GKI
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com> Change-Id: Ie90b87aa84758644a4696e59a63c48d2fbb8e7b2
This commit is contained in:
parent
431ced4368
commit
fdf8b0fb96
|
|
@ -425,11 +425,7 @@ static inline bool rga_dev_is_dma_coherent(struct device *dev)
|
|||
|
||||
static inline struct iommu_domain *rga_iommu_get_dma_domain(struct device *dev)
|
||||
{
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0))
|
||||
return iommu_get_dma_domain(dev);
|
||||
#else
|
||||
return iommu_get_domain_for_dev(dev);
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void rga_dma_flush_cache_by_sgt(struct sg_table *sgt)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user