Thread (1 message) 1 message, 1 author, 2000-04-28

Re: VRAM detection in controlfb.c

From: Clint Hepner <hidden>
Date: 2000-04-28 04:32:07

On Fri, Apr 28, 2000 at 12:07:45AM -0400, Daniel Jacobowitz wrote:
On Thu, Apr 27, 2000 at 11:39:59PM -0400, Clint Hepner wrote:
quoted
I recently added another 2MB of VRAM to my PM8500
with control video, and was dismayed when linux wouldn't
recognize it.  I remembered some discussion on this
issue about a month ago, but I haven't seen anything
since then.

I got the most recent version of the stable kernel,
2.2.15_pre20, and poked around a bit to try to understand
what was going on.  In the end, I just hardcoded the value
of bank2 after line 725 in controlfb.c to 1, to
override the kernel's failure to detect the memory
in bank 2. It worked; I can now drive my 17" monitor at
1280x1024 @16bpp.

My question is, is the problem only with detecting the
VRAM, or could there be problems addressing the VRAM as
well if the kernel isn't able to detect it on its own.
No, there shouldn't be any problems.

Two things:  pre20 from Linus or from Cort's tree or from one of the
others?  Also, could I persuade you to see if 2.3 detects the memory
properly?
I got pre20 from Paul's tree, at linuxcare.com.au. I can try a 2.3
kernel, but probably not until Monday.

Clint Hepner
Dartmouth College

** 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