• Manasi Navare's avatar
    tools: Add intel_dp_compliance for DisplayPort 1.2 compliance automation · 9f336975
    Manasi Navare authored
    This is the userspace component of the Displayport Compliance
    testing software required for compliance testing of the I915
    Display Port driver. This must be running in order to successfully
    complete Display Port compliance testing. This app and the kernel
    code that accompanies it has been written to satify the requirements
    of the Displayport Link CTS 1.2 rev1.1 specification from VESA.
    Note that this application does not support eDP compliance testing.
    This utility has an automation support for the Link training tests
    (4.3.1.1. - 4.3.2.3), EDID tests (4.2.2.3
    - 4.2.2.6) and Video Pattern generation tests (4.3.3.1) from CTS
    specification 1.2 Rev 1.1.
    
    This tool has the support for responding to the hotplug uevents
    sent by compliance testting unit after each test.
    
    The Linux DUT running this utility must be in text (console) mode
    and cannot have any other display manager running. Since this uses
    sysfs nodes for kernel interaction, this utility should be run as
    Root. Once this user application is up and running, waiting for
    test requests, the test appliance software on the windows host
    can now be used to execute the compliance tests.
    
    This app is based on some prior work done in April 2015 (by
    Todd Previte <tprevite@gmail.com>)
    
    v2:
    * Add mode unset on hotplug uevent on disconnect (Manasi Navare)
    
    v3:
    Made capitalization consistent
    Reduced line lengths
    Added return value checks
    Changed how GLib is linked
    Fixed build warnings
    
    v4:
    * Conditionally build this tool if UDEV is present (Petri Latvala)
    * igt_warn and info cleanup to remove \r
    * Add intel_dp_compliance to tools/.gitignore
    * Change the year in copyright statements to current (Petri Latvala)
    
    Cc: Petri Latvala <petri.latvala@intel.com>
    Cc: Marius Vlad <marius.c.vlad@intel.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: Manasi Navare's avatarManasi Navare <manasi.d.navare@intel.com>
    Signed-off-by: Dhinakaran Pandiyan's avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
    Reviewed-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
    9f336975
intel_dp_compliance_hotplug.c 3.23 KB