]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hdcp: optimizing the srm handling
authorRamalingam C <ramalingam.c@intel.com>
Wed, 12 Feb 2020 10:29:38 +0000 (15:59 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 4 Mar 2020 01:03:00 +0000 (06:33 +0530)
commitf80b9f3b1a5a48b9a9353de2ae345b316aa11730
treee40b788f781d9766719f7bbb10f748c99419fbeb
parentb61344a434ba57abeefa5e9ac8eb8dc525b58c2f
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
drivers/gpu/drm/drm_hdcp.c
drivers/gpu/drm/drm_internal.h
drivers/gpu/drm/drm_sysfs.c
include/drm/drm_hdcp.h