]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix endianness in primary_plane_update
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 5 Dec 2016 19:44:39 +0000 (21:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 04:59:16 +0000 (06:59 +0200)
commit75c7c0e0ca8b30c71cfa1b6ce8fa5fee81827614
treeee3634b12055d4c9b12fbdc5c708ecf045424e4a
parentb9e0055846fa9ad17e252ebb059eacf9b04f087c
drm/virtio: fix endianness in primary_plane_update

virtio_gpu_cmd_transfer_to_host_2d expects x and y
parameters in LE, but virtio_gpu_primary_plane_update
passes in the CPU format instead.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_plane.c