diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2019-01-29 17:04:22 +0200 |
---|---|---|
committer | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2019-02-04 08:39:31 +0200 |
commit | 24ded292a5c2ed476f01c77fee65f8320552cd27 (patch) | |
tree | 81516989c8309026fc77638c4bbb7699540f003b /drivers/gpu/drm/drm_connector.c | |
parent | 938010ab072221f9b396770bbe78001ee3b74302 (diff) | |
download | lwn-24ded292a5c2ed476f01c77fee65f8320552cd27.tar.gz lwn-24ded292a5c2ed476f01c77fee65f8320552cd27.zip |
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: c575b7eeb89f ("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
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
0 files changed, 0 insertions, 0 deletions