drm/i915/hdcp: move i915 specific HDCP GSC implementation to i915

The HDCP GSC implementation is different for both i915 and xe. Move the
i915 specific implementation from display to i915 core.

Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/d362b256934c6c739d9decda717df2dbc3752481.1764090990.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Jani Nikula
2025-11-25 19:17:43 +02:00
parent 40a9f77a28
commit 39a0091428
2 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,10 @@ i915-$(CONFIG_DEBUG_FS) += \
i915-$(CONFIG_PERF_EVENTS) += \
i915_pmu.o
# core display adaptation
i915-y += \
i915_hdcp_gsc.o
# "Graphics Technology" (aka we talk to the gpu)
gt-y += \
gt/gen2_engine_cs.o \
@@ -277,7 +281,6 @@ i915-y += \
display/intel_frontbuffer.o \
display/intel_global_state.o \
display/intel_hdcp.o \
display/intel_hdcp_gsc.o \
display/intel_hdcp_gsc_message.o \
display/intel_hotplug.o \
display/intel_hotplug_irq.o \

View File

@@ -6,11 +6,11 @@
#include <drm/drm_print.h>
#include <drm/intel/i915_hdcp_interface.h>
#include "display/intel_hdcp_gsc.h"
#include "gem/i915_gem_region.h"
#include "gt/intel_gt.h"
#include "gt/uc/intel_gsc_uc_heci_cmd_submit.h"
#include "i915_drv.h"
#include "intel_hdcp_gsc.h"
struct intel_hdcp_gsc_context {
struct drm_i915_private *i915;