mbox series

[0/2] Avoid unwanted lspcon init and probe warnings

Message ID 20240322121832.4170061-1-ankit.k.nautiyal@intel.com (mailing list archive)
Headers show
Series Avoid unwanted lspcon init and probe warnings | expand

Message

Nautiyal, Ankit K March 22, 2024, 12:18 p.m. UTC
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.

Separate the probe function and avoid displaying error if probe fails.
If probe succeeds, only then start lspcon init and set the expected
LS/PCON mode as first step.

Ankit Nautiyal (2):
  drm/i915/lspcon: Separate function to set expected mode
  drm/i915/lspcon: Separate lspcon probe and lspcon init

 drivers/gpu/drm/i915/display/intel_dp.c     |  3 +
 drivers/gpu/drm/i915/display/intel_lspcon.c | 66 +++++++++++++--------
 drivers/gpu/drm/i915/display/intel_lspcon.h |  1 +
 3 files changed, 45 insertions(+), 25 deletions(-)