• Manasi Navare's avatar
    test/kms_dp_dsc: Basic KMS test to validate VESA DSC on DP/eDP · db19bccc
    Manasi Navare authored
    This patch adds a basic kms test to validate the display stream
    compression functionality if supported on DP/eDP connector.
    Currently this has only two subtests to force the DSC on all
    the eDP and DP connectors that support it with default parameters.
    This will be expanded to add more subtests to tweak DSC parameters.
    v8 (from Manasi):
    * Fix the logic to scan through all connectors even if some dont
    support DSC/FEC (Petri)
    * Fix the skip test logic if no connectors support DSC to avoid
    false positives (Petri)
    * Move test clenup to run_test
    v7: (from Anusha)
    * Code Style changes.(Petri)
    * Use for_each_pipe() instead of for_each_pipe_static().(Petri)
    * Correct logic by avoiding skipping of inner for loop completely.(Petri)
    v6: (from Anusha)
    * Fix run_test() (Petri)
    * Fix update_display() to avoid leaks. (Petri)
    * Fix test cleanup to avoid crash (Petri)
    * Future proof for more test types (Petri)
    * Fix alphabetical order (Petri)
    * s/igt_display_init/igt_display_require (Petri)
    * Remove blank lines after return (Petri)
    * Use array of connectors and loop through (Petri)
    * Also check for FEC on DP connectors (Manasi)
    * Add a Pipe_A restriction on DP (Ville)
    * Use IGT wrappers for all (DK, Antonio)
    * Split into two subtests for eDP and DP types (Petri)
    Cc: Petri Latvala <petri.latvala@intel.com>
    Cc: Antonio Argenziano <antonio.argenziano@intel.com>
    Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Anusha Srivatsa's avatarAnusha Srivatsa <anusha.srivatsa@intel.com>
    Signed-off-by: Manasi Navare's avatarManasi Navare <manasi.d.navare@intel.com>
    Reviewed-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
kms_dp_dsc.c 7.36 KB