mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
Define intel_hdcp_gsc_check_status in Xe to account for changes in i915 and Xe. intel_hdcp_check_status always returns false as gsc cs interface is not yet ported. intel_hdcp_gsc_cs_required always returns true as going forward gsc cs will always be required by upcoming platforms --v5 -Define intel_hdcp_gsc_cs_required() --v6 -Explain reasons for the return values [Chaitanya] Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
35 lines
650 B
C
35 lines
650 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright 2023, Intel Corporation.
|
|
*/
|
|
|
|
#include "i915_drv.h"
|
|
#include "intel_hdcp_gsc.h"
|
|
|
|
bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool intel_hdcp_gsc_check_status(struct drm_i915_private *i915)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
int intel_hdcp_gsc_init(struct drm_i915_private *i915)
|
|
{
|
|
drm_info(&i915->drm, "HDCP support not yet implemented\n");
|
|
return -ENODEV;
|
|
}
|
|
|
|
void intel_hdcp_gsc_fini(struct drm_i915_private *i915)
|
|
{
|
|
}
|
|
|
|
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)
|
|
{
|
|
return -ENODEV;
|
|
}
|