]> git.baikalelectronics.ru Git - kernel.git/commit
bochs: add endian switching support
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Nov 2014 11:28:10 +0000 (12:28 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:26:54 +0000 (11:26 +1000)
commit157caa5abfcfb710b66179e8e077682b6cea49dc
treeccfa96d234aba069be442c9569ed3226f132045d
parent139a13a3fcd23030f024fecfec3e989e4451d9ec
bochs: add endian switching support

Recently (qemu 2.2+) the qemu stdvga got a register to switch the vga
framebuffer endianness.  This patch adds code to explicitly set the
endianness of the framebuffer.  In most cases this has no effect as
the default is guest architecture endianness.  It is needed though in
case a architecture supports both big and little endian, i.e. for
ppc64le.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/bochs/bochs_hw.c