OSDN Git Service

drm/hdcp: fix DRM_HDCP_2_KSV_COUNT_2_LSBITS
authorRamalingam C <ramalingam.c@intel.com>
Wed, 12 Feb 2020 10:29:39 +0000 (15:59 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 4 Mar 2020 01:05:07 +0000 (06:35 +0530)
commit05f3a6f5e478f622f548314471382df5b0f9dbf8
treec48f0f68648d63c585a39ab41f5b718e500e954f
parent79643fddd6eb2d4dec33ac6fb0c66399549fbe55
drm/hdcp: fix DRM_HDCP_2_KSV_COUNT_2_LSBITS

Need to extract the 2 most significant bits from a byte for constructing
the revoked KSV count of the SRM.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200212102942.26568-3-ramalingam.c@intel.com
include/drm/drm_hdcp.h