Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c161 struct drm_dp_mst_topology_mgr *mst_mgr = in get_payload_table() local
162 &aconnector->mst_port->mst_mgr; in get_payload_table()
164 mutex_lock(&mst_mgr->payload_lock); in get_payload_table()
169 for (i = 0; i < mst_mgr->max_payloads; i++) { in get_payload_table()
170 if (mst_mgr->payloads[i].num_slots == 0) in get_payload_table()
173 ASSERT(mst_mgr->payloads[i].payload_state != in get_payload_table()
176 if (mst_mgr->payloads[i].payload_state == DP_PAYLOAD_LOCAL || in get_payload_table()
177 mst_mgr->payloads[i].payload_state == in get_payload_table()
184 sa->slot_count = mst_mgr->payloads[i].num_slots; in get_payload_table()
185 sa->vcp_id = mst_mgr->proposed_vcpis[i]->vcpi; in get_payload_table()
[all …]
Damdgpu_dm_mst_types.c261 edid = drm_dp_mst_get_edid(connector, &aconnector->mst_port->mst_mgr, aconnector->port); in dm_dp_mst_get_modes()
368 return drm_dp_mst_detect_port(connector, ctx, &master->mst_mgr, in dm_dp_mst_detect()
381 struct drm_dp_mst_topology_mgr *mst_mgr; in dm_dp_mst_atomic_check() local
385 mst_mgr = &aconnector->mst_port->mst_mgr; in dm_dp_mst_atomic_check()
399 mst_mgr, in dm_dp_mst_atomic_check()
449 struct amdgpu_dm_connector *master = container_of(mgr, struct amdgpu_dm_connector, mst_mgr); in dm_dp_add_mst_connector()
541 aconnector->mst_mgr.cbs = &dm_mst_cbs; in amdgpu_dm_initialize_dp_connector()
543 &aconnector->mst_mgr, in amdgpu_dm_initialize_dp_connector()
1076 mutex_lock(&aconnector->mst_mgr.lock); in compute_mst_dsc_configs_for_state()
1079 mutex_unlock(&aconnector->mst_mgr.lock); in compute_mst_dsc_configs_for_state()
[all …]
Damdgpu_dm.h589 struct drm_dp_mst_topology_mgr mst_mgr; member
Damdgpu_dm_debugfs.c3272 if (!aconnector->mst_mgr.mst_state) in mst_topo_show()
3276 drm_dp_mst_dump_topology(m, &aconnector->mst_mgr); in mst_topo_show()
3304 aconnector->mst_mgr.aux) { in trigger_hpd_mst_set()
3306 drm_dp_mst_topology_mgr_set_mst(&aconnector->mst_mgr, true); in trigger_hpd_mst_set()
3321 drm_dp_mst_topology_mgr_set_mst(&aconnector->mst_port->mst_mgr, false); in trigger_hpd_mst_set()
Damdgpu_dm.c2153 aconnector->mst_mgr.aux) { in detect_mst_link_for_all_connectors()
2158 ret = drm_dp_mst_topology_mgr_set_mst(&aconnector->mst_mgr, true); in detect_mst_link_for_all_connectors()
2234 mgr = &aconnector->mst_mgr; in s3_handle_mst()
2965 if (aconnector->mst_mgr.mst_state == true) in amdgpu_dm_update_connector_after_detect()
3208 if (aconnector->mst_mgr.mst_state) in dm_handle_mst_sideband_msg()
3210 &aconnector->mst_mgr, in dm_handle_mst_sideband_msg()
3273 bool is_mst_root_connector = aconnector->mst_mgr.mst_state; in handle_hpd_rx_irq()
6917 if (aconnector->mst_mgr.dev) in amdgpu_dm_connector_destroy()
6918 drm_dp_mst_topology_mgr_destroy(&aconnector->mst_mgr); in amdgpu_dm_connector_destroy()
7446 struct drm_dp_mst_topology_mgr *mst_mgr; in dm_encoder_helper_atomic_check() local
[all …]
/linux-5.19.10/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c141 new_attribs[idx].slots = drm_dp_mst_get_vcpi_slots(&mst_conn->mst_mgr, mst_enc->port); in radeon_dp_mst_update_stream_attribs()
195 edid = drm_dp_mst_get_edid(connector, &master->mst_mgr, radeon_connector->port); in radeon_dp_mst_get_ddc_modes()
247 return drm_dp_mst_detect_port(connector, ctx, &master->mst_mgr, in radeon_dp_mst_detect()
280 struct radeon_connector *master = container_of(mgr, struct radeon_connector, mst_mgr); in radeon_dp_add_mst_connector()
421 slots = drm_dp_find_vcpi_slots(&radeon_connector->mst_port->mst_mgr, in radeon_mst_encoder_dpms()
423 drm_dp_mst_allocate_vcpi(&radeon_connector->mst_port->mst_mgr, in radeon_mst_encoder_dpms()
426 drm_dp_update_payload_part1(&radeon_connector->mst_port->mst_mgr, 1); in radeon_mst_encoder_dpms()
435 fixed_pbn_per_slot = drm_int2fixp(radeon_connector->mst_port->mst_mgr.pbn_div); in radeon_mst_encoder_dpms()
441 drm_dp_check_act_status(&radeon_connector->mst_port->mst_mgr); in radeon_mst_encoder_dpms()
443 drm_dp_update_payload_part2(&radeon_connector->mst_port->mst_mgr); in radeon_mst_encoder_dpms()
[all …]
Dradeon_mode.h568 struct drm_dp_mst_topology_mgr mst_mgr; member
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_dp_mst.c73 slots = drm_dp_atomic_find_vcpi_slots(state, &intel_dp->mst_mgr, in intel_dp_mst_compute_link_config()
76 drm_dp_get_vc_payload_bw(&intel_dp->mst_mgr, in intel_dp_mst_compute_link_config()
109 struct drm_dp_mst_topology_mgr *mgr = &intel_dp->mst_mgr; in intel_dp_mst_update_slots()
346 mgr = &enc_to_mst(to_intel_encoder(old_conn_state->best_encoder))->primary->dp.mst_mgr; in intel_dp_mst_atomic_check()
373 drm_dp_check_act_status(&intel_dp->mst_mgr); in wait_for_act_sent()
395 drm_dp_mst_reset_vcpi_slots(&intel_dp->mst_mgr, connector->port); in intel_mst_disable_dp()
397 ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr, start_slot); in intel_mst_disable_dp()
428 drm_dp_update_payload_part2(&intel_dp->mst_mgr); in intel_mst_post_disable_dp()
437 drm_dp_mst_deallocate_vcpi(&intel_dp->mst_mgr, connector->port); in intel_mst_post_disable_dp()
450 drm_dp_send_power_updown_phy(&intel_dp->mst_mgr, connector->port, in intel_mst_post_disable_dp()
[all …]
Dintel_dp.c2959 drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr, in intel_dp_configure_mst()
3812 drm_dp_mst_hpd_irq(&intel_dp->mst_mgr, esi, &handled); in intel_dp_mst_hpd_irq()
4630 intel_dp->mst_mgr.mst_state); in intel_dp_detect()
4632 drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr, in intel_dp_detect()
5428 drm_dp_mst_topology_mgr_suspend(&intel_dp->mst_mgr); in intel_dp_mst_suspend()
5451 ret = drm_dp_mst_topology_mgr_resume(&intel_dp->mst_mgr, in intel_dp_mst_resume()
5455 drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr, in intel_dp_mst_resume()
Dintel_display_types.h1596 struct drm_dp_mst_topology_mgr mst_mgr; member
Dintel_display_debugfs.c1178 drm_dp_mst_dump_topology(m, &dig_port->dp.mst_mgr); in i915_dp_mst_info()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h555 struct drm_dp_mst_topology_mgr mst_mgr; member