drm/virtio: move byteorder handling into virtio_gpu_cmd_transfer_to_host_2d function
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Oct 2019 12:23:52 +0000 (14:23 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Oct 2019 09:34:03 +0000 (11:34 +0200)
commit64f1cc99ef96cc944c69828c67c33a97d26b48e0
tree655fbb9949ba4dec2dfbe6db80a91c62dabb06a6
parent9e370dfec4fee8fe22b39a296aca019605393bae
drm/virtio: move byteorder handling into virtio_gpu_cmd_transfer_to_host_2d function

Be consistent with the rest of the code base.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20191018122352.17019-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_plane.c
drivers/gpu/drm/virtio/virtgpu_vq.c