From db19bccc1c220884baf2136e41683a3c2ba6aa24 Mon Sep 17 00:00:00 2001 From: Manasi Navare Date: Thu, 20 Dec 2018 11:10:46 -0800 Subject: test/kms_dp_dsc: Basic KMS test to validate VESA DSC on DP/eDP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) v5: * Fix test cleanup to avoid crash (Petri) v4: * 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) v3: * Use array of connectors and loop through (Petri) * Also check for FEC on DP connectors (Manasi) * Add a Pipe_A restriction on DP (Ville) v2: * Use IGT wrappers for all (DK, Antonio) * Split into two subtests for eDP and DP types (Petri) Cc: Petri Latvala Cc: Antonio Argenziano Cc: Dhinakaran Pandiyan Cc: Ville Syrjälä Cc: Anusha Srivatsa Signed-off-by: Anusha Srivatsa Signed-off-by: Manasi Navare Reviewed-by: Petri Latvala --- tests/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/meson.build') diff --git a/tests/meson.build b/tests/meson.build index b8a6e61b..e14ab2b4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -25,6 +25,7 @@ test_progs = [ 'kms_crtc_background_color', 'kms_cursor_crc', 'kms_cursor_legacy', + 'kms_dp_dsc', 'kms_draw_crc', 'kms_fbcon_fbt', 'kms_fence_pin_leak', -- cgit v1.2.3