Searched refs:dig_connector (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 323 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui() local 326 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in amdgpu_atombios_dp_probe_oui() 340 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_dpcd() local 348 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in amdgpu_atombios_dp_get_dpcd() 350 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in amdgpu_atombios_dp_get_dpcd() 351 dig_connector->dpcd); in amdgpu_atombios_dp_get_dpcd() 358 dig_connector->dpcd[0] = 0; in amdgpu_atombios_dp_get_dpcd() 366 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_get_panel_mode() local 374 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_panel_mode() 404 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_dp_set_link_config() local [all …]
|
D | amdgpu_encoders.c | 193 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_dig_monitor_is_duallink() local 224 dig_connector = amdgpu_connector->con_priv; in amdgpu_dig_monitor_is_duallink() 225 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_dig_monitor_is_duallink() 226 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in amdgpu_dig_monitor_is_duallink()
|
D | atombios_encoders.c | 452 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_atombios_encoder_get_encoder_mode() local 510 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_encoder_get_encoder_mode() 511 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_atombios_encoder_get_encoder_mode() 512 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in amdgpu_atombios_encoder_get_encoder_mode() 591 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_encoder() local 594 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_encoder() 595 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_encoder() 752 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_encoder_setup_dig_transmitter() local 756 dp_clock = dig_connector->dp_clock; in amdgpu_atombios_encoder_setup_dig_transmitter() 757 dp_lane_count = dig_connector->dp_lane_count; in amdgpu_atombios_encoder_setup_dig_transmitter() [all …]
|
D | amdgpu_connectors.c | 60 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_connector_hotplug() local 64 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 68 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() 72 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in amdgpu_connector_hotplug() 101 struct amdgpu_connector_atom_dig *dig_connector; in amdgpu_connector_get_monitor_bpc() local 123 dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_get_monitor_bpc() 124 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in amdgpu_connector_get_monitor_bpc() 125 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in amdgpu_connector_get_monitor_bpc()
|
D | atombios_crtc.c | 329 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() 688 struct amdgpu_connector_atom_dig *dig_connector = in amdgpu_atombios_crtc_prepare_pll() local 700 dp_clock = dig_connector->dp_clock / 10; in amdgpu_atombios_crtc_prepare_pll()
|
/drivers/gpu/drm/radeon/ |
D | atombios_dp.c | 371 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 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() 416 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_get_panel_mode() local 427 dig_connector = radeon_connector->con_priv; in radeon_dp_get_panel_mode() 457 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_link_config() local [all …]
|
D | radeon_dp_mst.c | 367 struct radeon_connector_atom_dig *dig_connector = mst_enc->connector->con_priv; in radeon_dp_mst_prepare_pll() local 377 DRM_DEBUG_KMS("dp_clock %p %d\n", dig_connector, dig_connector->dp_clock); in radeon_dp_mst_prepare_pll() 378 dp_clock = dig_connector->dp_clock; in radeon_dp_mst_prepare_pll() 527 struct radeon_connector_atom_dig *dig_connector; in radeon_mst_mode_fixup() local 528 dig_connector = mst_enc->connector->con_priv; in radeon_mst_mode_fixup() 529 dig_connector->dp_lane_count = drm_dp_max_lane_count(dig_connector->dpcd); in radeon_mst_mode_fixup() 530 dig_connector->dp_clock = drm_dp_max_link_rate(dig_connector->dpcd); in radeon_mst_mode_fixup() 531 DRM_DEBUG_KMS("dig clock %p %d %d\n", dig_connector, in radeon_mst_mode_fixup() 532 dig_connector->dp_lane_count, dig_connector->dp_clock); in radeon_mst_mode_fixup() 669 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_mst_probe() local [all …]
|
D | radeon_encoders.c | 373 struct radeon_connector_atom_dig *dig_connector; in radeon_dig_monitor_is_duallink() local 407 dig_connector = radeon_connector->con_priv; in radeon_dig_monitor_is_duallink() 408 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dig_monitor_is_duallink() 409 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) in radeon_dig_monitor_is_duallink()
|
D | evergreen_hdmi.c | 455 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()
|
D | atombios_encoders.c | 680 struct radeon_connector_atom_dig *dig_connector; in atombios_get_encoder_mode() local 746 dig_connector = radeon_connector->con_priv; in atombios_get_encoder_mode() 747 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in atombios_get_encoder_mode() 748 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in atombios_get_encoder_mode() 857 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_encoder_setup2() local 860 dp_clock = dig_connector->dp_clock; in atombios_dig_encoder_setup2() 861 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_encoder_setup2() 1041 struct radeon_connector_atom_dig *dig_connector = in atombios_dig_transmitter_setup2() local 1045 dp_clock = dig_connector->dp_clock; in atombios_dig_transmitter_setup2() 1046 dp_lane_count = dig_connector->dp_lane_count; in atombios_dig_transmitter_setup2() [all …]
|
D | radeon_connectors.c | 55 struct radeon_connector_atom_dig *dig_connector = in radeon_connector_hotplug() local 60 if (dig_connector->is_mst) { in radeon_connector_hotplug() 80 struct radeon_connector_atom_dig *dig_connector = in radeon_connector_hotplug() local 84 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in radeon_connector_hotplug() 88 dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); in radeon_connector_hotplug() 92 if (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT && in radeon_connector_hotplug() 123 struct radeon_connector_atom_dig *dig_connector; in radeon_get_monitor_bpc() local 145 dig_connector = radeon_connector->con_priv; in radeon_get_monitor_bpc() 146 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_get_monitor_bpc() 147 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || in radeon_get_monitor_bpc()
|
D | atombios_crtc.c | 608 struct radeon_connector_atom_dig *dig_connector = in atombios_adjust_pll() local 611 dp_clock = dig_connector->dp_clock; in atombios_adjust_pll() 617 struct radeon_connector_atom_dig *dig_connector = mst_enc->connector->con_priv; in atombios_adjust_pll() local 619 dp_clock = dig_connector->dp_clock; in atombios_adjust_pll() 977 struct radeon_connector_atom_dig *dig_connector = in atombios_crtc_prepare_pll() local 989 dp_clock = dig_connector->dp_clock / 10; in atombios_crtc_prepare_pll()
|