diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2015-02-10 15:36:16 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-03-09 15:00:03 +0100 |
commit | eefaccc02bab659c8cb4c994b2f385c3f0a27551 (patch) | |
tree | 93412a0758b772c7a04d5e9571a983912f0c2228 /include/hw/ppc | |
parent | 3c2784fc864d943ff70a2a5c9dea8e9a9b4d9e1d (diff) |
pseries: Switch VGA endian on H_SET_MODE
When the guest switches the interrupt endian mode, which essentially
means a global machine endian switch, we want to change the VGA
framebuffer endian mode as well in order to be backward compatible
with existing guests who don't know about the new endian control
register.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index a8e6817cb8..168b608af7 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -481,6 +481,7 @@ int spapr_dma_dt(void *fdt, int node_off, const char *propname, uint32_t liobn, uint64_t window, uint32_t size); int spapr_tcet_dma_dt(void *fdt, int node_off, const char *propname, sPAPRTCETable *tcet); +void spapr_pci_switch_vga(bool big_endian); #define TYPE_SPAPR_RTC "spapr-rtc" |