lkml.org 
[lkml]   [2000]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvoodoo3 2000pci hangs with Linux framebuffer driver ...

> Subject: voodoo3 2000pci hangs with Linux framebuffer driver ...
> Date: Fri, 25 Aug 2000 16:05:38 -0700
> From: Jun Sun <jsun@mvista.com>
> To: linux-kernel@vger.rutgers.edu
> Newsgroups: 3dfx.products.voodoo3
>
> I bought a V3 2000PCI card and plug it into an embedded MIPS board. I
> enabled the framebuffer driver for voodoo3. The driver hangs during
> initializtion stage (tdfxfb_init()).
>
> bashee_make_room() is where cpu is doing an infinite loop. The STATUS
> register value is 0x0c200000. It is the first long word in the
> prefetchable (2nd) PCI memory block requested by the card.
>
> Does anybody know what bashee_make_room() is doing? what is wrong
> here? What steps are missing? Note there is not vga bios on this
> board.
>
> Also, where can I find the spec for V3 2kpci card?
>
> Thanks.
>
> Jun
>
> tdfxfb_init()
> {
> ....
> /* disable block writes for SDRAM (why?) */
> miscinit1 = tdfx_inl(MISCINIT1);
> miscinit1 |= sgram_p ? 0 : MISCINIT1_2DBLOCK_DIS;
> miscinit1 |= MISCINIT1_CLUT_INV;
>
> banshee_make_room(1);
> tdfx_outl(MISCINIT1, miscinit1);
>
> return lfbsize;
> }
>
> static inline void banshee_make_room(int size) {
> while((tdfx_inl(STATUS) & 0x1f) < size);
> }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.033 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site