]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: remove noisy logs in intel_dp_dsc_get_output_bpp()
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Jun 2022 07:44:33 +0000 (10:44 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 7 Jun 2022 19:09:21 +0000 (22:09 +0300)
commitf404565a05d2d28cd2812bd84ae5b670ab76a87b
tree70fcea6525da4b892bde0df8ff1cc1ceed7c4515
parent3b7e3765b9f4f7e68c1eed7cbc764f0fdb7cc7ec
drm/i915: remove noisy logs in intel_dp_dsc_get_output_bpp()

The intel_dp_dsc_get_output_bpp() function outputs two lines of
unconditional logs, which was okay when it was called only once.  But
now, we also call this function from intel_dp_mode_valid(), which is
in turn called for every mode we need to validate.  This causes a lot
of useless noise.

Remove the unconditional prints to avoid spamming the logs.  Also
remove one more print that is not unconditional, but is related.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607074433.1202917-1-luca@coelho.fi
drivers/gpu/drm/i915/display/intel_dp.c