mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

Use intel_display structure instead of drm_i915_private wherever possible in hdcp_gsc related files. --v2 -make intel_hdcp_gsc_hdcp2_init accept intel_display [Jani] Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240911090540.643155-3-suraj.kandpal@intel.com
25 lines
682 B
C
25 lines
682 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_HDCP_GSC_H__
|
|
#define __INTEL_HDCP_GSC_H__
|
|
|
|
#include <linux/err.h>
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
struct intel_display;
|
|
struct intel_hdcp_gsc_message;
|
|
|
|
bool intel_hdcp_gsc_cs_required(struct intel_display *display);
|
|
ssize_t intel_hdcp_gsc_msg_send(struct drm_i915_private *i915, u8 *msg_in,
|
|
size_t msg_in_len, u8 *msg_out,
|
|
size_t msg_out_len);
|
|
int intel_hdcp_gsc_init(struct intel_display *display);
|
|
void intel_hdcp_gsc_fini(struct intel_display *display);
|
|
bool intel_hdcp_gsc_check_status(struct intel_display *display);
|
|
|
|
#endif /* __INTEL_HDCP_GCS_H__ */
|