voodoo3 2000pci hangs with Linux framebuffer driver ...

From: Jun Sun (jsun@mvista.com)
Date: Fri Aug 25 2000 - 18:15:34 EST


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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:17 EST