VRAM not recognized! platinumfb, kernel 2.2.2

Franz Sirl Franz.Sirl at munich.netsurf.de
Tue Mar 23 05:08:44 EST 1999


At 19:08 21.03.99 , Paul Barrette wrote:
>It was suggested that I hack the video driver to force it to use 2mb for
>vram (platinumfb.c file?).  Here is where I would guess to set it:
>bank0 = 1; /* builtin 1MB vram, always there */
>bank1 = info->base_frame_buffer[0x100000] == 0x34;
>
>****can I just set "bank1=1;" and get away with it?  Or does the kernel
>have to find it?

yes, you can simply set bank1=1. But as I modified this code a while ago to 
fix this, I would like you to try some things:

- does it work if you replace the "dcbi" assembler instruction a few lines 
before in the invalidate_cache() macro with "dcbf"?
- or if you add a 2nd eieio after dcbi/dcbf?

BTW, which compiler version are you using?

Franz.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]




More information about the Linuxppc-dev mailing list