On 03/04/2017 09:08, Gerd Hoffmann wrote: > 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(-) > Tested-by: Laurent Vivier <lvivier@xxxxxxxxxx> Tested with BE endian kernel in QEMU pseries emulation on a LE endian kernel host. This fixes mixed RGB colors with X11. Thanks, Laurent _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel