drm/exynos: stop setting DMA_ATTR_NON_CONSISTENT
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 13:29:48 +0000 (15:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:41 +0000 (06:20 +0200)
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: Christoph Hellwig <hch@lst.de>
drivers/gpu/drm/exynos/exynos_drm_gem.c

index efa4768..0707322 100644 (file)
@@ -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 ||
                        !(exynos_gem->flags & EXYNOS_BO_CACHABLE))
                attr |= DMA_ATTR_WRITE_COMBINE;
-       else
-               attr |= DMA_ATTR_NON_CONSISTENT;
 
        /* FBDev emulation requires kernel mapping */
        if (!kvmap)