linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: Jaya Kumar <jayakumar.lkml@gmail.com>
Cc: "Rick L. Vinyard Jr." <rvinyard@cs.nmsu.edu>,
	linux-kernel@vger.kernel.org, npavel@ituner.com,
	tomi.valkeinen@nokia.com, tony@atomide.com,
	FlorianSchandinat@gmx.de, krzysztof.h1@wp.pl,
	akpm@linux-foundation.org, linux-fbdev@vger.kernel.org,
	jkosina@suse.cz
Subject: Re: [PATCH] Add sysfs support for fbdefio delay
Date: Fri, 26 Feb 2010 11:37:21 +0000	[thread overview]
Message-ID: <20100226123721.77cadd07@neptune.home> (raw)
In-Reply-To: <45a44e481002260309of5b51c9t79302ec5fa132b9e@mail.gmail.com>

On Fri, 26 February 2010 Jaya Kumar <jayakumar.lkml@gmail.com> wrote:
> On Fri, Feb 26, 2010 at 6:53 PM, Bruno Prémont wrote:
> > For me the driver would start with a default delay that matches the
> > full-redraw throughput of the device but userspace could reduce the
> > delay when it knows it will mostly just refresh small parts of the
> > display (one or two tiles) and would like those done at a higher
> > rate.
> 
> Who in userspace will know to reduce the delay? How will it know that
> the delay should be reduced?

The default (maybe even the largest) period would indicate what the
hardware can do in worst case and the smallest period what the hardware
can do in best/special cases (like single-tile update for PicoLCD)

Any application that wants to output information might want to know
how often the information can be displayed (what's the need to
calculate 1000 frames per second if only 2 of them will ever be seen
on display?). When possible and they know their display needs they
might benefit from ability to tune the result.

> > A sample application would be displaying a media player interface
> > like the one of XMMS and clones where Umeter (the part displaying
> > volume per frequency range) could be refreshed ten times a second,
> > the current position once a second and all the rest only on song
> > change.
> 
> xmms/umeter will talk to this sysfs entry?

Probably not XMMS itself but either a plugin for it or a human
interface to player that takes input from a remote control and
displays status to LCD (instead of/in addition to OSD)

> > Knowing the size of the display, probability that it's being used
> > directly by X server is very small, it would rather be some
> > application using it as a sideport display.
> >
> 
> Yes, I'd like to know which applications these are.

I don't have an example at hand. I would rather see plugins for media
players (like those that use LCD4Linux or LCDproc) benefit from such
a feature.

Thanks,
Bruno

  reply	other threads:[~2010-02-26 11:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 22:15 [PATCH] Add sysfs support for fbdefio delay Rick L. Vinyard Jr.
2010-02-25 22:32 ` Bruno Prémont
2010-02-25 22:41   ` Rick L. Vinyard, Jr.
2010-02-26  2:30 ` Jaya Kumar
2010-02-26 10:53   ` Bruno Prémont
2010-02-26 11:09     ` Jaya Kumar
2010-02-26 11:37       ` Bruno Prémont [this message]
2010-03-01 16:10   ` Rick L. Vinyard, Jr.
2010-03-02  6:49     ` Jaya Kumar
2010-03-02 15:36       ` Rick L. Vinyard, Jr.
2010-03-03  0:11         ` Jaya Kumar
2010-04-13 15:50           ` Rick L. Vinyard, Jr.
2010-03-02 18:47 ` Rick L. Vinyard Jr.
2010-03-03  0:19   ` Andrew Morton

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=20100226123721.77cadd07@neptune.home \
    --to=bonbons@linux-vserver.org \
    --cc=FlorianSchandinat@gmx.de \
    --cc=akpm@linux-foundation.org \
    --cc=jayakumar.lkml@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=krzysztof.h1@wp.pl \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npavel@ituner.com \
    --cc=rvinyard@cs.nmsu.edu \
    --cc=tomi.valkeinen@nokia.com \
    --cc=tony@atomide.com \
    /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).