Commit d4411d79 authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher

drm/amd/display: fix spelling mistake AUTHENICATED -> AUTHENTICATED

There is a spelling mistake in the macros H1_A45_AUTHENICATED and
D1_A4_AUTHENICATED, fix these by adding the missing T.
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e3aaf0e1
...@@ -176,7 +176,7 @@ enum mod_hdcp_hdcp1_state_id { ...@@ -176,7 +176,7 @@ enum mod_hdcp_hdcp1_state_id {
H1_A0_WAIT_FOR_ACTIVE_RX, H1_A0_WAIT_FOR_ACTIVE_RX,
H1_A1_EXCHANGE_KSVS, H1_A1_EXCHANGE_KSVS,
H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER, H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER,
H1_A45_AUTHENICATED, H1_A45_AUTHENTICATED,
H1_A8_WAIT_FOR_READY, H1_A8_WAIT_FOR_READY,
H1_A9_READ_KSV_LIST, H1_A9_READ_KSV_LIST,
HDCP1_STATE_END = H1_A9_READ_KSV_LIST HDCP1_STATE_END = H1_A9_READ_KSV_LIST
...@@ -188,7 +188,7 @@ enum mod_hdcp_hdcp1_dp_state_id { ...@@ -188,7 +188,7 @@ enum mod_hdcp_hdcp1_dp_state_id {
D1_A1_EXCHANGE_KSVS, D1_A1_EXCHANGE_KSVS,
D1_A23_WAIT_FOR_R0_PRIME, D1_A23_WAIT_FOR_R0_PRIME,
D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER, D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER,
D1_A4_AUTHENICATED, D1_A4_AUTHENTICATED,
D1_A6_WAIT_FOR_READY, D1_A6_WAIT_FOR_READY,
D1_A7_READ_KSV_LIST, D1_A7_READ_KSV_LIST,
HDCP1_DP_STATE_END = D1_A7_READ_KSV_LIST, HDCP1_DP_STATE_END = D1_A7_READ_KSV_LIST,
......
...@@ -476,7 +476,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp, ...@@ -476,7 +476,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp,
status = computations_validate_rx_test_for_repeater(hdcp, status = computations_validate_rx_test_for_repeater(hdcp,
event_ctx, input); event_ctx, input);
break; break;
case H1_A45_AUTHENICATED: case H1_A45_AUTHENTICATED:
status = authenticated(hdcp, event_ctx, input); status = authenticated(hdcp, event_ctx, input);
break; break;
case H1_A8_WAIT_FOR_READY: case H1_A8_WAIT_FOR_READY:
...@@ -513,7 +513,7 @@ extern enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp, ...@@ -513,7 +513,7 @@ extern enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp,
status = computations_validate_rx_test_for_repeater( status = computations_validate_rx_test_for_repeater(
hdcp, event_ctx, input); hdcp, event_ctx, input);
break; break;
case D1_A4_AUTHENICATED: case D1_A4_AUTHENTICATED:
status = authenticated_dp(hdcp, event_ctx, input); status = authenticated_dp(hdcp, event_ctx, input);
break; break;
case D1_A6_WAIT_FOR_READY: case D1_A6_WAIT_FOR_READY:
......
...@@ -81,11 +81,11 @@ enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, ...@@ -81,11 +81,11 @@ enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp,
set_state_id(hdcp, output, H1_A8_WAIT_FOR_READY); set_state_id(hdcp, output, H1_A8_WAIT_FOR_READY);
} else { } else {
callback_in_ms(0, output); callback_in_ms(0, output);
set_state_id(hdcp, output, H1_A45_AUTHENICATED); set_state_id(hdcp, output, H1_A45_AUTHENTICATED);
HDCP_FULL_DDC_TRACE(hdcp); HDCP_FULL_DDC_TRACE(hdcp);
} }
break; break;
case H1_A45_AUTHENICATED: case H1_A45_AUTHENTICATED:
if (input->link_maintenance != PASS) { if (input->link_maintenance != PASS) {
/* 1A-07: consider invalid ri' a failure */ /* 1A-07: consider invalid ri' a failure */
/* 1A-07a: consider read ri' not returned a failure */ /* 1A-07a: consider read ri' not returned a failure */
...@@ -129,7 +129,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, ...@@ -129,7 +129,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp,
break; break;
} }
callback_in_ms(0, output); callback_in_ms(0, output);
set_state_id(hdcp, output, H1_A45_AUTHENICATED); set_state_id(hdcp, output, H1_A45_AUTHENTICATED);
HDCP_FULL_DDC_TRACE(hdcp); HDCP_FULL_DDC_TRACE(hdcp);
break; break;
default: default:
...@@ -224,11 +224,11 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, ...@@ -224,11 +224,11 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
set_watchdog_in_ms(hdcp, 5000, output); set_watchdog_in_ms(hdcp, 5000, output);
set_state_id(hdcp, output, D1_A6_WAIT_FOR_READY); set_state_id(hdcp, output, D1_A6_WAIT_FOR_READY);
} else { } else {
set_state_id(hdcp, output, D1_A4_AUTHENICATED); set_state_id(hdcp, output, D1_A4_AUTHENTICATED);
HDCP_FULL_DDC_TRACE(hdcp); HDCP_FULL_DDC_TRACE(hdcp);
} }
break; break;
case D1_A4_AUTHENICATED: case D1_A4_AUTHENTICATED:
if (input->link_integiry_check != PASS || if (input->link_integiry_check != PASS ||
input->reauth_request_check != PASS) { input->reauth_request_check != PASS) {
/* 1A-07: restart hdcp on a link integrity failure */ /* 1A-07: restart hdcp on a link integrity failure */
...@@ -295,7 +295,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, ...@@ -295,7 +295,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
fail_and_restart_in_ms(0, &status, output); fail_and_restart_in_ms(0, &status, output);
break; break;
} }
set_state_id(hdcp, output, D1_A4_AUTHENICATED); set_state_id(hdcp, output, D1_A4_AUTHENTICATED);
HDCP_FULL_DDC_TRACE(hdcp); HDCP_FULL_DDC_TRACE(hdcp);
break; break;
default: default:
......
...@@ -136,8 +136,8 @@ char *mod_hdcp_state_id_to_str(int32_t id) ...@@ -136,8 +136,8 @@ char *mod_hdcp_state_id_to_str(int32_t id)
return "H1_A1_EXCHANGE_KSVS"; return "H1_A1_EXCHANGE_KSVS";
case H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER: case H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER:
return "H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER"; return "H1_A2_COMPUTATIONS_A3_VALIDATE_RX_A6_TEST_FOR_REPEATER";
case H1_A45_AUTHENICATED: case H1_A45_AUTHENTICATED:
return "H1_A45_AUTHENICATED"; return "H1_A45_AUTHENTICATED";
case H1_A8_WAIT_FOR_READY: case H1_A8_WAIT_FOR_READY:
return "H1_A8_WAIT_FOR_READY"; return "H1_A8_WAIT_FOR_READY";
case H1_A9_READ_KSV_LIST: case H1_A9_READ_KSV_LIST:
...@@ -150,8 +150,8 @@ char *mod_hdcp_state_id_to_str(int32_t id) ...@@ -150,8 +150,8 @@ char *mod_hdcp_state_id_to_str(int32_t id)
return "D1_A23_WAIT_FOR_R0_PRIME"; return "D1_A23_WAIT_FOR_R0_PRIME";
case D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER: case D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER:
return "D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER"; return "D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER";
case D1_A4_AUTHENICATED: case D1_A4_AUTHENTICATED:
return "D1_A4_AUTHENICATED"; return "D1_A4_AUTHENTICATED";
case D1_A6_WAIT_FOR_READY: case D1_A6_WAIT_FOR_READY:
return "D1_A6_WAIT_FOR_READY"; return "D1_A6_WAIT_FOR_READY";
case D1_A7_READ_KSV_LIST: case D1_A7_READ_KSV_LIST:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment