From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Richard Purdie <rpurdie@rpsys.net>,
adaplas@pol.net, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: FB_EVENT (blank and unblank?)
Date: Sun, 28 Nov 2004 09:14:39 +0800 [thread overview]
Message-ID: <200411280914.40352.adaplas@hotpop.com> (raw)
In-Reply-To: <02cc01c4d4e5$75e4e170$0f01a8c0@max>
On Sunday 28 November 2004 08:59, Richard Purdie wrote:
> Antonino A. Daplas:
> >> My Issue: I have a backlight driver that shares no code with the
> >> framebuffer driver - the hardware is totally separate. I have there
> >> written
> >> them as two spate drivers which seems to make sense. The problem is that
> >> there is no method to communicate blanking to the external backlight
> >> driver
> >> (which is all it needs to know about). Obviously I can add links between
> >
> > Of course there is. Your backlight driver does a
> > register_backlight_controllers(). Then your fb driver does a
> > set_backlight_enable(!blank) in its xxxfb_blank implementation.
>
> Yes, you could do that. I was trying to look for a method than meant no
> specific action by the framebuffer driver was required. It shouldn't have
> to care if a backlight is present or not...
Ah, when you explained it like that, then it does sound very reasonable.
Okay, I think that can be added. I think we will need only 1 event
FB_EVENT_BLANK, then in fb_event.data, the blanking level.
We can do it similarly with the mode switch event, differentiate if the
request is coming from userspace or the kernel.
Tony
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
next prev parent reply other threads:[~2004-11-28 1:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 17:04 Default timings in vga16fb driver Martin Wilck
2004-11-24 16:16 ` Antonino A. Daplas
2004-11-25 14:55 ` Martin Wilck
2004-11-25 19:51 ` Antonino A. Daplas
2004-11-26 9:11 ` Geert Uytterhoeven
2004-11-27 14:53 ` FB_EVENT (blank and unblank?) Richard Purdie
2004-11-27 22:43 ` Antonino A. Daplas
2004-11-27 23:59 ` Richard Purdie
2004-11-28 0:24 ` Antonino A. Daplas
2004-11-28 0:59 ` Richard Purdie
2004-11-28 1:14 ` Antonino A. Daplas [this message]
2004-11-29 22:36 ` fbdev: Add FB_EVENT_BLANK to notify listeners of a blanking status change Richard Purdie
2004-11-29 23:29 ` Antonino A. Daplas
2004-11-29 10:53 ` cursor color changes ramprasad
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=200411280914.40352.adaplas@hotpop.com \
--to=adaplas@hotpop.com \
--cc=adaplas@pol.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=rpurdie@rpsys.net \
/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.