linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: 2.5 atyfb on Sparc question
@ 2002-10-03 19:49 Holzrichter, Bruce
  2002-10-13 20:08 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Holzrichter, Bruce @ 2002-10-03 19:49 UTC (permalink / raw)
  To: 'James Simmons'; +Cc: linux-fbdev-devel

James,

In a blast from the past, not sure if your still interested, but I have not
had a whole lot of time to look at these, due to my job/life, etc,etc...

If I apply the latest bk to it, I get the following compile error.  As I
said, I haven't even had time to grep through the thing to even begin to
look, but wanted to report them anyways...

fbmem.c: In function `fbmem_read_proc':
fbmem.c:380: structure has no member named `modename'
make[2]: *** [fbmem.o] Error 1
make[2]: Leaving directory `/home/bruce/sparctest/drivers/video'
make[1]: *** [video] Error 2
make[1]: Leaving directory `/home/bruce/sparctest/drivers'
make: *** [drivers] Error 2

Bruce H..

> -----Original Message-----
> From: James Simmons [mailto:jsimmons@infradead.org]
> Sent: Thursday, August 22, 2002 3:22 PM
> To: Holzrichter, Bruce
> Cc: linux-fbdev-devel@lists.sourceforge.net
> Subject: RE: [Linux-fbdev-devel] 2.5 atyfb on Sparc question
> 
> 
> 
> > > Oops. Fixed now.
> > >
> > Whoa, that was neat!  ;o)
> 
> Can you try the latest changes in my BK tree.
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: 2.5 atyfb on Sparc question
@ 2002-08-14 15:08 Holzrichter, Bruce
  2002-08-22 19:21 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Holzrichter, Bruce @ 2002-08-14 15:08 UTC (permalink / raw)
  To: 'James Simmons'; +Cc: linux-fbdev-devel



> 
> Oops. Fixed now.
> 
Whoa, that was neat!  ;o)

Just an fyi from my last attempt.  Upon booting with FB enabled with the
changes, The screen was completely filled with blocks displayed on the
screen.  I could see in the background the display change as it tried to
print out the kern messages, but they just mangled the blocks on the screen.
It looked like a screen full of extended ascii character 222 and 223's..
:o)

However, due to other problems I am having with it, most likely still IDE
related, I can't give much more of a report than this....

B.


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: 2.5 atyfb on Sparc question
@ 2002-08-12 18:42 Holzrichter, Bruce
  2002-08-13  6:15 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Holzrichter, Bruce @ 2002-08-12 18:42 UTC (permalink / raw)
  To: 'James Simmons'; +Cc: linux-fbdev-devel


> 
> Try it again. I pushed some fixes.
> 

Here's a simple one liner fix, pretty self explanatory, if you haven't
caught it yet.  ;o)

--- atyfb_base.c.old    Mon Aug 12 11:34:44 2002
+++ atyfb_base.c        Mon Aug 12 10:57:11 2002
@@ -2241,7 +2241,7 @@
                                    aty_ld_le32(CRTC_H_TOTAL_DISP,
default_par);
                                crtc.h_sync_strt_wid =
                                    aty_ld_le32(CRTC_H_SYNC_STRT_WID,
-                                               defualt_par);
+                                               default_par);
                                crtc.v_tot_disp =
                                    aty_ld_le32(CRTC_V_TOTAL_DISP,
default_par);
                                crtc.v_sync_strt_wid =

Now looking to track this one down.  Haven't found it yet....

  ld -m elf64_sparc -T arch/sparc64/vmlinux.lds arch/sparc64/kernel/head.o
arch/sparc64/kernel/init_task.o init/init.o --start-group
arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o security/built-in.o arch/sparc64/math-emu/math-emu.o
/home/bruce/sparctest/lib/lib.a lib/lib.a
/home/bruce/sparctest/arch/sparc64/prom/promlib.a
/home/bruce/sparctest/arch/sparc64/lib/lib.a drivers/built-in.o
sound/sound.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `console_init':
drivers/built-in.o(.text.init+0xa78): undefined reference to
`uart_console_init'
make: *** [vmlinux] Error 1

B.







-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: 2.5 atyfb on Sparc question
@ 2002-08-09 18:18 Holzrichter, Bruce
  2002-08-09 18:43 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Holzrichter, Bruce @ 2002-08-09 18:18 UTC (permalink / raw)
  To: 'James Simmons'; +Cc: linux-fbdev-devel

> 
> http://fbdev.bkbits.net:8080/fbdev-2.5
> 

Closer, closer....

Here's an FYI.  I haven't looked into it any further yet...

B.

