All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 RESEND 0/5] Move workarounds from intel_dp_dpcd_read_wake() into drm's DP helpers
@ 2016-03-28 14:33 ` Lyude
  0 siblings, 0 replies; 43+ messages in thread
From: Lyude @ 2016-03-28 14:33 UTC (permalink / raw)
  To: intel-gfx, dri-devel
  Cc: arthur.j.runyan, Ville Syrjälä,
	Jani Nikula, Lyude, David Airlie, open list, Daniel Vetter

Resending this because it looks like replying to my previous series of patches
causes patchwork to pick up patches from the original version of this and
try to apply them along with this one.

This series of patches takes all of the workarounds we used in
intel_dp_dpcd_read_wake() for working around misbehaving sinks into drm's DP
aux transaction helpers, so that they can be applied to all aux transactions
across each driver. While this patch series was intended to fix issues with the
ThinkPad T560 not bringing displays connected to it's dock back up properly
after suspend, this should fix a lot of other various DP issues by ensuring
that we retry transactions appropriately in every possible failure scenario.

				Changes since v3
- Split the patch that moves the logic out of intel_dp_dpcd_read_wake() into
  multiple patches for each workaround that we apply, so that bisecting this
  change isn't difficult in the event that this breaks something

- Made sure that drm_dp_dpcd_read() only returns the error it encountered during
  the first attempted aux transaction, since the error that following retries
  encounter might be different from the original

				Changes since v2
- Reworked the patch again to incorporate all of the behavior of
  intel_dp_dpcd_read_wake() into drm_dp_dpcd_read() and drm_dp_dpcd_access()

				Changes since v1
- Patch has been reworked to take the retry logic out of intel_dp_mst_resume()
  and into drm_dp_dpcd_access(), based off a suggestion from Daniel Vetter

- Commit message is much longer and gives a better description of the
  issue this was originally intended to workaround.

Lyude (5):
  drm/dp_helper: Increase retry interval to 1000us
  drm/dp_helper: Always wait before retrying native aux transactions
  drm/dp_helper: Retry aux transactions on all errors
  drm/dp_helper: Perform throw-away read before actual read in
    drm_dp_dpcd_read()
  drm/i915: Get rid of intel_dp_dpcd_read_wake()

 drivers/gpu/drm/drm_dp_helper.c | 55 ++++++++++++++++------------
 drivers/gpu/drm/i915/intel_dp.c | 79 ++++++++++++-----------------------------
 2 files changed, 54 insertions(+), 80 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2016-04-22 16:54 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28 14:33 [PATCH v4 RESEND 0/5] Move workarounds from intel_dp_dpcd_read_wake() into drm's DP helpers Lyude
2016-03-28 14:33 ` Lyude
2016-03-28 14:31 ` ✗ Fi.CI.BAT: failure for " Patchwork
2016-03-28 14:33 ` [PATCH v4 RESEND 1/5] drm/dp_helper: Increase retry interval to 1000us Lyude
2016-03-28 14:33   ` Lyude
2016-03-29  8:27   ` Daniel Vetter
2016-03-29  8:27     ` Daniel Vetter
2016-03-29 14:05     ` Lyude Paul
2016-03-28 14:33 ` [PATCH v4 RESEND 2/5] drm/dp_helper: Always wait before retrying native aux transactions Lyude
2016-03-28 14:33   ` Lyude
2016-03-28 14:33 ` [PATCH v4 RESEND 3/5] drm/dp_helper: Retry aux transactions on all errors Lyude
2016-03-28 14:33   ` Lyude
2016-03-28 14:33 ` [PATCH v4 RESEND 4/5] drm/dp_helper: Perform throw-away read before actual read in drm_dp_dpcd_read() Lyude
2016-03-28 14:33   ` Lyude
2016-03-29 20:43   ` [PATCH v5 " Lyude
2016-03-29 20:43     ` Lyude
2016-03-28 14:33 ` [PATCH v4 RESEND 5/5] drm/i915: Get rid of intel_dp_dpcd_read_wake() Lyude
2016-03-28 14:33   ` Lyude
2016-03-30 14:26   ` Jani Nikula
2016-03-30 14:26     ` Jani Nikula
2016-04-12 10:17 ` [PATCH v4 RESEND 0/5] Move workarounds from intel_dp_dpcd_read_wake() into drm's DP helpers Jani Nikula
2016-04-12 10:17   ` Jani Nikula
2016-04-12 15:59   ` Lyude
2016-04-12 15:59     ` Lyude
2016-04-13 14:58   ` [PATCH v5 0/4] " Lyude
2016-04-13 14:58     ` Lyude
2016-04-13 14:58     ` [PATCH v5 1/4] drm/dp_helper: Always wait before retrying native aux transactions Lyude
2016-04-13 14:58       ` Lyude
2016-04-13 14:58     ` [PATCH v5 2/4] drm/dp_helper: Retry aux transactions on all errors Lyude
2016-04-13 14:58       ` Lyude
2016-04-13 14:58     ` [PATCH v5 3/4] drm/dp_helper: Perform throw-away read before actual read in drm_dp_dpcd_read() Lyude
2016-04-13 14:58       ` Lyude
2016-04-14 17:01       ` Ville Syrjälä
2016-04-14 17:01         ` Ville Syrjälä
2016-04-15 14:25         ` [PATCH v6 " Lyude
2016-04-15 14:25           ` Lyude
2016-04-15 14:31           ` Ville Syrjälä
2016-04-15 14:31             ` Ville Syrjälä
2016-04-13 14:58     ` [PATCH v5 4/4] drm/i915: Get rid of intel_dp_dpcd_read_wake() Lyude
2016-04-13 14:58       ` Lyude
2016-04-22 16:54       ` Daniel Vetter
2016-04-22 16:54         ` Daniel Vetter
2016-04-14 10:58   ` ✗ Fi.CI.BAT: failure for series starting with [v5,1/4] drm/dp_helper: Always wait before retrying native aux transactions 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.