public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "Shrivastava, Shubhangi" <shubhangi.shrivastava@intel.com>
Cc: "Vetter, Daniel" <daniel.vetter@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/i915: force link training when requested by Sink
Date: Tue, 17 Nov 2015 16:11:30 +0100	[thread overview]
Message-ID: <20151117151130.GD16848@phenom.ffwll.local> (raw)
In-Reply-To: <B9E6BA090016E748A0B4047CFFA99C320864936B@BGSMSX101.gar.corp.intel.com>

On Tue, Nov 17, 2015 at 09:12:58AM +0000, Shrivastava, Shubhangi wrote:
> Hi Daniel,
> 
> Is something else required for this patch series (2 patches) to be merged?

Me coming back from vacation ;-) Both patches applied to dinq.

Aside: The test request tracking seems a bit too much ad-hoc. But I guess
we can only clean that up once the entire hpd handling mess is sorted out.
-Daniel

> 
> Thanks and Regards,
> Shubhangi Shrivastava.
> 
> -----Original Message-----
> From: Jindal, Sonika 
> Sent: Thursday, November 5, 2015 10:36 AM
> To: Shrivastava, Shubhangi <shubhangi.shrivastava@intel.com>; intel-gfx@lists.freedesktop.org
> Cc: Shrivastava, Shubhangi <shubhangi.shrivastava@intel.com>
> Subject: RE: [Intel-gfx] [PATCH 2/2] drm/i915: force link training when requested by Sink
> 
> Looks good to me.
> Reviewed-by: Sonika Jindal <sonika.jindal@intel.com
> 
> -----Original Message-----
> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of Shubhangi Shrivastava
> Sent: Wednesday, October 14, 2015 2:57 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Shrivastava, Shubhangi
> Subject: [Intel-gfx] [PATCH 2/2] drm/i915: force link training when requested by Sink
> 
> Compliance test 4.3.1.11 requires source to perform link training always if the automated test requests for it. This patch enforces this requirement.
> 
> Signed-off-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
> Signed-off-by: Shubhangi Shrivastava <shubhangi.shrivastava@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_dp.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 7bc75ef..3c7fc58 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -4466,7 +4466,9 @@ intel_dp_check_link_status(struct intel_dp *intel_dp)
>  			DRM_DEBUG_DRIVER("CP or sink specific irq unhandled\n");
>  	}
>  
> -	if (!drm_dp_channel_eq_ok(link_status, intel_dp->lane_count)) {
> +	/* if link training is requested we should perform it always */
> +	if ((intel_dp->compliance_test_type == DP_TEST_LINK_TRAINING) ||
> +		(!drm_dp_channel_eq_ok(link_status, intel_dp->lane_count))) {
>  		DRM_DEBUG_KMS("%s: channel EQ not ok, retraining\n",
>  			      intel_encoder->base.name);
>  		intel_dp_start_link_train(intel_dp);
> --
> 2.6.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-11-17 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14  9:26 [PATCH 0/2] Enforcing link training as per compliance test requirement Shubhangi Shrivastava
2015-10-14  9:26 ` [PATCH 1/2] drm/i915: Cleanup test data during long/short hotplug Shubhangi Shrivastava
2015-10-28  5:27   ` Jindal, Sonika
2015-10-28 10:00     ` [PATCH] " Shubhangi Shrivastava
2015-11-05  5:04       ` Jindal, Sonika
2015-10-14  9:26 ` [PATCH 2/2] drm/i915: force link training when requested by Sink Shubhangi Shrivastava
2015-11-05  5:06   ` Jindal, Sonika
2015-11-17  9:12     ` Shrivastava, Shubhangi
2015-11-17 15:11       ` Daniel Vetter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151117151130.GD16848@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=shubhangi.shrivastava@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox