diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9d2f494c0e65..7e00ee51b2c9 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -9821,13 +9821,19 @@ static void haswell_get_ddi_pll(struct drm_i915_private *dev_priv, | |||
9821 | case PORT_CLK_SEL_SPLL: | 9821 | case PORT_CLK_SEL_SPLL: |
9822 | id = DPLL_ID_SPLL; | 9822 | id = DPLL_ID_SPLL; |
9823 | break; | 9823 | break; |
9824 | case PORT_CLK_SEL_LCPLL_810: | ||
9825 | id = DPLL_ID_LCPLL_810; | ||
9826 | break; | ||
9827 | case PORT_CLK_SEL_LCPLL_1350: | ||
9828 | id = DPLL_ID_LCPLL_1350; | ||
9829 | break; | ||
9830 | case PORT_CLK_SEL_LCPLL_2700: | ||
9831 | id = DPLL_ID_LCPLL_2700; | ||
9832 | break; | ||
9824 | default: | 9833 | default: |
9825 | MISSING_CASE(pipe_config->ddi_pll_sel); | 9834 | MISSING_CASE(pipe_config->ddi_pll_sel); |
9826 | /* fall through */ | 9835 | /* fall through */ |
9827 | case PORT_CLK_SEL_NONE: | 9836 | case PORT_CLK_SEL_NONE: |
9828 | case PORT_CLK_SEL_LCPLL_810: | ||
9829 | case PORT_CLK_SEL_LCPLL_1350: | ||
9830 | case PORT_CLK_SEL_LCPLL_2700: | ||
9831 | return; | 9837 | return; |
9832 | } | 9838 | } |
9833 | 9839 | ||
@@ -12942,11 +12948,14 @@ check_shared_dpll_state(struct drm_device *dev) | |||
12942 | pll->active, hweight32(pll->config.crtc_mask)); | 12948 | pll->active, hweight32(pll->config.crtc_mask)); |
12943 | I915_STATE_WARN(pll->active && !pll->on, | 12949 | I915_STATE_WARN(pll->active && !pll->on, |
12944 | "pll in active use but not on in sw tracking\n"); | 12950 | "pll in active use but not on in sw tracking\n"); |
12945 | I915_STATE_WARN(pll->on && !pll->active, | 12951 | |
12946 | "pll in on but not on in use in sw tracking\n"); | 12952 | if (!(pll->flags & INTEL_DPLL_ALWAYS_ON)) { |
12947 | I915_STATE_WARN(pll->on != active, | 12953 | I915_STATE_WARN(pll->on && !pll->active, |
12948 | "pll on state mismatch (expected %i, found %i)\n", | 12954 | "pll in on but not on in use in sw tracking\n"); |
12949 | pll->on, active); | 12955 | I915_STATE_WARN(pll->on != active, |
12956 | "pll on state mismatch (expected %i, found %i)\n", | ||
12957 | pll->on, active); | ||
12958 | } | ||
12950 | 12959 | ||
12951 | for_each_intel_crtc(dev, crtc) { | 12960 | for_each_intel_crtc(dev, crtc) { |
12952 | if (crtc->base.state->enable && crtc->config->shared_dpll == pll) | 12961 | if (crtc->base.state->enable && crtc->config->shared_dpll == pll) |