Message ID | 1431020329-11414-4-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, May 07, 2015 at 06:38:39PM +0100, Damien Lespiau wrote: > 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); Same complaint here, this should return false and get forwarded eventually to haswell_crtc_compute_clock. I'll leave patch 2&3 for now since they need to be reworked anyway. -Daniel > } else { > wrpll_params->central_freq = dco_central_freq[min_dco_index]; > > -- > 2.1.0 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
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];
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(-)