diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2018-10-22 22:35:40 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-10-25 08:33:45 +0200 |
commit | 7889b6a86c22878a27344b39a818cf7a42f57895 (patch) | |
tree | 009d13f5390e5ce7b3b1a3fb736a2ce0a255c28c /tests/kms_concurrent.c | |
parent | 1fb01097011e39b6a1289bb689b6adde30dbf801 (diff) |
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 <seanpaul@chromium.org>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_concurrent.c')
0 files changed, 0 insertions, 0 deletions