]> Git Repo - linux.git/commitdiff
drm/i915/hdcp: Assign correct hdcp content type
authorSuraj Kandpal <[email protected]>
Thu, 22 Jun 2023 08:32:53 +0000 (14:02 +0530)
committerTvrtko Ursulin <[email protected]>
Mon, 26 Jun 2023 08:17:53 +0000 (09:17 +0100)
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 <[email protected]>
Cc: Ankit Nautiyal <[email protected]>
Cc: Animesh Manna <[email protected]>
Signed-off-by: Suraj Kandpal <[email protected]>
Reviewed-by: Ankit Nautiyal <[email protected]>
Signed-off-by: Ankit Nautiyal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 86a124424efce353778c4fab355e185e4781b63e)
Signed-off-by: Tvrtko Ursulin <[email protected]>
drivers/gpu/drm/i915/display/intel_hdcp.c

index 5ed450111f77c4387503351ed2c3a79f071937b0..34fabadefaf66991e50b2ddb507fd9cd62a497ce 100644 (file)
@@ -2358,7 +2358,7 @@ int intel_hdcp_enable(struct intel_atomic_state *state,
        mutex_lock(&dig_port->hdcp_mutex);
        drm_WARN_ON(&i915->drm,
                    hdcp->value == DRM_MODE_CONTENT_PROTECTION_ENABLED);
-       hdcp->content_type = (u8)conn_state->content_type;
+       hdcp->content_type = (u8)conn_state->hdcp_content_type;
 
        if (intel_crtc_has_type(pipe_config, INTEL_OUTPUT_DP_MST)) {
                hdcp->cpu_transcoder = pipe_config->mst_master_transcoder;
This page took 0.065552 seconds and 4 git commands to generate.