Message ID | 1309558978-4704-9-git-send-email-jbarnes@virtuousgeek.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 1 Jul 2011 15:22:58 -0700, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > When link training or detection fails, set the receiver_configured flag > to false to reflect the current state. I think this should get merged with the other two patches affecting this logic.
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index ac6334d..e3dd40f 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1383,6 +1383,7 @@ intel_dp_complete_link_train(struct intel_dp *intel_dp) if (cr_tries > 5) { DRM_ERROR("failed to train DP, aborting\n"); intel_dp_link_down(intel_dp); + intel_dp->receiver_configured = false; break; } @@ -1556,6 +1557,7 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) out_gone: DRM_DEBUG_DRIVER("sink gone, clearing crtc for DP\n"); intel_dp->base.base.crtc = NULL; + intel_dp->receiver_configured = false; } static enum drm_connector_status
When link training or detection fails, set the receiver_configured flag to false to reflect the current state. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> --- drivers/gpu/drm/i915/intel_dp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)