Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_dp.c319 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()
[all …]
H A 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()
H A Datombios_encoders.c443 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_encoder_get_encoder_mode() local
499 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_encoder_get_encoder_mode()
500 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_atombios_encoder_get_encoder_mode()
501 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in amdgpu_atombios_encoder_get_encoder_mode()
577 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_encoder() local
580 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_encoder()
581 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_encoder()
779 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_transmitter() local
783 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_transmitter()
784 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_transmitter()
[all …]
H A Damdgpu_connectors.c63 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_connector_hotplug() local
67 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug()
71 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug()
75 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in amdgpu_connector_hotplug()
104 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_connector_get_monitor_bpc() local
126 dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_get_monitor_bpc()
127 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_connector_get_monitor_bpc()
128 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in amdgpu_connector_get_monitor_bpc()
H A Datombios_crtc.c329 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_crtc_adjust_pll() local
332 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_crtc_adjust_pll()
766 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_crtc_prepare_pll() local
778 dp_clock = dig_connector->dp_clock / 10; in amdgpu_atombios_crtc_prepare_pll()
/linux/drivers/gpu/drm/radeon/
H A Datombios_dp.c367 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui() local
370 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in radeon_dp_probe_oui()
384 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_getdpcd() local
391 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in radeon_dp_getdpcd()
393 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in radeon_dp_getdpcd()
394 dig_connector->dpcd); in radeon_dp_getdpcd()
401 dig_connector->dpcd[0] = 0; in radeon_dp_getdpcd()
449 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_link_config() local
454 dig_connector = radeon_connector->con_priv; in radeon_dp_set_link_config()
456 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dp_set_link_config()
[all …]
H A Dradeon_encoders.c374 struct radeon_connector_atom_dig *dig_connector; in radeon_dig_monitor_is_duallink() local
405 dig_connector = radeon_connector->con_priv; in radeon_dig_monitor_is_duallink()
406 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dig_monitor_is_duallink()
407 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in radeon_dig_monitor_is_duallink()
H A Devergreen_hdmi.c456 struct radeon_connector_atom_dig *dig_connector; in evergreen_dp_enable() local
466 dig_connector = radeon_connector->con_priv; in evergreen_dp_enable()
470 if (dig_connector->dp_clock == 162000) in evergreen_dp_enable()
H A Datombios_encoders.c678 struct radeon_connector_atom_dig *dig_connector; in atombios_get_encoder_mode() local
736 dig_connector = radeon_connector->con_priv; in atombios_get_encoder_mode()
737 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in atombios_get_encoder_mode()
738 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in atombios_get_encoder_mode()
847 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_encoder_setup2() local
850 dp_clock = dig_connector->dp_clock; in atombios_dig_encoder_setup2()
851 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_encoder_setup2()
1031 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_transmitter_setup2() local
1035 dp_clock = dig_connector->dp_clock; in atombios_dig_transmitter_setup2()
1036 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_transmitter_setup2()
[all …]
H A Dradeon_connectors.c61 struct radeon_connector_atom_dig *dig_connector = in radeon_connector_hotplug() local
65 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in radeon_connector_hotplug()
69 dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); in radeon_connector_hotplug()
73 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in radeon_connector_hotplug()
104 struct radeon_connector_atom_dig *dig_connector; in radeon_get_monitor_bpc() local
126 dig_connector = radeon_connector->con_priv; in radeon_get_monitor_bpc()
127 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_get_monitor_bpc()
128 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in radeon_get_monitor_bpc()
H A 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()
974 struct radeon_connector_atom_dig *dig_connector = in atombios_crtc_prepare_pll() local
986 dp_clock = dig_connector->dp_clock / 10; in atombios_crtc_prepare_pll()