Commit c3fbdabd authored by Suraj Kandpal's avatar Suraj Kandpal Committed by Mika Kahola

drm/i915/hdcp: Move intel_hdcp_gsc_message def away from header file

Move intel_hdcp_gsc_message definition into intel_hdcp_gsc.c
so that intel_hdcp_gsc_message can be redefined for xe as needed.

--v2
-Correct commit message to reflect what patch is actually doing [Arun]
Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: default avatarArun R Murthy <arun.r.murthy@intel.com>
Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarMika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240306024741.1858039-2-suraj.kandpal@intel.com
parent 27ee413b
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
#include "intel_hdcp_gsc.h" #include "intel_hdcp_gsc.h"
#include "intel_hdcp_gsc_message.h" #include "intel_hdcp_gsc_message.h"
struct intel_hdcp_gsc_message {
struct i915_vma *vma;
void *hdcp_cmd_in;
void *hdcp_cmd_out;
};
bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915) bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915)
{ {
return DISPLAY_VER(i915) >= 14; return DISPLAY_VER(i915) >= 14;
......
...@@ -10,12 +10,7 @@ ...@@ -10,12 +10,7 @@
#include <linux/types.h> #include <linux/types.h>
struct drm_i915_private; struct drm_i915_private;
struct intel_hdcp_gsc_message;
struct intel_hdcp_gsc_message {
struct i915_vma *vma;
void *hdcp_cmd_in;
void *hdcp_cmd_out;
};
bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915); bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915);
ssize_t intel_hdcp_gsc_msg_send(struct drm_i915_private *i915, u8 *msg_in, ssize_t intel_hdcp_gsc_msg_send(struct drm_i915_private *i915, u8 *msg_in,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment