]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915/skl: Remove spurious warn in get_ddi_pll()
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 14 Nov 2014 17:24:32 +0000 (17:24 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Nov 2014 15:00:47 +0000 (16:00 +0100)
When reading out a DDI config that uses a PLL that is not part of the
shared_dpll scheme (DPLL0), it's totally normal to end up in the
default: case of that switch.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index c42a0401bfa53e904aa3854b0d856601f9ba5dfd..7d58a64195d6050330851fe1264f74ac7407850c 100644 (file)
@@ -8029,8 +8029,6 @@ static void skylake_get_ddi_pll(struct drm_i915_private *dev_priv,
        case SKL_DPLL3:
                pipe_config->shared_dpll = DPLL_ID_SKL_DPLL3;
                break;
-       default:
-               WARN(1, "Unknown DPLL programmed\n");
        }
 }