]> 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)
commitd8eb7f5130b25fb0e78b9ded3544afd61c5d4d7f
treee40b788f781d9766719f7bbb10f748c99419fbeb
parentadd0edc6781d34f663f44a8b0cadb077d6e38c5e
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