Commit 0720c531 authored by Sui Jingfeng's avatar Sui Jingfeng Committed by Greg Kroah-Hartman
Browse files

drm/etnaviv: Fix page property being used for non writecombine buffers



[ Upstream commit 834f3041 ]

In the etnaviv_gem_vmap_impl() function, the driver vmap whatever buffers
with write combine(WC) page property, this is incorrect. Cached buffers
should be mapped with the cached page property and uncached buffers should
be mapped with the uncached page property.

Fixes: a0a5ab3e ("drm/etnaviv: call correct function when trying to vmap a DMABUF")
Signed-off-by: default avatarSui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cd2f69b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment