Home
last modified time | relevance | path

Searched refs:dig_connector (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c316 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui() local
319 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in amdgpu_atombios_dp_probe_oui()
333 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_ds_ports() local
336 if (dig_connector->dpcd[DP_DPCD_REV] > 0x10) { in amdgpu_atombios_dp_ds_ports()
339 dig_connector->downstream_ports, in amdgpu_atombios_dp_ds_ports()
342 memset(dig_connector->downstream_ports, 0, in amdgpu_atombios_dp_ds_ports()
349 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_dpcd() local
356 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in amdgpu_atombios_dp_get_dpcd()
358 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in amdgpu_atombios_dp_get_dpcd()
359 dig_connector->dpcd); in amdgpu_atombios_dp_get_dpcd()
[all …]
Damdgpu_encoders.c210 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_dig_monitor_is_duallink() local
241 dig_connector = amdgpu_connector->con_priv; in amdgpu_dig_monitor_is_duallink()
242 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_dig_monitor_is_duallink()
243 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in amdgpu_dig_monitor_is_duallink()
Datombios_encoders.c449 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_encoder_get_encoder_mode() local
507 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_encoder_get_encoder_mode()
508 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_atombios_encoder_get_encoder_mode()
509 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in amdgpu_atombios_encoder_get_encoder_mode()
589 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_encoder() local
592 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_encoder()
593 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_encoder()
792 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_transmitter() local
796 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_transmitter()
797 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_transmitter()
[all …]
Damdgpu_connectors.c62 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_connector_hotplug() local
66 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug()
70 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug()
74 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in amdgpu_connector_hotplug()
103 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_connector_get_monitor_bpc() local
125 dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_get_monitor_bpc()
126 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_connector_get_monitor_bpc()
127 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in amdgpu_connector_get_monitor_bpc()
Datombios_crtc.c330 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_crtc_adjust_pll() local
333 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_crtc_adjust_pll()
767 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_crtc_prepare_pll() local
779 dp_clock = dig_connector->dp_clock / 10; in amdgpu_atombios_crtc_prepare_pll()
/Linux-v5.10/drivers/gpu/drm/radeon/
Datombios_dp.c371 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui() local
374 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in radeon_dp_probe_oui()
388 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_getdpcd() local
395 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in radeon_dp_getdpcd()
397 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in radeon_dp_getdpcd()
398 dig_connector->dpcd); in radeon_dp_getdpcd()
405 dig_connector->dpcd[0] = 0; in radeon_dp_getdpcd()
453 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_link_config() local
458 dig_connector = radeon_connector->con_priv; in radeon_dp_set_link_config()
460 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dp_set_link_config()
[all …]
Dradeon_dp_mst.c337 struct radeon_connector_atom_dig *dig_connector = mst_enc->connector->con_priv; in radeon_dp_mst_prepare_pll() local
347 DRM_DEBUG_KMS("dp_clock %p %d\n", dig_connector, dig_connector->dp_clock); in radeon_dp_mst_prepare_pll()
348 dp_clock = dig_connector->dp_clock; in radeon_dp_mst_prepare_pll()
489 struct radeon_connector_atom_dig *dig_connector; in radeon_mst_mode_fixup() local
503 dig_connector = mst_enc->connector->con_priv; in radeon_mst_mode_fixup()
504 dig_connector->dp_lane_count = drm_dp_max_lane_count(dig_connector->dpcd); in radeon_mst_mode_fixup()
505 dig_connector->dp_clock = drm_dp_max_link_rate(dig_connector->dpcd); in radeon_mst_mode_fixup()
506 DRM_DEBUG_KMS("dig clock %p %d %d\n", dig_connector, in radeon_mst_mode_fixup()
507 dig_connector->dp_lane_count, dig_connector->dp_clock); in radeon_mst_mode_fixup()
643 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_mst_probe() local
[all …]
Dradeon_encoders.c377 struct radeon_connector_atom_dig *dig_connector; in radeon_dig_monitor_is_duallink() local
411 dig_connector = radeon_connector->con_priv; in radeon_dig_monitor_is_duallink()
412 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dig_monitor_is_duallink()
413 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in radeon_dig_monitor_is_duallink()
Devergreen_hdmi.c455 struct radeon_connector_atom_dig *dig_connector; in evergreen_dp_enable() local
465 dig_connector = radeon_connector->con_priv; in evergreen_dp_enable()
469 if (dig_connector->dp_clock == 162000) in evergreen_dp_enable()
Datombios_encoders.c685 struct radeon_connector_atom_dig *dig_connector; in atombios_get_encoder_mode() local
751 dig_connector = radeon_connector->con_priv; in atombios_get_encoder_mode()
752 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in atombios_get_encoder_mode()
753 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in atombios_get_encoder_mode()
862 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_encoder_setup2() local
865 dp_clock = dig_connector->dp_clock; in atombios_dig_encoder_setup2()
866 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_encoder_setup2()
1046 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_transmitter_setup2() local
1050 dp_clock = dig_connector->dp_clock; in atombios_dig_transmitter_setup2()
1051 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_transmitter_setup2()
[all …]
Dradeon_connectors.c57 struct radeon_connector_atom_dig *dig_connector = in radeon_connector_hotplug() local
62 if (dig_connector->is_mst) { in radeon_connector_hotplug()
82 struct radeon_connector_atom_dig *dig_connector = in radeon_connector_hotplug() local
86 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in radeon_connector_hotplug()
90 dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); in radeon_connector_hotplug()
94 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in radeon_connector_hotplug()
125 struct radeon_connector_atom_dig *dig_connector; in radeon_get_monitor_bpc() local
147 dig_connector = radeon_connector->con_priv; in radeon_get_monitor_bpc()
148 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_get_monitor_bpc()
149 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in radeon_get_monitor_bpc()
Datombios_crtc.c612 struct radeon_connector_atom_dig *dig_connector = in atombios_adjust_pll() local
615 dp_clock = dig_connector->dp_clock; in atombios_adjust_pll()
621 struct radeon_connector_atom_dig *dig_connector = mst_enc->connector->con_priv; in atombios_adjust_pll() local
623 dp_clock = dig_connector->dp_clock; in atombios_adjust_pll()
983 struct radeon_connector_atom_dig *dig_connector = in atombios_crtc_prepare_pll() local
995 dp_clock = dig_connector->dp_clock / 10; in atombios_crtc_prepare_pll()