[PATCH 1/5] drm/i915: Fix PLL state check for gmch platforms

Kahola, Mika mika.kahola at intel.com
Mon Feb 12 14:11:50 UTC 2024


> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces at lists.freedesktop.org> On Behalf Of Ville Syrjala
> Sent: Friday, February 9, 2024 8:38 PM
> To: intel-gfx at lists.freedesktop.org
> Subject: [PATCH 1/5] drm/i915: Fix PLL state check for gmch platforms
> 
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> GMCH DPLL state check was mistakenly removed in commit 87fc875a2b85 ("drm/i915/dg2: Skip shared DPLL handling").
> Bring it back.
> 

Reviewed-by: Mika Kahola <mika.kahola at intel.com>

> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 7db0655d8c9e..f20728b7f67b 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -5215,9 +5215,11 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
> 
>  	PIPE_CONF_CHECK_BOOL(double_wide);
> 
> -	if (dev_priv->display.dpll.mgr) {
> +	if (dev_priv->display.dpll.mgr)
>  		PIPE_CONF_CHECK_P(shared_dpll);
> 
> +	/* FIXME convert everything over the dpll_mgr */
> +	if (dev_priv->display.dpll.mgr || HAS_GMCH(dev_priv)) {
>  		PIPE_CONF_CHECK_X(dpll_hw_state.dpll);
>  		PIPE_CONF_CHECK_X(dpll_hw_state.dpll_md);
>  		PIPE_CONF_CHECK_X(dpll_hw_state.fp0);
> --
> 2.43.0



More information about the Intel-gfx mailing list