linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Jeffery von Ronne <jronne@ics.uci.edu>
Cc: Kaoru Fukui <k_fukui@highway.ne.jp>, linuxppc-dev@lists.linuxppc.org
Subject: Re: two aty128 frame buffers?
Date: 05 Feb 2002 10:28:33 +0100	[thread overview]
Message-ID: <1012901313.734.210.camel@pismo> (raw)
In-Reply-To: <20020204222214.A28746@reepicheep.ics.uci.edu>

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

On Die, 2002-02-05 at 07:22, Jeffery von Ronne wrote:
> 
> On Tue, Feb 05, 2002 at 02:21:27PM +0900, Kaoru Fukui wrote:
> > Add drm in Section Module
> 
> Thanks.  I should have been able to figure that out.
> 
> Unfortunately, that was not my real problem.  I guess I forgot to mention
> that it crashes with a "signal 11" after the error message; now it crashes
> with a signal 11 and no error message.

You need a hack like the attached one.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

[-- Attachment #2: r128-vgaHW.diff --]
[-- Type: text/plain, Size: 1110 bytes --]

Index: r128_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c,v
retrieving revision 1.57
diff -u -r1.57 r128_driver.c
--- r128_driver.c	2002/01/04 21:22:26	1.57
+++ r128_driver.c	2002/02/05 09:24:32
@@ -186,6 +186,7 @@
     "vgaHWGetIndex",
     "vgaHWLock",
     "vgaHWRestore",
+    "vgaHWGetIOBase",
     "vgaHWSave",
     "vgaHWUnlock",
     NULL
@@ -1793,6 +1794,8 @@
 	return FALSE;
     }
 
+    vgaHWGetIOBase(VGAHWPTR(pScrn));
+
     info->PciInfo      = xf86GetPciInfoForEntity(info->pEnt->index);
     info->PciTag       = pciTag(info->PciInfo->bus,
 				info->PciInfo->device,
@@ -2755,7 +2758,10 @@
 	return;
     }
     vgaHWUnlock(hwp);
-    vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); /* save mode, fonts, cmap */
+    if (info->VBIOS)
+        vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); /* save mode, fonts, cmap */
+    else
+        vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* save mode */
     vgaHWLock(hwp);
 
     R128SaveMode(pScrn, save);

  reply	other threads:[~2002-02-05  9:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-04 23:46 two aty128 frame buffers? Jeffery von Ronne
2002-02-05  5:21 ` Kaoru Fukui
2002-02-05  6:22   ` Jeffery von Ronne
2002-02-05  9:28     ` Michel Dänzer [this message]
2002-02-05 23:16       ` Jeffery von Ronne
2002-02-06  0:08         ` Michel Dänzer
2002-02-06 23:37           ` Jeffery von Ronne
2002-02-07  1:11             ` Michel Dänzer
2002-02-07  5:12             ` Ani Joshi
2002-02-07 18:29               ` Derrik Pates
2002-02-07 19:26                 ` Ani Joshi
2002-02-07 22:35                   ` Jeffery von Ronne
2002-02-07 20:35                 ` Timothy A. Seufert
2002-02-07 19:55 ` Jeffery von Ronne
2002-02-08  1:15   ` Jeffery von Ronne
2002-02-08  1:34     ` Michel Dänzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1012901313.734.210.camel@pismo \
    --to=michel@daenzer.net \
    --cc=jronne@ics.uci.edu \
    --cc=k_fukui@highway.ne.jp \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).