mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 00:25:24 -04:00
drm/i915: Fix PLL state check for gmch platforms
GMCH DPLL state check was mistakenly removed in
commit 87fc875a2b ("drm/i915/dg2: Skip shared DPLL handling").
Bring it back.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240209183809.16887-2-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
This commit is contained in:
@@ -5216,9 +5216,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);
|
||||
|
||||
Reference in New Issue
Block a user