Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29bc4122 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dp: skip HDCP version checks for simulation mode



Skip HDCP version checks for simulation mode since HDCP is not
supported in this mode.

Change-Id: Ib8f66b439417ef16cc414ece77f1e6785855aff5
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent b8e4498c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -222,6 +222,11 @@ static void dp_display_update_hdcp_info(struct dp_display_private *dp)
		return;
	}

	if (dp->debug->sim_mode) {
		pr_debug("skip HDCP version checks for simulation mode\n");
		return;
	}

	fd = dp->hdcp.hdcp2;
	if (fd)
		ops = sde_dp_hdcp2p2_start(fd);