[igt-dev] [PATCH i-g-t] Add eDP support in Link Layer Compliance Tool

Manna, Animesh animesh.manna at intel.com
Fri Mar 27 12:09:28 UTC 2020


On 30-01-2020 21:55, Nidhi Gupta wrote:
> As Link Layer Compliance Tool for DP-PHY test
> automation only supports DP, so now added support
> for eDP as well.
>
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>

LGTM,
Reviewed-by: Animesh Manna <animesh.manna at intel.com>

> ---
>   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 5cc3d37..8a771bb 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;


More information about the igt-dev mailing list