drm/i915/dsi: improve dphy param limits logging
authorJani Nikula <jani.nikula@intel.com>
Thu, 19 Apr 2018 08:59:39 +0000 (11:59 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 19 Apr 2018 12:20:10 +0000 (15:20 +0300)
commite307126a2c8e792a4b426ee3ab827d1285544e12
treeea53732274d070513f945b1b38a4ba920fbd6476
parent2a5b95b448485e143ec3e004eabe53b31db78eb3
drm/i915/dsi: improve dphy param limits logging

Move the limit checks near the calculations for each field, and actually
log the values that exceed limits.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180419085940.21505-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi_vbt.c