public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ikhwan Lee <ikhwan.lee@samsung.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>, linux-pm@lists.osdl.org
Subject: Re: sysfs power/state file & dpm_runtime_suspend()
Date: Thu, 17 Aug 2006 10:46:10 +0900	[thread overview]
Message-ID: <006001c6c19e$ead15a20$4686190c@dsn.sec.samsung.com> (raw)
In-Reply-To: Pine.LNX.4.44L0.0608161127120.7924-100000@iolanthe.rowland.org

Thanks for your comment.

> > Suppose we have a SoC with an on-chip multimedia codec. The codec can
either
> > be clock-gated or power-gated, and it shares its power domain with a
> > neighboring IP, say a 3D engine. Clock gating can be done by the driver
> > since the clock can be controlled separately. However, the codec driver
can
> > never perform power-gating since it does not know if the 3D engine is
active
> > or not. We would prefer a centralized device power manager in this case.
> > This is a common case for state-of-the-art mobile handsets such as a DMB
> > phone.
>
> In which case a centralized power manager would handle things.  But
> there's no reason that power manager couldn't be part of the kernel's
> infrastructure.  The individual device drivers would tell it when they
> need power, and it would gate off the power when nobody needs any.  In
> this case no userspace API is required.  It's merely a platform-level
> design issue.

We can have the device power manager in the kernel and let the platform
designers hardcode the rules specific to their platform. It is easier to
implement and we can use that scheme right away.

In the future however, I think it is more clear to have a "power/voltage
domain framework, and an extensible framework for system-wide operating (and
non-operating sleep) states," quoting from what David said in his response
to my message.

Ikhwan

  reply	other threads:[~2006-08-17  1:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-27 11:34 sysfs power/state file & dpm_runtime_suspend() ???
2006-07-27 14:43 ` Alan Stern
2006-07-27 15:53   ` David Brownell
2006-08-16  7:17     ` Ikhwan Lee
2006-08-16 15:37       ` Alan Stern
2006-08-17  1:46         ` Ikhwan Lee [this message]
2006-08-17 14:18           ` Alan Stern
2006-08-16 19:09       ` David Brownell
2006-08-17  2:41         ` Ikhwan Lee
2006-08-17  6:31           ` Matthew Locke

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='006001c6c19e$ead15a20$4686190c@dsn.sec.samsung.com' \
    --to=ikhwan.lee@samsung.com \
    --cc=david-b@pacbell.net \
    --cc=linux-pm@lists.osdl.org \
    --cc=stern@rowland.harvard.edu \
    /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