[Bug 312] New Driver: SMI 501

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 16 04:39:45 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-16 04:39 -------
Hi

> Strange, I cannot imagine the display driver do anything special when clients
> disconnect. But our problem could still be related I guess.

Well, if I just start the server in press Ctrl+C it crashes too :-)
(Also kill <pid>)

> > I am working on PPC, where I had to "force" endianess in of the file
> > (If I reemeber correctly it is in compiler.h).
> 
> Me too, (mpc8245 for now). I'm cross-compiling and didn't need to force
> endianess. X_BYTE_ORDER == X_BIG_ENDIAN is true for me.

This worked, but in xfree85/common/compiler.h there is a line (line 1748):
#  if defined(PPC_MMIO_IS_BE) /* No byteswapping */

which evaluates to false for me (did not look at it why it is so, I just
forced it to be true).

Oh, I work on mpc5200.

> > No. I used the files provided by Terry Chang.
> > I downloaded your patch, but there are no smi_501.[ch] files.
> 
> Ooop, yes.
> I just did a "cvs diff" without "cvs add"-ing them two before.
> Didn't seem much sense with read-only access :)
> But I didn't change these two files anyway.

I'll "upgrade" to your version, when I find some time.

> But it's good you use local bus because we might do that too in the future :)

Great!
We'll debug it together than.
BTW, now I use mmap (after opening /dev/mem) to get the access to 
registers of SM501. Is there other way, more generic?

> No success on my side yet. I noticed that SMI_MapMem is called twice 

Yes. But it calls SMI_UnmapMem too, where you should unmap the memory
mapped in the first call SMI_MapMem.

> Btw, I fixed the HW cursor by replacing the memcpy in smi_hwcurs.c with a
> INT32-swapping copy loop, so my assumption on that was correct.

Great.
My cursur seems good. What was the problem?

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