drm/i915/hdcp: Assign correct hdcp content type
authorSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 22 Jun 2023 08:32:53 +0000 (14:02 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Jun 2023 05:14:11 +0000 (10:44 +0530)
commit86a124424efce353778c4fab355e185e4781b63e
tree1f460a3a783b3c56803950ce9b38d7fe1d906fd0
parentef0af9db2a21257885116949f471fe5565b2f0ab
drm/i915/hdcp: Assign correct hdcp content type

Currently hdcp->content_type is being assigned the content_type field
in drm_connector_state which is wrong and instead it needs to be
assigned hdcp_content_type field from drm_connector_state

Fixes: 4c4279a8d58d ("drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function")
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230622083254.2057102-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c