diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-03 10:08:45 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-04 11:10:20 +0300 |
commit | 9c4ad466d1dd2e067d5fdb2fcdbcc30fc5c145f9 (patch) | |
tree | cb83a1a38b96566b0f0f931c22f70b5debed9002 /drivers/misc/vmw_vmci/vmci_guest.c | |
parent | d519cb76181efc78ba67e87b38286fa04d46dfa3 (diff) | |
download | linux-9c4ad466d1dd2e067d5fdb2fcdbcc30fc5c145f9.tar.xz |
drm: virtio: fix virtio_gpu_mode_dumb_create
Lookup format using virtio_gpu_translate_format()
instead of hardcoding it. Fixes xorg display on
bigendian guests (i.e. ppc64).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170403070845.10793-3-kraxel@redhat.com
Diffstat (limited to 'drivers/misc/vmw_vmci/vmci_guest.c')
0 files changed, 0 insertions, 0 deletions