Skip to content
  • Ramalingam C's avatar
    kms_content_protection: Test CP along with modeset · d4c40ff0
    Ramalingam C authored
    
    
    As we have two different patch for commitng the HDCP request
    	1. DDI_enable (during the modeset)
    	2. update_pipe (during fastset execution)
    
    Currently our kms_content_protection covers only fastset path.
    So this test adds the coverage for the HDCP during the modeset by
    performing DPMS off-on and check for HDCP status.
    
    But with respect to HDCP we allow few retries from userspace before
    reporting the failure. So only first attempt at kernel will be on
    modeset path, next retries will become fastset commiting of HDCP.
    
    v2:
      dpms test is added within existing implementation with a flag [Daniel]
    v3:
      ret declared.
    
    Signed-off-by: default avatarRamalingam C <ramalingam.c@intel.com>
    Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    d4c40ff0