mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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 <[email protected]>
Suggested-by: Julien Grall <[email protected]>
Acked-by: Julien Grall <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]