drm/i915/dsi: improve dphy param limits logging
authorJani Nikula <[email protected]>
Thu, 19 Apr 2018 08:59:39 +0000 (11:59 +0300)
committerJani Nikula <[email protected]>
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ä <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_dsi_vbt.c