Thread (2 messages) flat view 2 messages, 2 authors, 2001-09-21

Re: gatos ati.2 with XClaim VR 128

From: Kostas Gewrgiou <hidden>
Date: 2001-09-21 18:49:13

On Fri, 21 Sep 2001 tahoward@ntrnet.net wrote:
I did a little poking in r128_video.c, and it seems the multimedia table
is never being initialized.  According to the XFree86 sources, there is no
video bios under ppc linux.  Once the R128InfoPtr makes it into
R128ReadMM_TABLE, the VBIOS field is null, and an attempt to dereference
it segfaults the server.  Josh Huber's patch allows the code to run, but
now I have a motionless black/green screen, and no sound.

If I just want to get this working and I'm right about this being the
problem, I could just hardcode the relevant info.  But where would I get
the right values for the multimedia table?

The bigger question is where the data for MM_TABLE is actually being
stored on the card, if not in the bios?  I believe initialization is
handled by open firmware, but what about card specific data?  Is it
somewhere else, or do vendors just have to make sure their drivers know
everything they need to know about their cards?
I don't have a non x86 r128 card so i never managed to look at what is
available in the rom, its a good idea to take a look and see
if the needed data for MM_TABLE is there, probably in a different offset
than in the x86 side.
But as i said i never had the chance to look at the OF code so i have
no idea if you'll find anything usefull in it.

Kostas


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help