drm_hdcp_helper.h 577 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: MIT */
  2. /*
  3. * Copyright (C) 2017 Google, Inc.
  4. *
  5. * Authors:
  6. * Sean Paul <[email protected]>
  7. */
  8. #ifndef _DRM_HDCP_HELPER_H_INCLUDED_
  9. #define _DRM_HDCP_HELPER_H_INCLUDED_
  10. #include <drm/display/drm_hdcp.h>
  11. struct drm_device;
  12. struct drm_connector;
  13. int drm_hdcp_check_ksvs_revoked(struct drm_device *dev, u8 *ksvs, u32 ksv_count);
  14. int drm_connector_attach_content_protection_property(struct drm_connector *connector,
  15. bool hdcp_content_type);
  16. void drm_hdcp_update_content_protection(struct drm_connector *connector, u64 val);
  17. #endif