]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ff11b5534931d803c35572c4d30d80ea1a60c07
tree9830a2bbfdb81805ce9d619943e4c169c3301e48
parent6165c97984ba7c13aabe3bcaf99fea5e83fab866
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