All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Avoid unwanted lspcon init and probe warnings
@ 2024-04-08  5:05 Ankit Nautiyal
  2024-04-08  5:05 ` [PATCH 1/3] drm/i915/lspcon: Separate out function to get expected mode Ankit Nautiyal
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Ankit Nautiyal @ 2024-04-08  5:05 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.

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

rev2: Changed the approach from previous revision where lspcon_probe was
separated out from lspcon_init, as this was resulting in
lspcon_wake_native_aux_ch not being called before probe.
Instead, just separate out the part of lspcon_probe that can fail, to a
separate function and display the error message for it.

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


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

end of thread, other threads:[~2024-04-10 20:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-08  5:05 [PATCH 0/3] Avoid unwanted lspcon init and probe warnings Ankit Nautiyal
2024-04-08  5:05 ` [PATCH 1/3] drm/i915/lspcon: Separate out function to get expected mode Ankit Nautiyal
2024-04-08  9:46   ` Jani Nikula
2024-04-08  5:05 ` [PATCH 2/3] drm/i915/lspcon: Separate out function to set pcon mode Ankit Nautiyal
2024-04-08  9:50   ` Jani Nikula
2024-04-08  5:05 ` [PATCH 3/3] drm/915/lspcon: Reduce dmesg errors during lspcon_init failure Ankit Nautiyal
2024-04-08  9:52   ` Jani Nikula
2024-04-10  3:05   ` [PATCH v2 " Ankit Nautiyal
2024-04-08  5:47 ` ✓ Fi.CI.BAT: success for Avoid unwanted lspcon init and probe warnings (rev2) Patchwork
2024-04-08  7:08 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-04-10  3:59 ` ✓ Fi.CI.BAT: success for Avoid unwanted lspcon init and probe warnings (rev3) Patchwork
2024-04-10 20:45 ` ✗ 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.