From: Daniel Vetter <daniel@ffwll.ch>
To: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 5/5] drm/i915: Enable rc6 with bdw
Date: Thu, 15 May 2014 23:17:47 +0200 [thread overview]
Message-ID: <20140515211747.GA8790@phenom.ffwll.local> (raw)
In-Reply-To: <1400176691-5731-5-git-send-email-mika.kuoppala@intel.com>
On Thu, May 15, 2014 at 08:58:11PM +0300, Mika Kuoppala wrote:
> Everything should be in place so enable rc6/rps for bdw.
>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Merged all 5 patches, thanks. Now that we have the prerequisites it's time
to give runtime pm on bdw another shot. Can you please test a revert of
commit f033579f7759bfb34c082aacbd19a830f1e587cc
Author: Imre Deak <imre.deak@intel.com>
Date: Mon Apr 28 12:03:59 2014 +0300
drm/i915: bdw: fix RC6 enabled status reporting and disable runtime PM
and if it checks out please submit it?
Thanks, Daniel
> ---
> drivers/gpu/drm/i915/intel_pm.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 36eb1ea..34b0766 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -3374,10 +3374,6 @@ static int sanitize_rc6_option(const struct drm_device *dev, int enable_rc6)
> if (INTEL_INFO(dev)->gen == 5 && !IS_IRONLAKE_M(dev))
> return 0;
>
> - /* Disable RC6 on Broadwell for now */
> - if (IS_BROADWELL(dev))
> - return 0;
> -
> /* Respect the kernel parameter if it is set */
> if (enable_rc6 >= 0) {
> int mask;
> @@ -4685,7 +4681,7 @@ void intel_disable_gt_powersave(struct drm_device *dev)
> if (IS_IRONLAKE_M(dev)) {
> ironlake_disable_drps(dev);
> ironlake_disable_rc6(dev);
> - } else if (IS_GEN6(dev) || IS_GEN7(dev)) {
> + } else if (IS_GEN6(dev) || IS_GEN7(dev) || IS_BROADWELL(dev)) {
> cancel_delayed_work_sync(&dev_priv->rps.delayed_resume_work);
> cancel_work_sync(&dev_priv->rps.work);
> mutex_lock(&dev_priv->rps.hw_lock);
> @@ -4732,7 +4728,7 @@ void intel_enable_gt_powersave(struct drm_device *dev)
> ironlake_enable_rc6(dev);
> intel_init_emon(dev);
> mutex_unlock(&dev->struct_mutex);
> - } else if (IS_GEN6(dev) || IS_GEN7(dev)) {
> + } else if (IS_GEN6(dev) || IS_GEN7(dev) || IS_BROADWELL(dev)) {
> /*
> * PCU communication is slow and this doesn't need to be
> * done at any specific time, so do this out of our fast path
> --
> 1.7.9.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
next prev parent reply other threads:[~2014-05-15 21:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 17:58 [PATCH 1/5] drm/i915: Bail out early on gen6_signal if no semaphores Mika Kuoppala
2014-05-15 17:58 ` [PATCH 2/5] drm/i915/bdw: Implement a basic PM interrupt handler Mika Kuoppala
2014-05-16 1:38 ` O'Rourke, Tom
2014-05-16 9:09 ` Daniel Vetter
2014-05-16 9:46 ` Ville Syrjälä
2014-05-16 10:09 ` Daniel Vetter
2014-05-16 10:44 ` [PATCH] drm/i915: Be careful with non-disp bit in PMINTRMSK Mika Kuoppala
2014-05-16 14:29 ` Daniel Vetter
2014-05-15 17:58 ` [PATCH 3/5] drm/i915: Enable PM Interrupts target via Display Interface Mika Kuoppala
2014-05-15 17:58 ` [PATCH 4/5] drm/i915: Fix rc6 options debug info Mika Kuoppala
2014-05-15 17:58 ` [PATCH 5/5] drm/i915: Enable rc6 with bdw Mika Kuoppala
2014-05-15 21:17 ` Daniel Vetter [this message]
2014-05-15 18:38 ` [PATCH 1/5] drm/i915: Bail out early on gen6_signal if no semaphores Ville Syrjälä
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=20140515211747.GA8790@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mika.kuoppala@linux.intel.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 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.