diff options
author | Christoph Hellwig <hch@lst.de> | 2020-08-17 15:29:48 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-25 06:20:41 +0200 |
commit | 08281bd3e9b970faf6297a23cd65ff7dd7cbb8ca (patch) | |
tree | 8c8aefa843cc72315dad9c6337f60c01eee71f1a /drivers/gpu/drm/exynos | |
parent | mm: turn alloc_pages into an inline function (diff) | |
download | linux-08281bd3e9b970faf6297a23cd65ff7dd7cbb8ca.tar.xz linux-08281bd3e9b970faf6297a23cd65ff7dd7cbb8ca.zip |
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: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index efa476858db5..07073222b8f6 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -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) |