[Bug 312] New Driver: SMI 501

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 15 04:59:07 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=312          
     




------- Additional Comments From matej.kupljen at gmail.com  2005-02-15 04:59 -------
Hi

> Nice to see somebody else is also working on the code now.
> I've got the PCI eval board and got started somewhat.

Great!

> The problem I've got is that the driver manages to initialize the display, but
> apparently kills the machine in doing this. Any process that dares to move
> afterwards makes the linux kernel go Oops immediately.

Yes.
I can play movies with the help of mplayer (and trough xv output) but
when the last client disconnects, the server crashes the kernel and the
prompt appears. When I press enter, more crashes (actually every running
process) are reported and the kernel is rebooted.
I am currently working on this, but I haven't got far yet :-(

> From the fact that the bit pattern for the hardware cursor is distorted I
> conclude that the original author at SM was not aware of endianess issues.
> Most is still correct as endianess-aware macros are used for register access.

I am working on PPC, where I had to "force" endianess in of the file
(If I reemeber correctly it is in compiler.h).

> Did you base your work on my merge?

No. I used the files provided by Terry Chang.
I downloaded your patch, but there are no smi_501.[ch] files.

> Did you find any "obvious" bugs in there?

No yet :-)

> What kind of endianess do you have in your hardware configuration?

Big endian, PPC and I have SM 501 connected on local plus bus,
not the PCI.

> AFAICT, I've got 0x12345678 -> 0x78563412 for MMIO registers, but data
> in RGB 5:6:5 mode is more like 0x12345678 -> 0x34127856.

I guess it works for me, but as I said I only tested with simple application
(xeyes, xlogo, xcalc, ...) and mplayer with xv.
First I'll try to find why it crashes the kernel, then I'll do more on
the driver.

Matej          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list