drm/i915/skl: Display the WRPLL frequency we couldn't accomodate when failing

This helps debugging.

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>
This commit is contained in:
Damien Lespiau 2015-05-07 18:38:39 +01:00 committed by Daniel Vetter
parent 6cf75178de
commit 19cdc0e6cd

View file

@ -1194,7 +1194,8 @@ found:
}
if (min_dco_index > 2) {
WARN(1, "No valid values found for the given pixel clock\n");
WARN(1, "No valid parameters found for pixel clock: %dHz\n",
clock);
} else {
wrpll_params->central_freq = dco_central_freq[min_dco_index];