]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit8854a56f3e71703e0253697e4cc82b20acf732dc
treeee3634b12055d4c9b12fbdc5c708ecf045424e4a
parent7328fa64aa30405c2d6abd44bb6866e914dba35d
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