Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
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 …]
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.c444 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_encoder_get_encoder_mode() local
500 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_encoder_get_encoder_mode()
501 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_atombios_encoder_get_encoder_mode()
502 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in amdgpu_atombios_encoder_get_encoder_mode()
578 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_encoder() local
581 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_encoder()
582 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_encoder()
780 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_transmitter() local
784 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_transmitter()
785 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-6.1.9/drivers/gpu/drm/radeon/
Datombios_dp.c372 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui() local
375 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in radeon_dp_probe_oui()
389 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_getdpcd() local
396 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in radeon_dp_getdpcd()
398 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in radeon_dp_getdpcd()
399 dig_connector->dpcd); in radeon_dp_getdpcd()
406 dig_connector->dpcd[0] = 0; in radeon_dp_getdpcd()
454 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_link_config() local
459 dig_connector = radeon_connector->con_priv; in radeon_dp_set_link_config()
461 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dp_set_link_config()
[all …]
Dradeon_encoders.c371 struct radeon_connector_atom_dig *dig_connector; in radeon_dig_monitor_is_duallink() local
402 dig_connector = radeon_connector->con_priv; in radeon_dig_monitor_is_duallink()
403 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dig_monitor_is_duallink()
404 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in radeon_dig_monitor_is_duallink()
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()
Datombios_encoders.c676 struct radeon_connector_atom_dig *dig_connector; in atombios_get_encoder_mode() local
734 dig_connector = radeon_connector->con_priv; in atombios_get_encoder_mode()
735 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in atombios_get_encoder_mode()
736 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in atombios_get_encoder_mode()
845 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_encoder_setup2() local
848 dp_clock = dig_connector->dp_clock; in atombios_dig_encoder_setup2()
849 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_encoder_setup2()
1029 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_transmitter_setup2() local
1033 dp_clock = dig_connector->dp_clock; in atombios_dig_transmitter_setup2()
1034 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_transmitter_setup2()
[all …]
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()
Datombios_crtc.c613 struct radeon_connector_atom_dig *dig_connector = in atombios_adjust_pll() local
616 dp_clock = dig_connector->dp_clock; in atombios_adjust_pll()
975 struct radeon_connector_atom_dig *dig_connector = in atombios_crtc_prepare_pll() local
987 dp_clock = dig_connector->dp_clock / 10; in atombios_crtc_prepare_pll()