intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Souza, Jose" <jose.souza@intel.com>
To: "intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Pandiyan, Dhinakaran" <dhinakaran.pandiyan@intel.com>
Subject: Re: [PATCH] drm/i915/psr: Enable AUX-A IO power well on ICL for PSR
Date: Fri, 14 Sep 2018 16:34:17 +0000	[thread overview]
Message-ID: <c83a2cbbc96677f5c804ef9e9b4a2b96e9ad62ff.camel@intel.com> (raw)
In-Reply-To: <20180914001822.2503-1-dhinakaran.pandiyan@intel.com>

On Thu, 2018-09-13 at 17:18 -0700, Dhinakaran Pandiyan wrote:
> PSR requires AUX IO power well to be enabled. This was already in
> place
> for CNL, extend this for ICL too. Not enabling the power well results
> in
> the aux error interrupts when the hardware exits PSR.
> 

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>

> Reported-by: Casey G Bowman <casey.g.bowman@intel.com>
> Reported-by: Jyoti R Yadav <jyoti.r.yadav@intel.com>
> Cc: Matt Atwood <matthew.s.atwood@intel.com>
> Cc: Jyoti R Yadav <jyoti.r.yadav@intel.com>
> Cc: Casey G Bowman <casey.g.bowman@intel.com>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_ddi.c        | 2 +-
>  drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_ddi.c
> b/drivers/gpu/drm/i915/intel_ddi.c
> index cd01a09c5e0f..b6910c8b4e08 100644
> --- a/drivers/gpu/drm/i915/intel_ddi.c
> +++ b/drivers/gpu/drm/i915/intel_ddi.c
> @@ -2077,7 +2077,7 @@ bool intel_ddi_get_hw_state(struct
> intel_encoder *encoder,
>  static inline enum intel_display_power_domain
>  intel_ddi_main_link_aux_domain(struct intel_dp *intel_dp)
>  {
> -	/* CNL HW requires corresponding AUX IOs to be powered up for
> PSR with
> +	/* CNL+ HW requires corresponding AUX IOs to be powered up for
> PSR with
>  	 * DC states enabled at the same time, while for driver
> initiated AUX
>  	 * transfers we need the same AUX IOs to be powered but with DC
> states
>  	 * disabled. Accordingly use the AUX power domain here which
> leaves DC
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
> b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 9bebec389de1..0fdabce647ab 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -1996,6 +1996,7 @@ void intel_display_power_put(struct
> drm_i915_private *dev_priv,
>  	BIT_ULL(POWER_DOMAIN_PORT_DDI_F_IO))
>  
>  #define ICL_AUX_A_IO_POWER_DOMAINS (			\
> +	BIT_ULL(POWER_DOMAIN_AUX_IO_A) |		\
>  	BIT_ULL(POWER_DOMAIN_AUX_A))
>  #define ICL_AUX_B_IO_POWER_DOMAINS (			\
>  	BIT_ULL(POWER_DOMAIN_AUX_B))
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2018-09-14 16:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14  0:18 [PATCH] drm/i915/psr: Enable AUX-A IO power well on ICL for PSR Dhinakaran Pandiyan
2018-09-14  0:57 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-09-14  4:48 ` ✓ Fi.CI.IGT: " Patchwork
2018-09-14 13:33 ` [PATCH] " Imre Deak
2018-09-14 15:53 ` Bowman, Casey G
2018-09-14 16:30 ` ✗ Fi.CI.BAT: failure for drm/i915/psr: Enable AUX-A IO power well on ICL for PSR (rev2) Patchwork
2018-09-14 16:34 ` Souza, Jose [this message]
2018-09-17  6:15 ` [PATCH] drm/i915/psr: Enable AUX-A IO power well on ICL for PSR Yadav, Jyoti R
2018-09-17  6:16 ` ✗ Fi.CI.BAT: failure for drm/i915/psr: Enable AUX-A IO power well on ICL for PSR (rev3) Patchwork

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=c83a2cbbc96677f5c804ef9e9b4a2b96e9ad62ff.camel@intel.com \
    --to=jose.souza@intel.com \
    --cc=dhinakaran.pandiyan@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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;
as well as URLs for NNTP newsgroup(s).