xf86-video-nv: src/nv_driver.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 29 22:47:46 UTC 2022
src/nv_driver.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 1b735e8c9681dcccd54ea0295c4853763dabb8d1
Author: Yusuf Khan <yusisamerican at gmail.com>
Date: Thu Jul 28 21:03:56 2022 -0500
fix nv on powerpc
Written by either Julio Merino <julio at meroh.net> or Nathan Whitehorn
<nwhitehorn at freebsd.org> (emails obfuscated similar to freebsd
convention, authorship is in doubt)
diff --git a/src/nv_driver.c b/src/nv_driver.c
index b7188e3..c94a890 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1543,7 +1543,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
xf86FreeInt10(pNv->pInt);
return FALSE;
}
+#ifdef __powerpc__ /* XXX probably MI */
+ vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0);
+#else
vgaHWSetStdFuncs(VGAHWPTR(pScrn));
+#endif
/* We use a programmable clock */
pScrn->progClock = TRUE;
More information about the xorg-commit
mailing list