From 7889b6a86c22878a27344b39a818cf7a42f57895 Mon Sep 17 00:00:00 2001 From: Ramalingam C Date: Mon, 22 Oct 2018 22:35:40 +0530 Subject: kms_content_protection: Add Content Protection test Pretty simple test: - picks the hdcp capable output with suitable pipe and apply modeset. - checks the connected sink's hdcp capability through debugfs - apply a FB and wait for the flip completion. - clears the content protection property - verifies that it clears - sets the content protection property to desired - verifies that it transitions to enabled - incase of timeout three reattempts are implemented - clear the content protection property and modeset on the crtc Above steps are repeated on all HDCP capable connectors for both legacy and atomic subtests. v2: dynamic subtests are dropped [Daniel] v3: debugfs is used to detect the sink's hdcp capability [Daniel] data structure is made as global variable. v4: debugfs file from connector's debugfs dir is used [Daniel] v5: i915_debugfs_connector_dir() usage is modified [Chris] Signed-off-by: Sean Paul Signed-off-by: Ramalingam C Reviewed-by: Daniel Vetter Signed-off-by: Daniel Vetter --- tests/Makefile.sources | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Makefile.sources') diff --git a/tests/Makefile.sources b/tests/Makefile.sources index d53822fd..c910210b 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -50,6 +50,7 @@ TESTS_progs = \ kms_chv_cursor_fail \ kms_color \ kms_concurrent \ + kms_content_protection\ kms_crtc_background_color \ kms_cursor_crc \ kms_cursor_legacy \ -- cgit v1.2.3