make[3]: Entering directory `/home/bruce/sparctest/drivers/video/aty'
  sparc64-linux-gcc -Wp,-MD,./.atyfb_base.o.d -D__KERNEL__
-I/home/bruce/sparctest/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu
-mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7
-Wno-sign-compare -Wa,--undeclared-regs -nostdinc -iwithprefix include
-DKBUILD_BASENAME=atyfb_base   -c -o atyfb_base.o atyfb_base.c
atyfb_base.c: In function `atyfb_ioctl':
atyfb_base.c:1075: `info2' undeclared (first use in this function)
atyfb_base.c:1075: (Each undeclared identifier is reported only once
atyfb_base.c:1075: for each function it appears in.)
atyfb_base.c:1070: warning: `disp' might be used uninitialized in this
function
atyfb_base.c: In function `atyfb_init':
atyfb_base.c:2086: warning: assignment makes pointer from integer without a
cast
atyfb_base.c:2184: `defualt_par' undeclared (first use in this function)
atyfb_base.c:2376: invalid operands to binary &
make[3]: *** [atyfb_base.o] Error 1
make[3]: Leaving directory `/home/bruce/sparctest/drivers/video/aty'
make[2]: *** [aty] Error 2
make[2]: Leaving directory `/home/bruce/sparctest/drivers/video'
make[1]: *** [video] Error 2
make[1]: Leaving directory `/home/bruce/sparctest/drivers'
make: *** [drivers] Error 2


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: 2.5 atyfb on Sparc question
@ 2002-08-08 18:51 Petr Vandrovec
  2002-08-08 21:55 ` Antonino Daplas
  0 siblings, 1 reply; 24+ messages in thread
From: Petr Vandrovec @ 2002-08-08 18:51 UTC (permalink / raw)
  To: James Simmons; +Cc: bruce.holzrichter, Linux Fbdev development list

On  8 Aug 02 at 11:32, James Simmons wrote:
> > On  8 Aug 02 at 11:16, James Simmons wrote:
> > > > I also hope that performance problems will be solved
> > > > before we are
> > > > forced to not use putcs.
> > >
> > > It will be :-) I need to one align the data. Second I
> > > plan to implement the patch recently posted here.
> >
> > Patch still showed about 100% slowdown against 2.4.x, if I interpreted
> > yesterday's table correctly. It is better than 1000% slowdown, but still...
> 
> I could believe a slow down of 2x but 1000 I don't think so.

