Lines Matching refs:dig_connector
319 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui() local
322 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in amdgpu_atombios_dp_probe_oui()
336 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_ds_ports() local
339 if (dig_connector->dpcd[DP_DPCD_REV] > 0x10) { in amdgpu_atombios_dp_ds_ports()
342 dig_connector->downstream_ports, in amdgpu_atombios_dp_ds_ports()
345 memset(dig_connector->downstream_ports, 0, in amdgpu_atombios_dp_ds_ports()
352 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_dpcd() local
359 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in amdgpu_atombios_dp_get_dpcd()
361 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in amdgpu_atombios_dp_get_dpcd()
362 dig_connector->dpcd); in amdgpu_atombios_dp_get_dpcd()
369 dig_connector->dpcd[0] = 0; in amdgpu_atombios_dp_get_dpcd()
412 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_set_link_config() local
417 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_set_link_config()
419 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_atombios_dp_set_link_config()
420 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in amdgpu_atombios_dp_set_link_config()
421 ret = amdgpu_atombios_dp_get_dp_link_config(connector, dig_connector->dpcd, in amdgpu_atombios_dp_set_link_config()
423 &dig_connector->dp_lane_count, in amdgpu_atombios_dp_set_link_config()
424 &dig_connector->dp_clock); in amdgpu_atombios_dp_set_link_config()
426 dig_connector->dp_clock = 0; in amdgpu_atombios_dp_set_link_config()
427 dig_connector->dp_lane_count = 0; in amdgpu_atombios_dp_set_link_config()
436 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_mode_valid_helper() local
442 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_mode_valid_helper()
444 ret = amdgpu_atombios_dp_get_dp_link_config(connector, dig_connector->dpcd, in amdgpu_atombios_dp_mode_valid_helper()
473 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_set_rx_power_state() local
478 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_set_rx_power_state()
481 if (dig_connector->dpcd[0] >= 0x11) { in amdgpu_atombios_dp_set_rx_power_state()
727 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_link_train() local
737 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_link_train()
739 if ((dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) && in amdgpu_atombios_dp_link_train()
740 (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_eDP)) in amdgpu_atombios_dp_link_train()
753 memcpy(dp_info.dpcd, dig_connector->dpcd, DP_RECEIVER_CAP_SIZE); in amdgpu_atombios_dp_link_train()
757 dp_info.dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_dp_link_train()
758 dp_info.dp_clock = dig_connector->dp_clock; in amdgpu_atombios_dp_link_train()