[PATCH 03/13] drm/i915/skl: Display the WRPLL frequency we couldn't accomodate when failing

Damien Lespiau
2015-05-07T17:38:53Z

This helps debugging.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
drivers/gpu/drm/i915/intel_ddi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index da7aa0f..ff5eb05 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -1190,7 +1190,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];

--
2.1.0