[Intel-gfx] [RFC v1 08/20] drm/hdcp: Add KBuild for DRM HDCP support

Ramalingam C ramalingam.c at intel.com
Wed Jul 12 08:28:52 UTC 2017


New config variable CONFIG_DRM_HDCP is added.

Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
---
 drivers/gpu/drm/Kconfig  | 12 ++++++++++++
 drivers/gpu/drm/Makefile |  1 +
 2 files changed, 13 insertions(+)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 83cb2a8..94501ec 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -26,6 +26,18 @@ config DRM_MIPI_DSI
 	bool
 	depends on DRM
 
+config DRM_HDCP
+	bool "Generic HDCP Support on DRM"
+	depends on DRM
+	help
+	  DRM support for HDCP Protection. This can be extended for
+	  multiple version of HDCP in parallel and also for many
+	  HDCP adaptations also.
+		HDCP Versions supported
+			HDCP2.2
+		HDCP Adaptations supported
+			HDMI
+
 config DRM_DP_AUX_CHARDEV
 	bool "DRM DP AUX Interface"
 	depends on DRM
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index 24a066e..4e0af1f 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -19,6 +19,7 @@ drm-y       :=	drm_auth.o drm_bufs.o drm_cache.o \
 		drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
 		drm_syncobj.o
 
+drm-$(CONFIG_DRM_HDCP) += drm_hdcp.o
 drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o
 drm-$(CONFIG_DRM_VM) += drm_vm.o
 drm-$(CONFIG_COMPAT) += drm_ioc32.o
-- 
2.7.4



More information about the Intel-gfx mailing list