Home
last modified time | relevance | path

Searched refs:radeon_connector (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_connectors.c41 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_dp_handle_hpd() local
44 ret = radeon_dp_mst_check_status(radeon_connector); in radeon_dp_handle_hpd()
53 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug() local
57 radeon_connector->con_priv; in radeon_connector_hotplug()
59 if (radeon_connector->is_mst_connector) in radeon_connector_hotplug()
69 if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) in radeon_connector_hotplug()
72 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in radeon_connector_hotplug()
82 radeon_connector->con_priv; in radeon_connector_hotplug()
89 dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); in radeon_connector_hotplug()
94 radeon_hpd_sense(rdev, radeon_connector->hpd.hpd) && in radeon_connector_hotplug()
[all …]
Dradeon_dp_mst.c11 static struct radeon_encoder *radeon_dp_create_fake_mst_encoder(struct radeon_connector *connector);
111 static int radeon_dp_mst_update_stream_attribs(struct radeon_connector *mst_conn, in radeon_dp_mst_update_stream_attribs()
118 struct radeon_connector *radeon_connector; in radeon_dp_mst_update_stream_attribs() local
126 radeon_connector = to_radeon_connector(connector); in radeon_dp_mst_update_stream_attribs()
127 if (!radeon_connector->is_mst_connector) in radeon_dp_mst_update_stream_attribs()
130 if (radeon_connector->mst_port != mst_conn) in radeon_dp_mst_update_stream_attribs()
133 subenc = radeon_connector->mst_encoder; in radeon_dp_mst_update_stream_attribs()
189 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_dp_mst_get_ddc_modes() local
190 struct radeon_connector *master = radeon_connector->mst_port; in radeon_dp_mst_get_ddc_modes()
194 edid = drm_dp_mst_get_edid(connector, &master->mst_mgr, radeon_connector->port); in radeon_dp_mst_get_ddc_modes()
[all …]
Datombios_dp.c227 void radeon_dp_aux_init(struct radeon_connector *radeon_connector) in radeon_dp_aux_init() argument
229 struct drm_device *dev = radeon_connector->base.dev; in radeon_dp_aux_init()
233 radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; in radeon_dp_aux_init()
234 radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; in radeon_dp_aux_init()
237 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; in radeon_dp_aux_init()
239 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
241 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
244 ret = drm_dp_aux_register(&radeon_connector->ddc_bus->aux); in radeon_dp_aux_init()
246 radeon_connector->ddc_bus->has_aux = true; in radeon_dp_aux_init()
360 u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector) in radeon_dp_getsinktype() argument
[all …]
Dradeon_encoders.c204 struct radeon_connector *radeon_connector; in radeon_link_encoder_connector() local
210 radeon_connector = to_radeon_connector(connector); in radeon_link_encoder_connector()
213 if (radeon_encoder->devices & radeon_connector->devices) { in radeon_link_encoder_connector()
230 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_encoder_set_active_device() local
231 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; in radeon_encoder_set_active_device()
234 radeon_connector->devices, encoder->encoder_type); in radeon_encoder_set_active_device()
245 struct radeon_connector *radeon_connector; in radeon_get_connector_for_encoder() local
248 radeon_connector = to_radeon_connector(connector); in radeon_get_connector_for_encoder()
252 if (!radeon_connector->is_mst_connector) in radeon_get_connector_for_encoder()
256 if (mst_enc->connector == radeon_connector->mst_port) in radeon_get_connector_for_encoder()
[all …]
Dradeon_i2c.c42 bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux) in radeon_ddc_probe() argument
63 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
64 radeon_router_select_ddc_port(radeon_connector); in radeon_ddc_probe()
67 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); in radeon_ddc_probe()
69 ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); in radeon_ddc_probe()
1102 void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector) in radeon_router_select_ddc_port() argument
1106 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1109 if (!radeon_connector->router_bus) in radeon_router_select_ddc_port()
1112 radeon_i2c_get_byte(radeon_connector->router_bus, in radeon_router_select_ddc_port()
1113 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
[all …]
Dradeon_mode.h47 #define to_radeon_connector(x) container_of(x, struct radeon_connector, base)
455 struct radeon_connector *connector;
545 struct radeon_connector { struct
568 struct radeon_connector *mst_port; argument
760 extern bool radeon_dp_needs_link_train(struct radeon_connector *radeon_connector);
761 extern u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector);
762 extern bool radeon_dp_getdpcd(struct radeon_connector *radeon_connector);
771 extern void radeon_dp_aux_init(struct radeon_connector *radeon_connector);
812 extern void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector);
813 extern void radeon_router_select_cd_port(struct radeon_connector *radeon_connector);
[all …]
Datombios_encoders.c680 struct radeon_connector *radeon_connector; in atombios_get_encoder_mode() local
706 radeon_connector = to_radeon_connector(connector); in atombios_get_encoder_mode()
712 if (radeon_connector->use_digital && in atombios_get_encoder_mode()
713 (radeon_connector->audio == RADEON_AUDIO_ENABLE)) in atombios_get_encoder_mode()
716 (radeon_connector->audio == RADEON_AUDIO_AUTO)) in atombios_get_encoder_mode()
718 else if (radeon_connector->use_digital) in atombios_get_encoder_mode()
722 } else if (radeon_connector->use_digital) { in atombios_get_encoder_mode()
732 if (radeon_connector->audio == RADEON_AUDIO_ENABLE) in atombios_get_encoder_mode()
735 (radeon_connector->audio == RADEON_AUDIO_AUTO)) in atombios_get_encoder_mode()
747 dig_connector = radeon_connector->con_priv; in atombios_get_encoder_mode()
[all …]
Dradeon_display.c767 struct radeon_connector *radeon_connector; in radeon_print_display_setup() local
775 radeon_connector = to_radeon_connector(connector); in radeon_print_display_setup()
778 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in radeon_print_display_setup()
779 DRM_INFO(" %s\n", hpd_names[radeon_connector->hpd.hpd]); in radeon_print_display_setup()
780 if (radeon_connector->ddc_bus) { in radeon_print_display_setup()
782 radeon_connector->ddc_bus->rec.mask_clk_reg, in radeon_print_display_setup()
783 radeon_connector->ddc_bus->rec.mask_data_reg, in radeon_print_display_setup()
784 radeon_connector->ddc_bus->rec.a_clk_reg, in radeon_print_display_setup()
785 radeon_connector->ddc_bus->rec.a_data_reg, in radeon_print_display_setup()
786 radeon_connector->ddc_bus->rec.en_clk_reg, in radeon_print_display_setup()
[all …]
Drs600.c164 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in avivo_program_fmt() local
166 dither = radeon_connector->dither; in avivo_program_fmt()
405 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in rs600_hpd_init() local
406 switch (radeon_connector->hpd.hpd) { in rs600_hpd_init()
418 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in rs600_hpd_init()
419 enable |= 1 << radeon_connector->hpd.hpd; in rs600_hpd_init()
420 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in rs600_hpd_init()
432 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in rs600_hpd_fini() local
433 switch (radeon_connector->hpd.hpd) { in rs600_hpd_fini()
445 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in rs600_hpd_fini()
[all …]
Devergreen_hdmi.c454 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in evergreen_dp_enable() local
464 if (!ASIC_IS_DCE6(rdev) && radeon_connector->con_priv) { in evergreen_dp_enable()
465 dig_connector = radeon_connector->con_priv; in evergreen_dp_enable()
Dr600.c302 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in dce3_program_fmt() local
304 dither = radeon_connector->dither; in dce3_program_fmt()
952 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in r600_hpd_init() local
967 switch (radeon_connector->hpd.hpd) { in r600_hpd_init()
991 switch (radeon_connector->hpd.hpd) { in r600_hpd_init()
1005 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in r600_hpd_init()
1006 enable |= 1 << radeon_connector->hpd.hpd; in r600_hpd_init()
1007 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in r600_hpd_init()
1019 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in r600_hpd_fini() local
1021 switch (radeon_connector->hpd.hpd) { in r600_hpd_fini()
[all …]
Dradeon_audio.c457 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_audio_detect() local
459 if (radeon_dp_getsinktype(radeon_connector) == in radeon_audio_detect()
Datombios_crtc.c609 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in atombios_adjust_pll() local
611 radeon_connector->con_priv; in atombios_adjust_pll()
979 struct radeon_connector *radeon_connector = in atombios_crtc_prepare_pll() local
982 radeon_connector->con_priv; in atombios_crtc_prepare_pll()
986 radeon_connector->pixelclock_for_modeset = mode->clock; in atombios_crtc_prepare_pll()
Dradeon_atombios.c4158 struct radeon_connector *radeon_connector = in radeon_atombios_connected_scratch_regs() local
4174 (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4187 (radeon_connector->devices & ATOM_DEVICE_CV_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4200 (radeon_connector->devices & ATOM_DEVICE_LCD1_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4214 (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4228 (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4242 (radeon_connector->devices & ATOM_DEVICE_DFP1_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4256 (radeon_connector->devices & ATOM_DEVICE_DFP2_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4270 (radeon_connector->devices & ATOM_DEVICE_DFP3_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
4284 (radeon_connector->devices & ATOM_DEVICE_DFP4_SUPPORT)) { in radeon_atombios_connected_scratch_regs()
[all …]
Dradeon_combios.c3458 struct radeon_connector *radeon_connector = in radeon_combios_connected_scratch_regs() local
3465 (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT)) { in radeon_combios_connected_scratch_regs()
3481 (radeon_connector->devices & ATOM_DEVICE_LCD1_SUPPORT)) { in radeon_combios_connected_scratch_regs()
3495 (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT)) { in radeon_combios_connected_scratch_regs()
3509 (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT)) { in radeon_combios_connected_scratch_regs()
3523 (radeon_connector->devices & ATOM_DEVICE_DFP1_SUPPORT)) { in radeon_combios_connected_scratch_regs()
3537 (radeon_connector->devices & ATOM_DEVICE_DFP2_SUPPORT)) { in radeon_combios_connected_scratch_regs()
Dr100.c594 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in r100_hpd_init() local
595 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in r100_hpd_init()
596 enable |= 1 << radeon_connector->hpd.hpd; in r100_hpd_init()
597 radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); in r100_hpd_init()
617 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in r100_hpd_fini() local
618 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) in r100_hpd_fini()
619 disable |= 1 << radeon_connector->hpd.hpd; in r100_hpd_fini()
Devergreen.c1303 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in dce4_program_fmt() local
1305 dither = radeon_connector->dither; in dce4_program_fmt()
Dcik.c8738 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in dce8_program_fmt() local
8740 dither = radeon_connector->dither; in dce8_program_fmt()