From: "Heiko Stübner" <heiko@sntech.de>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] fb_defio: add first_io callback
Date: Thu, 16 Feb 2012 07:34:09 +0000 [thread overview]
Message-ID: <201202160834.10972.heiko@sntech.de> (raw)
In-Reply-To: <201112311145.47717.heiko@sntech.de>
Hi Florian,
Am Donnerstag, 16. Februar 2012, 03:27:25 schrieb Florian Tobias Schandinat:
> Hi Heiko,
>
> sorry for the long delay.
no problem
> On 12/31/2011 10:45 AM, Heiko Stübner wrote:
> > With this optional callback the driver is notified when the first page
> > is entered into the pagelist and a new deferred_io call is scheduled.
> >
> > A possible use-case for this is runtime-pm. In the first_io call
> >
> > pm_runtime_get()
> >
> > could be called, which starts an asynchronous runtime_resume of the
> > device. In the deferred_io callback a call to
> >
> > pm_runtime_barrier()
> >
> > makes the sure, the device is resumed by then and a
> >
> > pm_runtime_put()
> >
> > may put the device back to sleep.
> >
> > Also, some SoCs may use the runtime-pm system to determine if they
> > are able to enter deeper idle states. Therefore it is necessary to
> > keep the use-count from the first written page until the conclusion
> > of the screen update, to prevent the system from going to sleep before
> > completing the pending update.
> >
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
>
> while I consider this patch acceptable, I don't see any reason to apply it
> as long as there is no driver actually using it.
ok, so I will keep sitting on it until my driver for the AUO-K190x epd
controller is ready for primetime and resubmit this patch in conjunction with
it.
Heiko
prev parent reply other threads:[~2012-02-16 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-31 10:45 [PATCH] fb_defio: add first_io callback Heiko Stübner
2012-02-16 2:27 ` Florian Tobias Schandinat
2012-02-16 7:34 ` Heiko Stübner [this message]
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=201202160834.10972.heiko@sntech.de \
--to=heiko@sntech.de \
--cc=linux-fbdev@vger.kernel.org \
/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.