1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6 #ifndef __INTEL_HDCP_GSC_H__ 7 #define __INTEL_HDCP_GSC_H__ 8 9 #include <linux/err.h> 10 #include <linux/types.h> 11 12 struct drm_i915_private; 13 struct intel_display; 14 struct intel_hdcp_gsc_message; 15 16 bool intel_hdcp_gsc_cs_required(struct intel_display *display); 17 ssize_t intel_hdcp_gsc_msg_send(struct drm_i915_private *i915, u8 *msg_in, 18 size_t msg_in_len, u8 *msg_out, 19 size_t msg_out_len); 20 int intel_hdcp_gsc_init(struct intel_display *display); 21 void intel_hdcp_gsc_fini(struct intel_display *display); 22 bool intel_hdcp_gsc_check_status(struct intel_display *display); 23 24 #endif /* __INTEL_HDCP_GCS_H__ */ 25