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

Commit 85e5cecb authored by Abhinav Kumar's avatar Abhinav Kumar Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: make sde hdcp 1x module use the new hdcp lib APIs



All sysfs nodes have been moved to the misc hdcp driver.
Make the sde hdcp 1x module interact with the misc hdcp
driver to keep the functionality of repeater topology
intact as its used by wi-fi display userspace module.

Change-Id: Iecf404330695369c17e4afeff864eb6d7b92e372
Signed-off-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
parent bd23536b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1216,18 +1216,19 @@ static void sde_hdcp_1x_cache_topology(struct sde_hdcp_1x *hdcp)
	memcpy((void *)&hdcp->cached_tp,
		(void *) &hdcp->current_tp,
		sizeof(hdcp->cached_tp));
	hdcp1_cache_repeater_topology((void *)&hdcp->cached_tp);
}

static void sde_hdcp_1x_notify_topology(struct sde_hdcp_1x *hdcp)
static void sde_hdcp_1x_notify_topology(void)
{
	/* TO DO : something here for HDCP 1x*/
	hdcp1_notify_topology();
}

static void sde_hdcp_1x_update_auth_status(struct sde_hdcp_1x *hdcp)
{
	if (sde_hdcp_1x_state(HDCP_STATE_AUTHENTICATED)) {
		sde_hdcp_1x_cache_topology(hdcp);
		sde_hdcp_1x_notify_topology(hdcp);
		sde_hdcp_1x_notify_topology();
	}

	if (hdcp->init_data.notify_status &&