diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2020-02-12 15:59:38 +0530 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2020-03-04 06:33:00 +0530 |
commit | 79643fddd6eb2d4dec33ac6fb0c66399549fbe55 (patch) | |
tree | e40b788f781d9766719f7bbb10f748c99419fbeb /include/drm/drm_hdcp.h | |
parent | 451787d3e2ac3a25abae91792b7154ee533b65c6 (diff) |
drm/hdcp: optimizing the srm handling
As we are not using the sysfs infrastructure anymore, link to it is
removed. And global srm data and mutex to protect it are removed,
with required handling at revocation check function.
v2:
srm_data is dropped and few more comments are addressed.
v3:
ptr passing around is fixed with functional testing.
v4:
fix htmldoc [lkp]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Suggested-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20200212102942.26568-2-ramalingam.c@intel.com
Diffstat (limited to 'include/drm/drm_hdcp.h')
-rw-r--r-- | include/drm/drm_hdcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_hdcp.h b/include/drm/drm_hdcp.h index 06a11202a097..d512089b873f 100644 --- a/include/drm/drm_hdcp.h +++ b/include/drm/drm_hdcp.h @@ -288,8 +288,8 @@ struct hdcp_srm_header { struct drm_device; struct drm_connector; -bool drm_hdcp_check_ksvs_revoked(struct drm_device *dev, - u8 *ksvs, u32 ksv_count); +int drm_hdcp_check_ksvs_revoked(struct drm_device *dev, + u8 *ksvs, u32 ksv_count); int drm_connector_attach_content_protection_property( struct drm_connector *connector, bool hdcp_content_type); void drm_hdcp_update_content_protection(struct drm_connector *connector, |