kernel-ark/drivers/video/matrox
Ian Romanick 5c06e2aa63 [PATCH] matroxfb: read MGA PInS data on PowerPC
This updates the matroxfb code so that it can find the PInS data embedded
in the BIOS on PowerPC cards.  The process for finding the data is
different on OpenFirmware cards than on x86 cards, and the code for doing
so was missing.

After patching, building, installing, and booting a kernel, you should grep
for "PInS" in /var/log/messages.  You should see two messages in the log:

PInS data found at offset XXXXX
PInS memtype = X

On the GXT135p card I get "31168" and "5".  The first value is irrelevant,
but it's presence lets me know that the PInS data was actually found.  On a
GXT130p, the second value should be 3.  Since I don't have access to that
hardware, if someone can verify that, I will submit a follow-on patch that
rips out all the memtype parameter stuff.

Signed-off-by: Ian Romanick <idr@us.ibm.com>
Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-09 13:58:01 -07:00
..
g450_pll.c
g450_pll.h
i2c-matroxfb.c
Makefile
matroxfb_accel.c
matroxfb_accel.h
matroxfb_base.c
matroxfb_base.h
matroxfb_crtc2.c
matroxfb_crtc2.h
matroxfb_DAC1064.c
matroxfb_DAC1064.h
matroxfb_g450.c
matroxfb_g450.h
matroxfb_maven.c
matroxfb_maven.h
matroxfb_misc.c
matroxfb_misc.h
matroxfb_Ti3026.c
matroxfb_Ti3026.h