diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2020-02-12 11:29:38 +0100 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2020-03-04 02:03:00 +0100 |
commit | 79643fddd6eb2d4dec33ac6fb0c66399549fbe55 (patch) | |
tree | e40b788f781d9766719f7bbb10f748c99419fbeb /drivers/gpu/drm/drm_sysfs.c | |
parent | video: Replace zero-length array with flexible-array member (diff) | |
download | linux-79643fddd6eb2d4dec33ac6fb0c66399549fbe55.tar.xz linux-79643fddd6eb2d4dec33ac6fb0c66399549fbe55.zip |
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 'drivers/gpu/drm/drm_sysfs.c')
-rw-r--r-- | drivers/gpu/drm/drm_sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index dd2bc85f43cc..2e83c3d72af9 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -85,7 +85,6 @@ int drm_sysfs_init(void) } drm_class->devnode = drm_devnode; - drm_setup_hdcp_srm(drm_class); return 0; } @@ -98,7 +97,6 @@ void drm_sysfs_destroy(void) { if (IS_ERR_OR_NULL(drm_class)) return; - drm_teardown_hdcp_srm(drm_class); class_remove_file(drm_class, &class_attr_version.attr); class_destroy(drm_class); drm_class = NULL; |