All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	Olli Salonen <olli.salonen@iki.fi>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 1/3] si2157: change command for sleep
Date: Thu, 18 Sep 2014 15:00:59 +0300	[thread overview]
Message-ID: <541AC97B.1020508@iki.fi> (raw)
In-Reply-To: <20140918085055.15375d0b@recife.lan>

On 09/18/2014 02:50 PM, Mauro Carvalho Chehab wrote:
> Sorry, I misunderstood this patch.
>
> There are actually two different things, each requiring a different PM
> setting:
>
> 1) to put the tuner to sleep while it is not in usage;
>
> 2) put the machine to suspend.
>
> This patch is for (1). That's FINE. I'll apply it.
>
> Yet, for (2), assuming a suspend to ram, the best is to save more
> power.
>
> In the past, the DVB core didn't make any distinction between those
> two, but we recently added a hook for suspend there.
>
> So, it makes sense to keep the tuner powerdown mode for suspend.


I think old deep sleep should be used for suspend, whilst on warm state 
that new is OK.

I2C driver has suspend/resume support and it is one thing I am going to 
study in near future. Currently I have 128GB SSD and no swap at all, so 
I cannot test it now. I have already bought 256GB SSD and I am just 
waiting for Fedora 21 alpha version, which I will install with proper 
swap. Unfortunately they have delayed many times already Fedora 21 alpha...

I am not even sure if DVB frontend needs any special suspend/resume 
handling, isn't it possible to use standard kernel PM here? (I already 
added some initial PM to DVB FE ~2 years ago, but IIRC those will only 
kill threads and so which are not allowed when suspend).

So is there some reason DVB FE needs suspend/resume hooks?


regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2014-09-18 12:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 18:07 [PATCH 1/3] si2157: change command for sleep Olli Salonen
2014-08-25 18:07 ` [PATCH 2/3] si2157: avoid firmware loading if it has been loaded previously Olli Salonen
2014-08-25 18:07 ` [PATCH 3/3] si2168: " Olli Salonen
2014-09-05  8:36   ` Antti Palosaari
2014-09-05 18:54     ` Olli Salonen
2014-09-06 17:36       ` Olli Salonen
2014-09-06 23:06         ` Antti Palosaari
2014-09-05  8:34 ` [PATCH 1/3] si2157: change command for sleep Antti Palosaari
2014-09-18 11:22   ` Mauro Carvalho Chehab
2014-09-18 11:50     ` Mauro Carvalho Chehab
2014-09-18 12:00       ` Antti Palosaari [this message]
2014-09-18 12:11         ` Mauro Carvalho Chehab

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=541AC97B.1020508@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@osg.samsung.com \
    --cc=olli.salonen@iki.fi \
    /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.