]> 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)
commitdf8007c886a0a5d2839dc87b69e7181f2a24ba3e
treeccfa96d234aba069be442c9569ed3226f132045d
parent35728fde1f94ad5d8b42b4e706c6a24bed50d1ae
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