Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [RFC PATCH 0/2] suppress the wrong long hotplug events
@ 2022-03-14 22:58 Vinod Govindapillai
  2022-03-14 22:58 ` [Intel-gfx] [RFC PATCH 1/2] drm/i915/display: Add disable wait time for power state connector Vinod Govindapillai
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Vinod Govindapillai @ 2022-03-14 22:58 UTC (permalink / raw)
  To: intel-gfx

Monitors like LG 27UL650-W, 27UK850 goes into power sleep state
and generates long duration hotplug events even when the monitor
is connected for display. Here is a proposal to detect and
suppress such hotplug events by "sleep" for 2 secs for power
state monitor become available before enable atomic commit.
A debugfs entry is created to enable the suppression of the
hotplug event in such scenarios.

Cc: Imre Deak <imre.deak@intel.com>

Mohammed Khajapasha (2):
  drm/i915/display: Add disable wait time for power state connector
  drm/i915/display: Add sleep for power state connector

 .../gpu/drm/i915/display/intel_connector.c    |  3 +
 drivers/gpu/drm/i915/display/intel_display.c  | 80 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_display.h  |  8 ++
 .../drm/i915/display/intel_display_debugfs.c  | 58 ++++++++++++++
 .../drm/i915/display/intel_display_debugfs.h  |  7 ++
 .../drm/i915/display/intel_display_types.h    |  2 +
 drivers/gpu/drm/i915/i915_drv.h               |  2 +
 7 files changed, 160 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2022-03-16  8:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 22:58 [Intel-gfx] [RFC PATCH 0/2] suppress the wrong long hotplug events Vinod Govindapillai
2022-03-14 22:58 ` [Intel-gfx] [RFC PATCH 1/2] drm/i915/display: Add disable wait time for power state connector Vinod Govindapillai
2022-03-16  8:23   ` Jani Nikula
2022-03-14 22:58 ` [Intel-gfx] [RFC PATCH 2/2] drm/i915/display: Add sleep " Vinod Govindapillai
2022-03-16  8:28   ` Jani Nikula
2022-03-15  1:09 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for suppress the wrong long hotplug events Patchwork
2022-03-16  8:12 ` [Intel-gfx] [RFC PATCH 0/2] " Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox