linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Huber <huber@debian.org>
To: mlan@cpu.lu
Cc: DebianPPC <debian-powerpc@lists.debian.org>,
	linuxppc-dev@lists.linuxppc.org
Subject: Re: Xvideo acceleration: GATOS for PPC?
Date: Tue, 28 Aug 2001 17:39:48 -0400	[thread overview]
Message-ID: <87heurhniz.fsf@mclinux.com> (raw)
In-Reply-To: <200108282111.XAA00990@piglet.grunz.lu> (Michel Lanners's message of "Tue, 28 Aug 2001 23:11:37 +0200 (CEST)")

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

Michel Lanners <mlan@cpu.lu> writes:

> (II) R128(0): Cannot access BIOS: info->VBIOS==NULL.

Yeah, I just looked at this.  Same problem on mach64, it finds that
the VBIOS pointer is NULL, reports it, and happily tries to
dereference it a couple lines down. (hence the segfault)

alert, this may be a cheap hack, but it makes the xvideo module work
great on my Lombard. (attached)

now, it looks like that code is duplicated throughout the r128_video.c
and radeon_video.c file as well, so you might want to try changing
that too. (for r128)

ttyl,

--
Josh Huber                                   | huber@debian.org |

[-- Attachment #2: atixv_no_bios.diff --]
[-- Type: text/plain, Size: 803 bytes --]

Index: atixv.c
===================================================================
RCS file: /cvs/livid/gatos-ati/ati_xv/ati.2/atixv.c,v
retrieving revision 1.14
diff -u -r1.14 atixv.c
--- atixv.c	2001/07/29 17:57:46	1.14
+++ atixv.c	2001/08/28 21:54:05
@@ -1048,7 +1048,9 @@

      if(pATI->VBIOS==NULL){
      	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Cannot access BIOS: info->VBIOS==NULL.\n");
+	mm_table = 0;
      	}
+     else {

      xf86DrvMsg(pScrn->scrnIndex, X_INFO, "0x%02x 0x%02x\n", pATI->VBIOS[0],
                pATI->VBIOS[1]);
@@ -1057,6 +1059,8 @@

 	/* mach64 table is at different address than r128 one */
      mm_table=pATI->VBIOS[bios_header+0x46];
+     }
+
      if(mm_table==0)
      {
          xf86DrvMsg(pScrn->scrnIndex,X_INFO,"No MM_TABLE found\n",bios_header,mm_table);

  reply	other threads:[~2001-08-28 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 21:11 Xvideo acceleration: GATOS for PPC? Michel Lanners
2001-08-28 21:39 ` Josh Huber [this message]
2001-08-28 22:10 ` Michel Dänzer
2001-08-28 23:35   ` Michel Dänzer
2001-08-29  5:41     ` Michel Lanners
2001-08-29 14:59       ` Michel Dänzer
2001-08-29 11:51 ` Kenneth Johansson

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=87heurhniz.fsf@mclinux.com \
    --to=huber@debian.org \
    --cc=debian-powerpc@lists.debian.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mlan@cpu.lu \
    /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).