Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xf86-video-suncg14/dist/src remove old guessw...



details:   https://anonhg.NetBSD.org/xsrc/rev/57e38df1ac97
branches:  trunk
changeset: 10817:57e38df1ac97
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Dec 01 17:47:11 2021 +0000

description:
remove old guesswork code to determine VRAM size - we can rely on OBP now

diffstat:

 external/mit/xf86-video-suncg14/dist/src/cg14_driver.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r a1993430b9fa -r 57e38df1ac97 external/mit/xf86-video-suncg14/dist/src/cg14_driver.c
--- a/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c    Sun Nov 21 21:52:59 2021 +0000
+++ b/external/mit/xf86-video-suncg14/dist/src/cg14_driver.c    Wed Dec 01 17:47:11 2021 +0000
@@ -347,8 +347,6 @@
        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))) {



Home | Main Index | Thread Index | Old Index