Displaying 1 result from an estimated 1 matches for "drm_gem_pgprot_cached".
2019 Dec 11
0
[PATCH v3 3/4] drm/virtio: fix mmap page attributes
...100644
--- a/drivers/gpu/drm/virtio/virtgpu_object.c
+++ b/drivers/gpu/drm/virtio/virtgpu_object.c
@@ -87,6 +87,7 @@ static const struct drm_gem_object_funcs virtio_gpu_gem_funcs = {
.vmap = drm_gem_shmem_vmap,
.vunmap = drm_gem_shmem_vunmap,
.mmap = &drm_gem_shmem_mmap,
+ .pgprot = &drm_gem_pgprot_cached,
};
struct drm_gem_object *virtio_gpu_create_object(struct drm_device *dev,
--
2.18.1