diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-26 16:47:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-27 13:54:39 +0100 |
commit | 6be7e07335486f5731cab748d80c68f20896581f (patch) | |
tree | 753eba3594d8fe0b4e8d9eaafd278cc4f1f060e0 /drivers/gpu/drm/sun4i/sun8i_vi_layer.c | |
parent | drm/shmem: add support for per object caching flags. (diff) | |
download | linux-dev-6be7e07335486f5731cab748d80c68f20896581f.tar.xz linux-dev-6be7e07335486f5731cab748d80c68f20896581f.zip |
drm/virtio: fix mmap page attributes
virtio-gpu uses cached mappings, set
drm_gem_shmem_object.map_cached accordingly.
Cc: stable@vger.kernel.org
Fixes: c66df701e783 ("drm/virtio: switch from ttm to gem shmem helpers")
Reported-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reported-by: Guillaume Gardet <Guillaume.Gardet@arm.com>
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-3-kraxel@redhat.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions