[PATCH 0/2] Avoid unwanted lspcon init and probe warnings
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Mon Oct 16 04:13:37 UTC 2023
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(-)
--
2.40.1
More information about the Intel-gfx-trybot
mailing list