drm/virtio: fix byteorder handling in virtio_gpu_cmd_transfer_{from, to}_host_3d...
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Oct 2019 06:25:37 +0000 (08:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Nov 2019 08:22:26 +0000 (09:22 +0100)
commit1dc3485247170d3b88a21cadee7f7da1f0433495
tree9830a2bbfdb81805ce9d619943e4c169c3301e48
parent93adc0c2cb7270a5ed1deb7fb561428da971f323
drm/virtio: fix byteorder handling in virtio_gpu_cmd_transfer_{from, to}_host_3d functions

Be consistent with the rest of the code base.
No functional change.

v2:
 - fix sparse warnings for virtio_gpu_cmd_transfer_to_host_2d call.
 - move convert_to_hw_box helper function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20191023062539.11728-2-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_ioctl.c
drivers/gpu/drm/virtio/virtgpu_vq.c