[igt-dev] [PATCH v2] Add eDP support in Link Layer Compliance Tool

Ramalingam C ramalingam.c at intel.com
Fri Apr 17 07:39:26 UTC 2020


On 2020-04-16 at 13:33:39 +0530, Nidhi Gupta wrote:
> Adding eDP support for Link Layer Compliance tool
> of DP-PHY test automation. Current Implementation
> of this compliance tool can be used for dp and eDP
> both. Hence extending to eDP too.
> 
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
> Reviewed-by: Animesh Manna <animesh.manna at intel.com>

Thanks for the patch and review. Merged the patch.

-Ram.

> ---
>  tools/intel_dp_compliance.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/intel_dp_compliance.c b/tools/intel_dp_compliance.c
> index 2d42cb1..f26108b 100644
> --- a/tools/intel_dp_compliance.c
> +++ b/tools/intel_dp_compliance.c
> @@ -849,7 +849,8 @@ int update_display(int mode, bool is_compliance_test)
>  		conn = &connectors[cnt];
>  		conn->id = resources->connectors[cnt];
>  		c = drmModeGetConnector(drm_fd, conn->id);
> -		if (c->connector_type == DRM_MODE_CONNECTOR_DisplayPort &&
> +		if ((c->connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
> +		    c->connector_type == DRM_MODE_CONNECTOR_eDP) &&
>  		    c->connection == DRM_MODE_CONNECTED) {
>  			test_connector_id = c->connector_id;
>  			conn->connector = c;
> -- 
> 2.7.4
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


More information about the igt-dev mailing list