summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2020-09-23 17:32:11 -0700
committerGerd Hoffmann <kraxel@redhat.com>2020-09-29 11:23:47 +0200
commit50c3d1938ee380e2d24714ea7058d2d3fc2662de (patch)
treefee94a6e49bea5615c95380fa4207a1e98907d0f /include/linux
parent1e2554f49e41d3f6509c6a633e5e4dd48d93ffb9 (diff)
downloadcachepc-linux-50c3d1938ee380e2d24714ea7058d2d3fc2662de.tar.gz
cachepc-linux-50c3d1938ee380e2d24714ea7058d2d3fc2662de.zip
drm/virtio: implement blob resources: fix stride discrepancy
The old transfer ioctls may work on blob resources, and there is no TRANSFER_BLOB hypercall now for simplicity. The guest may have a image view on the blob resources such that the stride is not equal to width * bytes_per_pixel. For host-only blobs, we can repurpose the transfer ioctls to synchronize caches as well. For guest-only blobs, these operations are undefined for now so leave them out. Also, with seamless Wayland integration between guest/host looking increasingly attractive, it also makes sense to keep track of one value for stride. Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org> Acked-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200924003214.662-16-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions