From: Daniel Vetter <daniel@ffwll.ch>
To: Dave Airlie <airlied@gmail.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>, Borun Fu <borun.fu@intel.com>,
Sagar Arun Kamble <sagar.a.kamble@intel.com>
Subject: Re: [RFC v2 1/1] drm/i915: Power gating display wells during i915_pm_suspend
Date: Fri, 25 Jul 2014 09:26:27 +0200 [thread overview]
Message-ID: <20140725072627.GG4747@phenom.ffwll.local> (raw)
In-Reply-To: <CAPM=9tyREere_gb7jKnp+2hQuHrpxETxcQygM3T3+TCLQC0b1A@mail.gmail.com>
On Fri, Jul 25, 2014 at 01:28:48PM +1000, Dave Airlie wrote:
> On 23 July 2014 15:11, Daniel Vetter <daniel@ffwll.ch> wrote:
> > On Sat, Jul 12, 2014 at 10:02:27AM +0530, sagar.a.kamble@intel.com wrote:
> >> From: Borun Fu <borun.fu@intel.com>
> >>
> >> On VLV, after i915_pm_suspend display power wells are staying
> >> power ungated. So, after initiating mem sleep "echo mem > /sys/power/state"
> >> Display is staing D0 State. There might be better way/place to power gate
> >> these wells. Also, we need to make sure that if wells are power gated due to
> >> DPMS OFF sequence, they need not be turned off by i915_pm_suspend again.
> >>
> >> v2: Extracted helper for intel_crtc_disable and power gating CRTC power wells.
> >> [Daniel]
> >>
> >> Cc: Imre Deak <imre.deak@intel.com>
> >> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
> >> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> >> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> >> Change-Id: I34c80da66aa24c423a5576c68aa1f3a8d0f43848
> >
> > s-o-b from the original author (Borun Fu) missing. Added myself since we
> > all work for the same company, but please don't forget this. Every person
> > including the original author, who handles a patch must add their sob
> > line.
> > -Daniel
>
> Is this queued or on its way, I was getting a warning on HSW about not
> entering pc8+
> due to display with MST enabled, and I thought it was MSTs fault, but I suspect
> its just this,
>
> mode set turns the global resources power well on, but nothing ever
> turns it off.
mst doesn't factor into this. Might need to double-check but from what
I've seen mst was only wired into the system s/r paths, not the runtime
pm. They're unfortunately not sufficiently shared. So I'd suspect that.
The bug here happens when you move/update the cursor (or sprite/primary
plane) while the display is off. You'll get unclaimed register read/write
errors, no WARNINGs if you hit this one.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
prev parent reply other threads:[~2014-07-25 7:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 15:18 [RFC 1/1] drm/i915: Power gating display wells during i915_pm_suspend sagar.a.kamble
2014-07-11 16:14 ` Daniel Vetter
2014-07-12 4:32 ` [RFC v2 " sagar.a.kamble
2014-07-12 9:50 ` Daniel Vetter
2014-07-23 5:11 ` Daniel Vetter
2014-07-25 3:28 ` Dave Airlie
2014-07-25 7:26 ` Daniel Vetter [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=20140725072627.GG4747@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=airlied@gmail.com \
--cc=borun.fu@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=paulo.r.zanoni@intel.com \
--cc=sagar.a.kamble@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox