From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/i915/icl: fix step numbers in icl_display_core_init()
Date: Mon, 8 Apr 2019 15:36:11 -0700 [thread overview]
Message-ID: <20190408223611.GB28546@intel.com> (raw)
In-Reply-To: <20190404230426.15837-2-lucas.demarchi@intel.com>
On Thu, Apr 04, 2019 at 04:04:24PM -0700, Lucas De Marchi wrote:
> At some point the spec was changed and we never updated the numbers to
> match it. Let's try once more to keep them in sync.
or maybe we just copied the numers from CNL ones?
Anyway let's keep in sync with spec:
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
> drivers/gpu/drm/i915/intel_runtime_pm.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 40ddfbb97acb..25053dfc3a12 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -3832,11 +3832,11 @@ void icl_display_core_init(struct drm_i915_private *dev_priv,
> /* 1. Enable PCH reset handshake. */
> intel_pch_reset_handshake(dev_priv, !HAS_PCH_NOP(dev_priv));
>
> - /* 2-3. */
> + /* 2. Initialize all combo phys */
> icl_combo_phys_init(dev_priv);
>
> /*
> - * 4. Enable Power Well 1 (PG1).
> + * 3. Enable Power Well 1 (PG1).
> * The AUX IO power wells will be enabled on demand.
> */
> mutex_lock(&power_domains->lock);
> @@ -3844,13 +3844,13 @@ void icl_display_core_init(struct drm_i915_private *dev_priv,
> intel_power_well_enable(dev_priv, well);
> mutex_unlock(&power_domains->lock);
>
> - /* 5. Enable CDCLK. */
> + /* 4. Enable CDCLK. */
> icl_init_cdclk(dev_priv);
>
> - /* 6. Enable DBUF. */
> + /* 5. Enable DBUF. */
> icl_dbuf_enable(dev_priv);
>
> - /* 7. Setup MBUS. */
> + /* 6. Setup MBUS. */
> icl_mbus_init(dev_priv);
>
> if (resume && dev_priv->csr.dmc_payload)
> --
> 2.21.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-04-08 22:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-04 23:04 [PATCH 0/3] Trivial comments and small changes Lucas De Marchi
2019-04-04 23:04 ` [PATCH 1/3] drm/i915/icl: fix step numbers in icl_display_core_init() Lucas De Marchi
2019-04-08 22:36 ` Rodrigo Vivi [this message]
2019-04-04 23:04 ` [PATCH 2/3] drm/i915: reorder if chain to have last gen first Lucas De Marchi
2019-04-08 22:36 ` Rodrigo Vivi
2019-04-04 23:04 ` [PATCH 3/3] drm/i915: do not mix workaround with normal flow Lucas De Marchi
2019-04-08 22:37 ` Rodrigo Vivi
2019-04-05 0:05 ` ✓ Fi.CI.BAT: success for Trivial comments and small changes Patchwork
2019-04-05 19:53 ` ✓ Fi.CI.IGT: " 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=20190408223611.GB28546@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=lucas.demarchi@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