mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-13 03:56:25 +00:00
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>
This commit is contained in:
parent
43ee5b6daa
commit
08281bd3e9
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue