drm/i915/hdcp: move update pipe code to hdcp
authorJani Nikula <jani.nikula@intel.com>
Tue, 28 Jan 2020 16:38:03 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Feb 2020 09:08:28 +0000 (11:08 +0200)
commit5758e073845845110d7545a98cb1c76f59b15a0d
tree31a5032df2880d387adb9f94beca14f94c1e3cb6
parent816cc4d6c693a68523e4afcbe419aac8af05b1d7
drm/i915/hdcp: move update pipe code to hdcp

The DDI encoder code shouln't have to know about the guts of
HDCP. Abstract the pipe update code to a new intel_hdcp_update_pipe() in
intel_hdcp.c. No functional changes.

Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200128163803.5954-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_hdcp.c
drivers/gpu/drm/i915/display/intel_hdcp.h