This patch series contains some refactors for i915 side of things which will help with a cleaner code and maximum reuse of code for XE going forward. Signed-off-by: Suraj Kandpal <suraj.kandpal@xxxxxxxxx> Suraj Kandpal (2): drm/i915/hdcp: Move checks for gsc health status drm/i915/hdcp: Move common message filling function to its own file drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_hdcp.c | 8 +- drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 617 +----------------- drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 1 + .../drm/i915/display/intel_hdcp_gsc_message.c | 592 +++++++++++++++++ .../drm/i915/display/intel_hdcp_gsc_message.h | 72 ++ 6 files changed, 692 insertions(+), 599 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.c create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h -- 2.25.1