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
1 changed files with 2 additions and 1 deletions

View File

@ -1194,7 +1194,8 @@ skl_ddi_calculate_wrpll(int clock /* in Hz */,
}
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];