xref: /linux/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c (revision 119ff04864a24470b1e531bb53e5c141aa8fefb0)
1 // SPDX-License-Identifier: MIT
2 /*
3  * Copyright 2023, Intel Corporation.
4  */
5 
6 #include "i915_drv.h"
7 #include "intel_hdcp_gsc.h"
8 
9 bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915)
10 {
11 	return true;
12 }
13 
14 bool intel_hdcp_gsc_check_status(struct drm_i915_private *i915)
15 {
16 	return false;
17 }
18 
19 int intel_hdcp_gsc_init(struct drm_i915_private *i915)
20 {
21 	drm_info(&i915->drm, "HDCP support not yet implemented\n");
22 	return -ENODEV;
23 }
24 
25 void intel_hdcp_gsc_fini(struct drm_i915_private *i915)
26 {
27 }
28 
29 ssize_t intel_hdcp_gsc_msg_send(struct drm_i915_private *i915, u8 *msg_in,
30 				size_t msg_in_len, u8 *msg_out,
31 				size_t msg_out_len)
32 {
33 	return -ENODEV;
34 }
35