From: Jani Nikula <jani.nikula@linux.intel.com>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com>,
Takashi Iwai <tiwai@suse.de>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
"Peres, Martin" <martin.peres@intel.com>,
"Kaskinen, Tanu" <tanu.kaskinen@intel.com>,
Liam Girdwood <liam.r.girdwood@intel.com>,
Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [PATCH] drm/i915: Enable runtime pm
Date: Tue, 07 Nov 2017 18:45:36 +0200 [thread overview]
Message-ID: <87tvy6avgv.fsf@intel.com> (raw)
In-Reply-To: <20171107161821.7747-1-daniel.vetter@ffwll.ch>
On Tue, 07 Nov 2017, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> Now that we have CI, and that pm_rpm fully passes (I guess the audio
> folks have implemented proper runtime pm for snd-hda, hooray, pls
> confirm) it's time to enable this again by default.
>
> Real goal here is to have 1 configuration only that we fully support,
> instead of tons of different codes with every user/customer tuning it
> differently. And really, power stuff should work by default, and
> should be enabled by everywhere where it is save to do so.
>
> v2: Completely new commit message, a few years passed since v1 ...
I suppose this is something that could use more than a single round of
IGT CI before merging...?
BR,
Jani.
>
> Cc: Takashi Iwai <tiwai@suse.de>
> Cc: Liam Girdwood <liam.r.girdwood@intel.com>
> Cc: "Yang, Libin" <libin.yang@intel.com>
> Cc: "Lin, Mengdong" <mengdong.lin@intel.com>
> Cc: "Li, Jocelyn" <jocelyn.li@intel.com>
> Cc: "Kaskinen, Tanu" <tanu.kaskinen@intel.com>
> Cc: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
> drivers/gpu/drm/i915/intel_runtime_pm.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 8315499452dc..dc24d008d8d4 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -3232,7 +3232,7 @@ void intel_runtime_pm_enable(struct drm_i915_private *dev_priv)
> struct pci_dev *pdev = dev_priv->drm.pdev;
> struct device *kdev = &pdev->dev;
>
> - pm_runtime_set_autosuspend_delay(kdev, 10000); /* 10s */
> + pm_runtime_set_autosuspend_delay(kdev, 100);
> pm_runtime_mark_last_busy(kdev);
>
> /*
> @@ -3251,6 +3251,8 @@ void intel_runtime_pm_enable(struct drm_i915_private *dev_priv)
> pm_runtime_use_autosuspend(kdev);
> }
>
> + pm_runtime_allow(kdev);
> +
> /*
> * The core calls the driver load handler with an RPM reference held.
> * We drop that here and will reacquire it during unloading in
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-11-07 16:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-07 16:18 [PATCH] drm/i915: Enable runtime pm Daniel Vetter
2017-11-07 16:38 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-11-07 16:45 ` Jani Nikula [this message]
2017-11-07 16:53 ` [PATCH] " Daniel Vetter
2017-11-08 12:24 ` ✗ Fi.CI.BAT: warning for " Patchwork
2017-11-08 14:25 ` [PATCH] " David Weinehall
2017-11-16 18:24 ` David Weinehall
2017-11-16 20:45 ` Paulo Zanoni
2017-11-16 21:11 ` Chris Wilson
2017-11-17 8:39 ` David Weinehall
-- strict thread matches above, loose matches on Subject: below --
2015-05-08 18:51 Daniel Vetter
2015-05-09 14:59 ` shuang.he
2015-05-12 17:40 ` Jesse Barnes
2015-06-16 8:34 ` Daniel Vetter
2015-06-16 10:42 ` Liam Girdwood
2015-06-18 7:46 ` Yang, Libin
2015-06-16 12:23 ` Paulo Zanoni
2015-06-16 12:26 ` Paulo Zanoni
2015-06-16 18:40 ` Jesse Barnes
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=87tvy6avgv.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel.vetter@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=liam.r.girdwood@intel.com \
--cc=martin.peres@intel.com \
--cc=paulo.r.zanoni@intel.com \
--cc=tanu.kaskinen@intel.com \
--cc=tiwai@suse.de \
/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