From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v10)
Date: Fri, 5 Jul 2019 13:28:09 +0300 [thread overview]
Message-ID: <20190705102809.GL5942@intel.com> (raw)
In-Reply-To: <20190703230353.24059-1-vivek.kasireddy@intel.com>
On Wed, Jul 03, 2019 at 04:03:53PM -0700, Vivek Kasireddy wrote:
> This patch adds support for DPLL4 on EHL that include the
> following restrictions:
>
> - DPLL4 cannot be used with DDIA (combo port A internal eDP usage).
> DPLL4 can be used with other DDIs, including DDID
> (combo port A external usage).
>
> - DPLL4 cannot be enabled when DC5 or DC6 are enabled.
>
> - The DPLL4 enable, lock, power enabled, and power state are connected
> to the MGPLL1_ENABLE register.
>
> v2: (suggestions from Bob Paauwe)
> - Rework ehl_get_dpll() function to call intel_find_shared_dpll() and
> iterate twice: once for Combo plls and once for MG plls.
>
> - Use MG pll funcs for DPLL4 instead of creating new ones and modify
> mg_pll_enable to include the restrictions for EHL.
>
> v3: Fix compilation error
>
> v4: (suggestions from Lucas and Ville)
> - Treat DPLL4 as a combo phy PLL and not as MG PLL
> - Disable DC states when this DPLL is being enabled
> - Reuse icl_get_dpll instead of creating a separate one for EHL
>
> v5: (suggestion from Ville)
> - Refcount the DC OFF power domains during the enabling and disabling
> of this DPLL.
>
> v6: rebase
>
> v7: (suggestion from Imre)
> - Add a new power domain instead of iterating over the domains
> assoicated with DC OFF power well.
>
> v8: (Ville and Imre)
> - Rename POWER_DOMAIN_DPLL4 TO POWER_DOMAIN_DPLL_DC_OFF
> - Grab a reference in intel_modeset_setup_hw_state() if this
> DPLL was already enabled perhaps by BIOS.
> - Check for the port type instead of the encoder
>
> v9: (Ville)
> - Move the block of code that grabs a reference to the power domain
> POWER_DOMAIN_DPLL_DC_OFF to intel_modeset_readout_hw_state() to ensure
> that there is a reference present before this DPLL might get disabled.
>
> v10: rebase
>
> Cc: José Roberto de Souza <jose.souza@intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Cc: Imre Deak <imre.deak@intel.com>
> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
lgtm. Picked up José's r-b from an earlier posting (in the future plese
collect those yourself so they don't get lost), and pushed to dinq.
Thanks for the patch.
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-07-05 10:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-03 23:03 [PATCH] drm/i915/ehl: Add support for DPLL4 (v10) Vivek Kasireddy
2019-07-03 23:50 ` ✓ Fi.CI.BAT: success for " Patchwork
2019-07-05 3:11 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-07-05 10:23 ` Ville Syrjälä
2019-07-05 10:28 ` Ville Syrjälä [this message]
2019-07-10 18:47 ` [PATCH] " Ville Syrjälä
2019-07-17 1:54 ` Vivek Kasireddy
2019-07-18 17:14 ` Ville Syrjälä
2019-07-17 2:13 ` [PATCH] drm/i915/ehl: Use an id of 4 while accessing DPLL4's CR0 and CR1 Vivek Kasireddy
2019-07-18 17:29 ` Ville Syrjälä
2019-07-17 3:16 ` ✓ Fi.CI.BAT: success for drm/i915/ehl: Add support for DPLL4 (v10) (rev2) Patchwork
2019-07-17 4:27 ` ✓ 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=20190705102809.GL5942@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=vivek.kasireddy@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.