Message from Antonio Daplas
(http://www.geocrawler.com/lists/3/SourceForge/9276/0/9249087/)
says:
2.5 old (with offscreen buffers) 10.708
2.5 new                           4.378
2.4                               2.098

His first message 
(http://www.geocrawler.com/lists/3/SourceForge/9276/25/9237029/)
listed 13.586 for old 2.5 code.

So you are right, old code was not 1000% slowdown, only 500%. But main
problem is not speed of old code, but speed of new code. And if numbers
are right, new code is still 100% slower than 2.4.x code was.
                                                Petr Vandrovec
                                                


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: 2.5 atyfb on Sparc question
@ 2002-08-08 18:24 Petr Vandrovec
  2002-08-08 18:32 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Petr Vandrovec @ 2002-08-08 18:24 UTC (permalink / raw)
  To: James Simmons; +Cc: bruce.holzrichter, linux-fbdev-devel, jsimmons

On  8 Aug 02 at 11:16, James Simmons wrote:
> > I also hope that performance problems will be solved
> > before we are
> > forced to not use putcs.
> 
> It will be :-) I need to one align the data. Second I
> plan to implement the patch recently posted here. 

Patch still showed about 100% slowdown against 2.4.x, if I interpreted
yesterday's table correctly. It is better than 1000% slowdown, but still...
                                                Petr
                                                


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: 2.5 atyfb on Sparc question
@ 2002-08-07 10:04 Petr Vandrovec
  2002-08-08 18:16 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Petr Vandrovec @ 2002-08-07 10:04 UTC (permalink / raw)
  To: Jani Monoses; +Cc: bruce.holzrichter, linux-fbdev-devel, captain_delete

On  7 Aug 02 at 10:43, Jani Monoses wrote:
> On Tue, 6 Aug 2002 09:06:48 -0700 (PDT)
> James Simmons <captain_delete@yahoo.com> wrote:
> > I push stuff. The next set of patches will break alot
> > of drivers but I need to do this to get people to port
> > there stuff over to the new api.
> 
> Could you outline what the next set of patches will change?
> Thanks

I also hope that performance problems will be solved before we are
forced to not use putcs.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread
* 2.5 atyfb on Sparc question
@ 2002-08-06 15:31 Holzrichter, Bruce
  2002-08-06 16:06 ` James Simmons
  0 siblings, 1 reply; 24+ messages in thread
From: Holzrichter, Bruce @ 2002-08-06 15:31 UTC (permalink / raw)
  To: 'linux-fbdev-devel@lists.sourceforge.net'

Quick question..  I was wondering if there is still a bk tree for fbdev
work, or are you pushing direct to Linus?

I am getting the following errors when compiling on a sparc64 machine from
the latest BK 2.5 tree, and was wondering if a fix may already be around.  I
am not subscribed to this list, but a quick search didn't turn up anything.
Thanks in advance..

Thanks,
Bruce H. 

atyfb_base.c: In function `atyfb_set_dispsw':
atyfb_base.c:1098: warning: assignment discards `const' from pointer target
type
atyfb_base.c:1101: warning: assignment discards `const' from pointer target
type
atyfb_base.c:1105: warning: assignment discards `const' from pointer target
type
atyfb_base.c:1109: warning: assignment discards `const' from pointer target
type
atyfb_base.c: In function `atyfb_set_var':
atyfb_base.c:1191: warning: implicit declaration of function
`do_install_cmap'
atyfb_base.c: In function `atyfb_ioctl':
atyfb_base.c:1258: `info2' undeclared (first use in this function)
atyfb_base.c:1258: (Each undeclared identifier is reported only once
atyfb_base.c:1258: for each function it appears in.)
atyfb_base.c:1253: warning: `disp' might be used uninitialized in this
function
atyfb_base.c: In function `atyfb_save_palette':
atyfb_base.c:1447: warning: passing arg 2 of `aty_ld_8' from incompatible
pointer type
atyfb_base.c:1448: `par' undeclared (first use in this function)
atyfb_base.c:1450: warning: passing arg 3 of `aty_st_8' from incompatible
pointer type
atyfb_base.c:1451: warning: passing arg 3 of `aty_st_8' from incompatible
pointer type
atyfb_base.c: In function `atyfb_init':
atyfb_base.c:2204: parse error before `struct'
atyfb_base.c:2231: `default_par' undeclared (first use in this function)
atyfb_base.c:2261: `par' undeclared (first use in this function)
atyfb_base.c:2268: warning: assignment makes pointer from integer without a
cast
atyfb_base.c:2364: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2366: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2388: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2392: warning: passing arg 3 of `aty_st_le32' from incompatible
pointer type
atyfb_base.c:2434: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2437: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2439: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2442: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2444: warning: passing arg 2 of `aty_ld_le32' from incompatible
pointer type
atyfb_base.c:2455: warning: passing arg 2 of `aty_ld_8' from incompatible
pointer type
atyfb_base.c:2458: warning: passing arg 2 of `aty_ld_pll' from incompatible
pointer type
atyfb_base.c:2560: invalid operands to binary &
atyfb_base.c: At top level:
atyfb_base.c:136: warning: `atyfb_fix' defined but not used
make[3]: *** [atyfb_base.o] Error 1
make[3]: Leaving directory `/home/bruce/sparctest/drivers/video/aty'
make[2]: *** [aty] Error 2
make[2]: Leaving directory `/home/bruce/sparctest/drivers/video'
make[1]: *** [video] Error 2
make[1]: Leaving directory `/home/bruce/sparctest/drivers'
make: *** [drivers] Error 2


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2002-10-22 19:07 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-03 19:49 2.5 atyfb on Sparc question Holzrichter, Bruce
2002-10-13 20:08 ` James Simmons
2002-10-14 10:04   ` Sven LUTHER
2002-10-18 18:14     ` James Simmons
2002-10-22 19:05       ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2002-08-14 15:08 Holzrichter, Bruce
2002-08-22 19:21 ` James Simmons
2002-08-12 18:42 Holzrichter, Bruce
2002-08-13  6:15 ` James Simmons
2002-08-09 18:18 Holzrichter, Bruce
2002-08-09 18:43 ` James Simmons
2002-08-08 18:51 Petr Vandrovec
2002-08-08 21:55 ` Antonino Daplas
2002-08-08 18:24 Petr Vandrovec
2002-08-08 18:32 ` James Simmons
2002-08-07 10:04 Petr Vandrovec
2002-08-08 18:16 ` James Simmons
2002-08-06 15:31 Holzrichter, Bruce
2002-08-06 16:06 ` James Simmons
2002-08-07 10:43   ` Jani Monoses
2002-08-08 18:21     ` James Simmons
2002-08-08 18:19       ` James Simmons
2002-08-09 11:07         ` Jani Monoses
2002-08-09 17:13           ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).