}
if (test_request.bits.LINK_TEST_PATTRN) {
dp_test_send_link_test_pattern(link);
- link->public.compliance_test_state.bits.
- SET_TEST_PATTERN_PENDING = 1;
+ test_response.bits.ACK = 1;
}
if (test_request.bits.PHY_TEST_PATTERN) {
dp_test_send_phy_test_pattern(link);
unsigned int i;
unsigned char link_qual_pattern[LANE_COUNT_DP_MAX] = {0};
union dpcd_training_pattern training_pattern;
- union test_response test_response;
enum dpcd_phy_test_patterns pattern;
memset(&training_pattern, 0, sizeof(training_pattern));
- memset(&test_response, 0, sizeof(test_response));
for (i = 0; i < MAX_PIPES; i++) {
if (pipes[i].stream->sink->link == core_link) {
set_crtc_test_pattern(core_link, &pipe_ctx, test_pattern);
/* Set Test Pattern state */
core_link->public.test_pattern_enabled = true;
-
- /* If this is called because of compliance test request,
- * we respond ack here.
- */
- if (core_link->public.compliance_test_state.bits.
- SET_TEST_PATTERN_PENDING == 1) {
- core_link->public.compliance_test_state.bits.
- SET_TEST_PATTERN_PENDING = 0;
- test_response.bits.ACK = 1;
- core_link_write_dpcd(core_link,
- DP_TEST_RESPONSE,
- &test_response.raw,
- sizeof(test_response));
- }
}
return true;
dp_receiver_power_ctrl(link, false);
+ link->dc->hwss.disable_stream(&pipes[i]);
+
link->link_enc->funcs->disable_output(
link->link_enc,
SIGNAL_TYPE_DISPLAY_PORT);
link->public.cur_link_settings = *link_setting;
+ link->dc->hwss.enable_stream(&pipes[i]);
+
link->dc->hwss.unblank_stream(&pipes[i],
link_setting);
}