OSDN Git Service

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)
commit79643fddd6eb2d4dec33ac6fb0c66399549fbe55
treee40b788f781d9766719f7bbb10f748c99419fbeb
parent451787d3e2ac3a25abae91792b7154ee533b65c6
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