Commit a6729a5a authored by abdoulaye berthe's avatar abdoulaye berthe Committed by Alex Deucher

drm/amd/display: fix CTS 4.2.2.8

[Why]
1-Test equipment does not reset test automation flag after completing
current test causing the next test to fail.
2.When test request is empty, we shouldn't ack the test.

[How]
1-Driver should always clear test equipment automation test request
when request is completed.
2-Driver should clear test equipement test automation if driver does
not complete the request.
Signed-off-by: default avatarabdoulaye berthe <abdoulaye.berthe@amd.com>
Reviewed-by: default avatarWenjing Liu <Wenjing.Liu@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c591d842
...@@ -2002,11 +2002,7 @@ static void handle_automated_test(struct dc_link *link) ...@@ -2002,11 +2002,7 @@ static void handle_automated_test(struct dc_link *link)
dp_test_send_phy_test_pattern(link); dp_test_send_phy_test_pattern(link);
test_response.bits.ACK = 1; test_response.bits.ACK = 1;
} }
if (!test_request.raw)
/* no requests, revert all test signals
* TODO: revert all test signals
*/
test_response.bits.ACK = 1;
/* send request acknowledgment */ /* send request acknowledgment */
if (test_response.bits.ACK) if (test_response.bits.ACK)
core_link_write_dpcd( core_link_write_dpcd(
......
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