linux-stable/drivers/gpu/drm/xen
Oleksandr Andrushchenko c1e9cfc815 drm/xen-front: Fix mmap attributes for display buffers
[ Upstream commit 24ded292a5 ]

When GEM backing storage is allocated those are normal pages,
so there is no point using pgprot_writecombine while mmaping.
This fixes mismatch of buffer pages' memory attributes between
the frontend and backend which may cause screen artifacts.

Fixes: c575b7eeb8 ("drm/xen-front: Add support for Xen PV display frontend")

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Suggested-by: Julien Grall <julien.grall@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129150422.19867-1-andr2000@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:19 +01:00
..
Kconfig
Makefile
xen_drm_front.c
xen_drm_front.h
xen_drm_front_cfg.c
xen_drm_front_cfg.h
xen_drm_front_conn.c
xen_drm_front_conn.h
xen_drm_front_evtchnl.c
xen_drm_front_evtchnl.h
xen_drm_front_gem.c drm/xen-front: Fix mmap attributes for display buffers 2020-01-27 14:50:19 +01:00
xen_drm_front_gem.h
xen_drm_front_kms.c
xen_drm_front_kms.h
xen_drm_front_shbuf.c
xen_drm_front_shbuf.h