[PATCH 0/2] virtio: fix virtio_gpu_mode_dumb_create
Laurent Vivier
lvivier at redhat.com
Mon Apr 3 08:31:04 UTC 2017
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 at redhat.com>
Tested with BE endian kernel in QEMU pseries emulation on a LE endian
kernel host.
This fixes mixed RGB colors with X11.
Thanks,
Laurent
More information about the dri-devel
mailing list