All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Volkov <avolkov@varma-el.com>
To: Paul Mundt <lethal@linux-sh.org>
Cc: Robert Whaley <rwhaley@applieddata.net>,
	sm5xx-devel@lists.berlios.de,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [Sm5xx-devel]  SM501 framebuffer driver
Date: Fri, 13 Oct 2006 17:12:04 +0400	[thread overview]
Message-ID: <452F90A4.3040603@varma-el.com> (raw)
In-Reply-To: <20061013121138.GA21744@linux-sh.org>

Hi Paul,

Paul Mundt wrote:
> On Fri, Oct 06, 2006 at 07:25:54PM +0200, Clemens Koller wrote:
>> Great! Where shall we collect the code?
>> I have some 
>>
>> - a working fb driver kernel module
>> 	(I did lots of code cleanup, but still needs a lot)
>>
> There's at least half a dozen of these floating around, with some
> disagreement on the actual implementation. We had one in the old SH tree
> that specifically registered a different framebuffer device for each
> plane, which we had some code in DirectFB and mplayer for making use of
> for overlays and so on.
IMHO, its very awkward implementation for real world application,
especially since, as ex, alpha/video planes is coupled with panel plane
but not with CRT plane. We currently try use sm501 as two fb (crt/panel)
devices.

> 
> There's also another framebuffer driver for this in the Linux/MIPS tree
> that's reasonably clean and might make a better starting point. The main
> issue is supporting both PCI and platform device handling from the same
> driver, since there seem to be just as many in both configurations
> floating around.
> 
PCI and MMIO modes of SM501 is mutually exclusive, so it should be
selected at configure time (as I already does, check my implementation
in svn).

>> - kernel code for an functional complete(?) SM501 implementation for
>> 	an RTS7751R2D Renesas SH-4 Board running Linux.
>>
> It's largely complete, yes, but most of the code is fairly messy, or
> against outdated APIs. It might make a good reference point, but little
> else. The OHCI and i2c drivers are probably the "cleanest" out of these,
> though I haven't gotten around to tidying them up and merging them in to
> mainline as of yet. It might be beneficial to get these in to your sm5xx
> tree though, before we end up having even more duplication (it seems
> there already is with i2c..).
> 
> The OHCI thing was a bit of a mess since the DMA requests need to be in
> the 8051 address space via the accessible SRAM there. You can see our
> lame allocator for that in arch/sh/cchips/voyagergx/consistent.c.
> 
>> Oh, I will need to get the AC97 working, too :-/
>> (my hardware is more or less ready to test some software)
>>
> We also have an OSS driver for SM501, but it contains a lot of 8051
> microcode that needs to be shoved in to userspace, and it needs to be
> reworked for ALSA.
> 
> It should be fairly trivial to rework this for the mfd approach and work
> from there, which I'll look at doing if no one beats me to it and I
> finish some more pressing matters first.
Nice, but please, do it vs berlios svn.

P.S. I repeat my invitation, sm5xx svn/maillists is up and ready.

Andrey

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-10-13 13:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 16:11 SM501 framebuffer driver Bill Gatliff
2006-10-06 16:26 ` Ben Dooks
2006-10-06 19:19   ` Bill Gatliff
2006-10-10  6:01   ` Andrey Volkov
2006-10-10 12:06     ` Bill Gatliff
2006-10-11 15:17       ` Clemens Koller
2006-10-06 17:25 ` Clemens Koller
2006-10-06 18:04   ` Bill Gatliff
     [not found]     ` <4526A37F.6040002@anagramm.de>
2006-10-06 19:03       ` Bill Gatliff
2006-10-06 18:14   ` Alex Deucher
2006-10-06 18:55   ` Ville Syrjälä
2006-10-13 12:11   ` Paul Mundt
2006-10-13 13:12     ` Andrey Volkov [this message]
2006-10-13 13:35       ` [Sm5xx-devel] " Paul Mundt
2006-10-13 13:12     ` Clemens Koller
2006-10-13 13:18       ` Andrey Volkov
2006-10-15 17:34     ` Bill Gatliff
2006-10-16  3:01       ` [Sm5xx-devel] " Paul Mundt
2006-10-16 19:28         ` Bill Gatliff
2006-10-16 19:40           ` Robert Whaley
2006-10-16 19:48             ` Bill Gatliff

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=452F90A4.3040603@varma-el.com \
    --to=avolkov@varma-el.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=rwhaley@applieddata.net \
    --cc=sm5xx-devel@lists.berlios.de \
    /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.