• Home
  • Raw
  • Download

Lines Matching refs:intel_dp

39 	struct intel_dp *intel_dp = &intel_dig_port->dp;  in intel_dp_mst_compute_config()  local
57 lane_count = drm_dp_max_lane_count(intel_dp->dpcd); in intel_dp_mst_compute_config()
63 pipe_config->port_clock = intel_dp_max_link_rate(intel_dp); in intel_dp_mst_compute_config()
84 slots = drm_dp_find_vcpi_slots(&intel_dp->mst_mgr, mst_pbn); in intel_dp_mst_compute_config()
104 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_disable_dp() local
107 DRM_DEBUG_KMS("%d\n", intel_dp->active_mst_links); in intel_mst_disable_dp()
109 drm_dp_mst_reset_vcpi_slots(&intel_dp->mst_mgr, intel_mst->port); in intel_mst_disable_dp()
111 ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr); in intel_mst_disable_dp()
121 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_post_disable_dp() local
123 DRM_DEBUG_KMS("%d\n", intel_dp->active_mst_links); in intel_mst_post_disable_dp()
126 drm_dp_check_act_status(&intel_dp->mst_mgr); in intel_mst_post_disable_dp()
128 drm_dp_update_payload_part2(&intel_dp->mst_mgr); in intel_mst_post_disable_dp()
130 drm_dp_mst_deallocate_vcpi(&intel_dp->mst_mgr, intel_mst->port); in intel_mst_post_disable_dp()
132 intel_dp->active_mst_links--; in intel_mst_post_disable_dp()
134 if (intel_dp->active_mst_links == 0) { in intel_mst_post_disable_dp()
136 intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); in intel_mst_post_disable_dp()
144 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_pre_enable_dp() local
172 DRM_DEBUG_KMS("%d\n", intel_dp->active_mst_links); in intel_mst_pre_enable_dp()
175 if (intel_dp->active_mst_links == 0) { in intel_mst_pre_enable_dp()
178 intel_dp_set_link_params(intel_dp, intel_crtc->config); in intel_mst_pre_enable_dp()
187 intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_ON); in intel_mst_pre_enable_dp()
190 intel_dp_start_link_train(intel_dp); in intel_mst_pre_enable_dp()
191 intel_dp_stop_link_train(intel_dp); in intel_mst_pre_enable_dp()
194 ret = drm_dp_mst_allocate_vcpi(&intel_dp->mst_mgr, in intel_mst_pre_enable_dp()
203 intel_dp->active_mst_links++; in intel_mst_pre_enable_dp()
207 ret = drm_dp_update_payload_part1(&intel_dp->mst_mgr); in intel_mst_pre_enable_dp()
214 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_enable_dp() local
220 DRM_DEBUG_KMS("%d\n", intel_dp->active_mst_links); in intel_mst_enable_dp()
226 ret = drm_dp_check_act_status(&intel_dp->mst_mgr); in intel_mst_enable_dp()
228 ret = drm_dp_update_payload_part2(&intel_dp->mst_mgr); in intel_mst_enable_dp()
293 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_dp_mst_get_ddc_modes() local
297 edid = drm_dp_mst_get_edid(connector, &intel_dp->mst_mgr, intel_connector->port); in intel_dp_mst_get_ddc_modes()
311 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_dp_mst_detect() local
313 return drm_dp_mst_detect_port(connector, &intel_dp->mst_mgr, intel_connector->port); in intel_dp_mst_detect()
370 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_mst_atomic_best_encoder() local
373 return &intel_dp->mst_encoders[crtc->pipe]->base.base; in intel_mst_atomic_best_encoder()
379 struct intel_dp *intel_dp = intel_connector->mst_port; in intel_mst_best_encoder() local
380 return &intel_dp->mst_encoders[0]->base.base; in intel_mst_best_encoder()
431 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr); in intel_dp_add_mst_connector() local
432 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); in intel_dp_add_mst_connector()
448 intel_connector->mst_port = intel_dp; in intel_dp_add_mst_connector()
453 &intel_dp->mst_encoders[i]->base.base); in intel_dp_add_mst_connector()
455 intel_dp_add_properties(intel_dp, connector); in intel_dp_add_mst_connector()
506 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr); in intel_dp_mst_hotplug() local
507 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); in intel_dp_mst_hotplug()
559 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_create_fake_mst_encoders() local
562 intel_dp->mst_encoders[i] = intel_dp_create_fake_mst_encoder(intel_dig_port, i); in intel_dp_create_fake_mst_encoders()
569 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_mst_encoder_init() local
573 intel_dp->can_mst = true; in intel_dp_mst_encoder_init()
574 intel_dp->mst_mgr.cbs = &mst_cbs; in intel_dp_mst_encoder_init()
578 …ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, dev->dev, &intel_dp->aux, 16, 3, conn_base_… in intel_dp_mst_encoder_init()
580 intel_dp->can_mst = false; in intel_dp_mst_encoder_init()
589 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_mst_encoder_cleanup() local
591 if (!intel_dp->can_mst) in intel_dp_mst_encoder_cleanup()
594 drm_dp_mst_topology_mgr_destroy(&intel_dp->mst_mgr); in intel_dp_mst_encoder_cleanup()