All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Lessard <klessard@sunrisetelecom.com>
To: "Jørg Ulrich Hansen" <jh@hansen-telecom.dk>
Cc: linux-mips@linux-mips.org
Subject: Re: au1100fb.c
Date: Tue, 7 Dec 2004 14:49:37 -0500	[thread overview]
Message-ID: <MAILSERVEREI2rV4Zne000005cb@mailserver.sunrisetelecom.com> (raw)
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAb4ajDk58bkCNi0V1ZTQFHIKAAAAQAAAAqiO8dTCmGkSJ6ESla6aONAEAAAAA@hansen-telecom.dk>

On December 7, 2004 03:38 am, you wrote:
> Hi Karl
>
> Thanks for the software. I have now added my tft and mono display to the
> driver.
> It works fine with a few changes.
> For the mono no memory was allocated for the framebuffer because the
> calculation gave 0 bytes:
> 	fbdev->fb_len = fbdev->panel->max_xres * fbdev->panel->max_yres *
> 		  	(fbdev->panel->max_bpp >> 3) *
> AU1100FB_NBR_VIDEO_BUFFERS;

You're right. As I told you, the driver needs to be tested in many 
configuration and for many boards, I have only done simple tests. Thanks for 
your notice!

> It also seems that for the tft to much is allocated.
> I have to look more into that.
> What is AU1100FB_NBR_VIDEO_BUFFERS used for?

It is because in our case (at sunrise), we use back buffers and want  to 
retrieve it by an offset from the front buffer. In the repository, 
AU1100FB_NBR_VIDEO_BUFFERS should be set to 1 (sorry if I forgot to change it 
in the patch), but it allows programmers to allocate one, two, or more back 
buffers by incrementing it.

> For mono the tux logo does not come up, and if I disable the logo then the
> framebuffer will not be initialized.
> Do I then have to do something manually?

The mono logo works well for me though. The driver turns up the monitor at 
bootup only in two cases for now: you are using the framebuffer console, or 
you don't use the fb console but still want the logo to show up.

> I have added au1100fb_ioctl so I can control the contrast/pwm for my mono
> display.
> I also had to change the clock settings. My board came up with a different
> clock rate.
>
> It looks good I think It should be added to the repository. Not just
> because of the small tests I have made but because it is there and it works
> better than what is already there.
> Is it Pete Popov that has to add it?

Pete just send me a mail saying that he is about to test the code and submit 
it.

Thanks,
Karl

>
> Kind regards Jorg
>
> --------------<<<<<<<<<OOOOOOOO>>>>>>>>>--------------
> Jorg Hansen               email: jh@hansen-telecom.dk
> Hansen Telecom            Tel: +45 7342 0220
> Ellegaardvej 36           Fax: +45 7342 0221
> 6400 Sonderborg           Mob: +45 2819 1969
> Denmark                   http://www.hansen-telecom.dk
>
> Modules for rapid design of mechatronic products
>        http://www.mechatronicbrick.dk
> --------------<<<<<<<<<OOOOOOOO>>>>>>>>>--------------
>
>
> -----Original Message-----
> From: Karl Lessard (by way of Karl Lessard <klessard@sunrisetelecom.com>)
> [mailto:klessard@sunrisetelecom.com]
> Sent: 2. december 2004 16:44
> To: Jørg Ulrich Hansen
> Cc: linux-mips@linux-mips.org
> Subject: Re: au1100fb.c
>
>
> Hi Jørg,
>
> I've modified it a little bit since I've post it on the list, so here's the
> .c/.h files I use now, and a patch that should also apply. This should work
> with current linux-mips cvs (actually it do on a 22/11/04 snapshot).
>
> I've never tested it on other boards that the pb1100 though. Also, I use
> the same scheme as in Linux 2.4, i.e. panels supported are declared in
> au1100fb.h.
>
> I hope this will work for you, and don't hesitate to interrupt me if you
> have any questions/problems. We personnally decided to work with a
> different
>
> graphic chip, so I probably don't need your version of the driver but
> thanks
>
> for offering it!
>
> Regards,
> Karl
>
>
>
> Jørg Ulrich Hansen wrote:
>
> Hi Karl
>
> Sorry to disturb you, but I can see that you have a framebuffer for au1100
> for Linux 2.6. I have also done the same work but I have some problems with
> nano-X that I belive is the framebuffers fault.
>
> Your patch that I found on the list I am having problems with to apply.
>
> Do you mind to send me your version of the framebuffer either directly or
> to the list.
>
> If you are interrested you can have my version of au1100fb.c/h as well.
>
> Kind regards Jorg
>
> --------------<<<<<<<<<OOOOOOOO>>>>>>>>>--------------
> Jorg Hansen               email: jh@hansen-telecom.dk
> Hansen Telecom            Tel: +45 7342 0220
> Ellegaardvej 36           Fax: +45 7342 0221
> 6400 Sonderborg           Mob: +45 2819 1969
> Denmark                   http://www.hansen-telecom.dk
>
> Modules for rapid design of mechatronic products
>        http://www.mechatronicbrick.dk
> --------------<<<<<<<<<OOOOOOOO>>>>>>>>>--------------

       reply	other threads:[~2004-12-07 19:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAb4ajDk58bkCNi0V1ZTQFHIKAAAAQAAAAqiO8dTCmGkSJ6ESla6aONAEAAAAA@hansen-telecom.dk>
2004-12-07 19:49 ` Karl Lessard [this message]
2004-12-02 15:43 au1100fb.c Karl Lessard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MAILSERVEREI2rV4Zne000005cb@mailserver.sunrisetelecom.com \
    --to=klessard@sunrisetelecom.com \
    --cc=jh@hansen-telecom.dk \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.