Module Name: xsrc
Committed By: macallan
Date: Wed Dec 1 17:47:11 UTC 2021
Modified Files:
xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_driver.c
Log Message:
remove old guesswork code to determine VRAM size - we can rely on OBP now
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c
diff -u xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c:1.16 xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c:1.17
--- xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c:1.16 Mon Dec 31 22:17:21 2018
+++ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c Wed Dec 1 17:47:11 2021
@@ -347,8 +347,6 @@ CG14PreInit(ScrnInfoPtr pScrn, int flags
return FALSE;
pCg14->memsize = 4 * 1024 * 1024; /* always safe */
- if ((psdp->height * psdp->width * 4) > 0x00400000)
- pCg14->memsize = 0x00800000;
len = 24;
prom = sparcPromInit();
if ((ptr = sparcPromGetProperty(&psdp->node, "reg", &len))) {