disp: msm: dp: change err to warn on link failure
When HDCP enabled sink reports a link failure, it should be a warning instead of an error because it can be part of expected behavior during encryption level changes as per spec. Also now prints debug statement on min enc level changes. Change-Id: I747f6997c32cfcdff9a4b6ca7e4750a651491833 Signed-off-by: Andrew Bartfeld <quic_abartfel@quicinc.com>
This commit is contained in:
@@ -595,10 +595,10 @@ static void dp_hdcp2p2_link_check(struct dp_hdcp2p2_ctrl *ctrl)
|
|||||||
|
|
||||||
if (ctrl->sink_rx_status & ctrl->abort_mask) {
|
if (ctrl->sink_rx_status & ctrl->abort_mask) {
|
||||||
if (ctrl->sink_rx_status & BIT(3))
|
if (ctrl->sink_rx_status & BIT(3))
|
||||||
DP_ERR("reauth_req set by sink\n");
|
DP_WARN("reauth_req set by sink\n");
|
||||||
|
|
||||||
if (ctrl->sink_rx_status & BIT(4))
|
if (ctrl->sink_rx_status & BIT(4))
|
||||||
DP_ERR("link failure reported by sink\n");
|
DP_WARN("link failure reported by sink\n");
|
||||||
|
|
||||||
ctrl->sink_rx_status = 0;
|
ctrl->sink_rx_status = 0;
|
||||||
ctrl->rx_status = 0;
|
ctrl->rx_status = 0;
|
||||||
|
@@ -930,6 +930,8 @@ static int sde_hdcp_2x_wakeup(struct sde_hdcp_2x_wakeup_data *data)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case HDCP_2X_CMD_MIN_ENC_LEVEL:
|
case HDCP_2X_CMD_MIN_ENC_LEVEL:
|
||||||
|
if (hdcp->min_enc_level != data->min_enc_level)
|
||||||
|
SDE_EVT32_EXTERNAL(data->cmd, hdcp->min_enc_level, data->min_enc_level);
|
||||||
hdcp->min_enc_level = data->min_enc_level;
|
hdcp->min_enc_level = data->min_enc_level;
|
||||||
if (hdcp->authenticated) {
|
if (hdcp->authenticated) {
|
||||||
kfifo_put(&hdcp->cmd_q, data->cmd);
|
kfifo_put(&hdcp->cmd_q, data->cmd);
|
||||||
|
Reference in New Issue
Block a user