Skip to content
Snippets Groups Projects
Commit 24ded292 authored by Oleksandr Andrushchenko's avatar Oleksandr Andrushchenko
Browse files

drm/xen-front: Fix mmap attributes for display buffers


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: c575b7ee ("drm/xen-front: Add support for Xen PV display frontend")

Signed-off-by: default avatarOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Suggested-by: default avatarJulien Grall <julien.grall@arm.com>
Acked-by: default avatarJulien Grall <julien.grall@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129150422.19867-1-andr2000@gmail.com
parent 938010ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment