Commit 08281bd3 authored by Christoph Hellwig's avatar Christoph Hellwig

drm/exynos: stop setting DMA_ATTR_NON_CONSISTENT

DMA_ATTR_NON_CONSISTENT is a no-op except on PA-RISC and a few MIPS
configs, so don't set it in this ARM specific driver.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 43ee5b6d
...@@ -42,8 +42,6 @@ static int exynos_drm_alloc_buf(struct exynos_drm_gem *exynos_gem, bool kvmap) ...@@ -42,8 +42,6 @@ static int exynos_drm_alloc_buf(struct exynos_drm_gem *exynos_gem, bool kvmap)
if (exynos_gem->flags & EXYNOS_BO_WC || if (exynos_gem->flags & EXYNOS_BO_WC ||
!(exynos_gem->flags & EXYNOS_BO_CACHABLE)) !(exynos_gem->flags & EXYNOS_BO_CACHABLE))
attr |= DMA_ATTR_WRITE_COMBINE; attr |= DMA_ATTR_WRITE_COMBINE;
else
attr |= DMA_ATTR_NON_CONSISTENT;
/* FBDev emulation requires kernel mapping */ /* FBDev emulation requires kernel mapping */
if (!kvmap) if (!kvmap)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment