Home
last modified time | relevance | path

Searched hist:"1 cad629257e76025bcbf490c58de550fb67d4d0e" (Results 1 – 1 of 1) sorted by relevance

/linux/include/drm/
H A Ddrm_gem_shmem_helper.hdiff 1cad629257e76025bcbf490c58de550fb67d4d0e Wed Feb 26 16:47:50 CET 2020 Gerd Hoffmann <kraxel@redhat.com> drm/shmem: add support for per object caching flags.

Add map_cached bool to drm_gem_shmem_object, to request cached mappings
on a per-object base. Check the flag before adding writecombine to
pgprot bits.

Cc: stable@vger.kernel.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Guillaume Gardet <Guillaume.Gardet@arm.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200226154752.24328-2-kraxel@redhat.com