src/via_ums.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
New commits: commit 63d644da1d445a03f9f9bc533728b3375d1509d6 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Jun 13 13:44:57 2016 -0500 MemPhysBase was being incorrectly assigned with VX900 chipset This is probably not a big issue, but will fix it just in case. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_ums.c b/src/via_ums.c index e8542d6..fcfa774 100644 --- a/src/via_ums.c +++ b/src/via_ums.c @@ -326,10 +326,19 @@ viaMapFB(ScrnInfoPtr pScrn) } #ifdef HAVE_PCIACCESS - pScrn->memPhysBase = pVia->PciInfo->regions[0].base_addr; + if (pVia->Chipset == VIA_VX900) { + pScrn->memPhysBase = pVia->PciInfo->regions[2].base_addr; + } else { + pScrn->memPhysBase = pVia->PciInfo->regions[0].base_addr; + } #else - pScrn->memPhysBase = pVia->PciInfo->memBase[0]; + if (pVia->Chipset == VIA_VX900) { + pScrn->memPhysBase = pVia->PciInfo->memBase[2]; + } else { + pScrn->memPhysBase = pVia->PciInfo->memBase[0]; + } #endif + pScrn->fbOffset = 0; if (pVia->IsSecondary) { pScrn->fbOffset = pScrn->videoRam << 10; _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel