[PATCH 0/3] Avoid unwanted lspcon init and probe warnings

Ankit Nautiyal ankit.k.nautiyal at intel.com
Wed Apr 3 13:19:54 UTC 2024


Currently we probe for lspcon, inside lspcon init.

If there is no lspcon connected, the probe expectedly fails and
results in error message. This inturn gets propogated to
lspcon init and we get again error message for lspcon init
failure.

Reduce the error messages from lspcon init.
Separate out some of the functions and avoid displaying error if the
probe fails.

Ankit Nautiyal (3):
  drm/i915/lspcon: Separate out function to get expected mode
  drm/i915/lspcon: Separate out function to set pcon mode
  drm/915/lspcon: Reduce dmesg errors during lspcon_init failure

 drivers/gpu/drm/i915/display/intel_lspcon.c | 65 ++++++++++++---------
 1 file changed, 38 insertions(+), 27 deletions(-)

-- 
2.40.1



More information about the Intel-gfx-trybot mailing list