[PATCH 0/2] virtio: fix virtio_gpu_mode_dumb_create

Gerd Hoffmann kraxel at redhat.com
Mon Apr 3 07:08:43 UTC 2017


  Hi,

Little series to fix xorg display on virtio on bigendian machines.
First patch factors out the drm -> virtio format mapping code into
a helper function, second patch actually fixes the issue using the
new helper.

cheers,
  Gerd

Gerd Hoffmann (2):
  drm: virtio: add virtio_gpu_translate_format
  drm: virtio: fix virtio_gpu_mode_dumb_create

 drivers/gpu/drm/virtio/virtgpu_drv.h   |  1 +
 drivers/gpu/drm/virtio/virtgpu_fb.c    | 58 +----------------------------
 drivers/gpu/drm/virtio/virtgpu_gem.c   |  6 ++-
 drivers/gpu/drm/virtio/virtgpu_plane.c | 68 ++++++++++++++++++++++++++++++++++
 4 files changed, 75 insertions(+), 58 deletions(-)

-- 
2.9.3



More information about the dri-devel mailing list