From: "Miguel Ojeda" <maxextreme@gmail.com>
To: "Pavel Machek" <pavel@ucw.cz>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.19-rc1 V9] drivers: add LCD support
Date: Mon, 9 Oct 2006 00:45:36 +0200 [thread overview]
Message-ID: <653402b90610081545n51cdfbcej469990279f6d018c@mail.gmail.com> (raw)
In-Reply-To: <20061008220722.GG4152@elf.ucw.cz>
On 10/9/06, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
>
> I do not understand, both /dev/fbcfag12864b and /dev/cfag12864bX are
> in /dev/...
>
I mean: I think it is better to have the cfag12864b device than doesn't.
>
> What is advantage of /dev/cfag12864bX over /dev/fbcfag12864b ?
>
> (And I guess you should invent better name... /dev/fbaux0?)
>
>
> I do not think we need a Kconfig option, and I do not think we need
> /dev/cfag12864bX . Just use /dev/fbaux0, always.
>
One is the pure device, the other one is the framebuffer device. I
think having both is better than just one. There is no advantage, they
are different.
Maybe someone doesn't need any of the framebuffer advantages and just
wants to write to it directly, for better performance, for example:
The LCD needs to change 8 pixels (1 byte) every write, if you modify a
single pixel at the framebuffer device you will write more times than
you need for the same result (right? I'm not sure of this); the LCD is
not capable of high refreshing rates.
And well, I think it is better that way. About the Kconfig activating
both modules (cfag12864b and fbcfag12864b) I really don't care. One
option = easy of use. Both options = more control. Maybe someone just
needs the pure device :-/ We can really know how the requeriments will
be, but I think having more options in the future is better than
shrinking them now.
>
> I do not think it is suitable for -rc at this point, and it does not
> have chance before 2.6.20-rc1, anyway.
>
No? Why not? Time is not a problem, I would want to know why are you
saying that.
If you are talking about the code's quality, well, the modules are
working fine, they have been reviewed by many people, and I and some
friend have tested them enought times to be sure they work. They
doesn't remove or change any other's code, they doesn't get compiled
by default either...
If you are talking about the framebuffer device, it is something that
can be added later, without any withdraws; and without having to stop
or modify the other device drivers; as is an additional feature that
should be added as other module "fbcfag12864b", like:
lcd -> parport -> ks0108 -> cfag12864b -> fbcfag12864b -> fbcon -> console
This way, adding future forks/modifications is easier and doesn't
affect other modules. Right now, we are providing cfag12864b support
to Linux, then, we will be able to provide a framebuffer device for
the cfag12864b; then, ...; then, ...
next prev parent reply other threads:[~2006-10-08 22:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-06 0:29 Miguel Ojeda Sandonis
2006-10-08 18:24 ` Pavel Machek
2006-10-08 18:37 ` Miguel Ojeda
2006-10-08 19:12 ` Pavel Machek
[not found] ` <653402b90610081312m32fcf7ecx9929ae9dc4768c17@mail.gmail.com>
[not found] ` <20061008211550.GE4152@elf.ucw.cz>
2006-10-08 21:36 ` Miguel Ojeda
2006-10-08 22:07 ` Pavel Machek
2006-10-08 22:45 ` Miguel Ojeda [this message]
2006-10-09 13:33 ` Stefan Richter
2006-10-09 13:56 ` Miguel Ojeda
2006-10-10 10:37 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2006-10-05 16:26 Miguel Ojeda Sandonis
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=653402b90610081545n51cdfbcej469990279f6d018c@mail.gmail.com \
--to=maxextreme@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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
all inboxes | Powered by JetHome®