[Intel-gfx] [PATCH 1/4] drm/i915/skl: Remove spurious warn in get_ddi_pll()

Paulo Zanoni przanoni at gmail.com
Mon Nov 17 13:40:24 CET 2014


2014-11-14 15:24 GMT-02:00 Damien Lespiau <damien.lespiau at intel.com>:
> 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.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index dda97b3..466a7ae 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -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");
>         }
>  }
>
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Paulo Zanoni



More information about the Intel-gfx mailing list