From: Paul Mundt <lethal@linux-sh.org>
To: Andrey Volkov <avolkov@varma-el.com>
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 22:35:27 +0900 [thread overview]
Message-ID: <20061013133527.GA4452@linux-sh.org> (raw)
In-Reply-To: <452F90A4.3040603@varma-el.com>
On Fri, Oct 13, 2006 at 05:12:04PM +0400, Andrey Volkov wrote:
> Paul Mundt wrote:
> > 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.
>
Awkward as it may be, there are plenty of users going with this
approach, and DirectFB has been using it for quite some time. If you
don't care for this approach, do you have a better idea for exposing
individual planes to userspace and fine-grained overlay control?
Multiple device nodes are a lot more pleasant to look at than an ioctl
abortion.
> 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).
>
The driver still requires visibility of these two things. Looking at the
fb driver, it's clear you have no transparent means for gauging the
aperture size. With PCI this comes down to sizing the membar, and in the
platform case it can be statically defined at registration time too.
This will never work on a system where you have a platform bus SM501
with an SM501 on a PCI add-in board, you simply can not gaurantee that
they are exclusive.
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2006-10-13 13:36 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 ` [Sm5xx-devel] " Andrey Volkov
2006-10-13 13:35 ` Paul Mundt [this message]
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=20061013133527.GA4452@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=avolkov@varma-el.com \
--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 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).