All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Avoid unwanted lspcon init and probe warnings
@ 2024-03-22 12:18 Ankit Nautiyal
  2024-03-22 12:18 ` [PATCH 1/2] drm/i915/lspcon: Separate function to set expected mode Ankit Nautiyal
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Ankit Nautiyal @ 2024-03-22 12:18 UTC (permalink / raw)
  To: intel-gfx

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-26  8:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22 12:18 [PATCH 0/2] Avoid unwanted lspcon init and probe warnings Ankit Nautiyal
2024-03-22 12:18 ` [PATCH 1/2] drm/i915/lspcon: Separate function to set expected mode Ankit Nautiyal
2024-03-25 15:17   ` Jani Nikula
2024-03-26  4:12     ` Nautiyal, Ankit K
2024-03-22 12:18 ` [PATCH 2/2] drm/i915/lspcon: Separate lspcon probe and lspcon init Ankit Nautiyal
2024-03-25 15:18   ` Jani Nikula
2024-03-26  4:26     ` Nautiyal, Ankit K
2024-03-26  6:56       ` Jani Nikula
2024-03-26  8:29         ` Nautiyal, Ankit K
2024-03-22 20:10 ` ✓ Fi.CI.BAT: success for Avoid unwanted lspcon init and probe warnings Patchwork
2024-03-23 21:40 ` ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.