Home
last modified time | relevance | path

Searched refs:aconnector (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c123 struct amdgpu_dm_connector *aconnector = in dm_dp_mst_connector_destroy() local
126 if (aconnector->dc_sink) { in dm_dp_mst_connector_destroy()
127 dc_link_remove_remote_sink(aconnector->dc_link, in dm_dp_mst_connector_destroy()
128 aconnector->dc_sink); in dm_dp_mst_connector_destroy()
129 dc_sink_release(aconnector->dc_sink); in dm_dp_mst_connector_destroy()
132 kfree(aconnector->edid); in dm_dp_mst_connector_destroy()
135 drm_dp_mst_put_port_malloc(aconnector->mst_output_port); in dm_dp_mst_connector_destroy()
136 kfree(aconnector); in dm_dp_mst_connector_destroy()
161 struct amdgpu_dm_connector *aconnector = in amdgpu_dm_mst_connector_early_unregister() local
163 struct drm_dp_mst_port *port = aconnector->mst_output_port; in amdgpu_dm_mst_connector_early_unregister()
[all …]
Damdgpu_dm_helpers.c100 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() local
101 struct drm_connector *connector = &aconnector->base; in dm_helpers_parse_edid_caps()
262 struct amdgpu_dm_connector *aconnector; in dm_helpers_dp_mst_write_payload_allocation_table() local
267 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_write_payload_allocation_table()
274 if (!aconnector || !aconnector->mst_root) in dm_helpers_dp_mst_write_payload_allocation_table()
277 mst_mgr = &aconnector->mst_root->mst_mgr; in dm_helpers_dp_mst_write_payload_allocation_table()
279 new_payload = drm_atomic_get_mst_payload_state(mst_state, aconnector->mst_output_port); in dm_helpers_dp_mst_write_payload_allocation_table()
329 struct amdgpu_dm_connector *aconnector; in dm_helpers_dp_mst_poll_for_allocation_change_trigger() local
333 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_poll_for_allocation_change_trigger()
335 if (!aconnector || !aconnector->mst_root) in dm_helpers_dp_mst_poll_for_allocation_change_trigger()
[all …]
Damdgpu_dm_debugfs.c341 static bool dp_mst_is_end_device(struct amdgpu_dm_connector *aconnector) in dp_mst_is_end_device() argument
347 if (aconnector->mst_root && aconnector->mst_root->mst_mgr.mst_state) { in dp_mst_is_end_device()
348 mgr = &aconnector->mst_root->mst_mgr; in dp_mst_is_end_device()
349 port = aconnector->mst_output_port; in dp_mst_is_end_device()
388 struct amdgpu_dm_connector *aconnector = file_inode(f)->i_private; in dp_mst_link_setting() local
389 struct dc_link *link = aconnector->dc_link; in dp_mst_link_setting()
390 struct amdgpu_device *adev = drm_to_adev(aconnector->base.dev); in dp_mst_link_setting()
401 if (!dp_mst_is_end_device(aconnector)) in dp_mst_link_setting()
472 mutex_lock(&aconnector->base.dev->mode_config.mutex); in dp_mst_link_setting()
473 aconnector->base.force = DRM_FORCE_OFF; in dp_mst_link_setting()
[all …]
Damdgpu_dm_hdcp.c166 struct amdgpu_dm_connector *aconnector, in hdcp_update_display() argument
173 unsigned int conn_index = aconnector->base.index; in hdcp_update_display()
176 hdcp_w->aconnector[conn_index] = aconnector; in hdcp_update_display()
217 struct amdgpu_dm_connector *aconnector) in hdcp_remove_display() argument
220 struct drm_connector_state *conn_state = aconnector->base.state; in hdcp_remove_display()
221 unsigned int conn_index = aconnector->base.index; in hdcp_remove_display()
224 hdcp_w->aconnector[conn_index] = aconnector; in hdcp_remove_display()
235 aconnector->base.index, conn_state->hdcp_content_type, in hdcp_remove_display()
236 aconnector->base.dpms); in hdcp_remove_display()
239 mod_hdcp_remove_display(&hdcp_w->hdcp, aconnector->base.index, &hdcp_w->output); in hdcp_remove_display()
[all …]
Damdgpu_dm.c178 …s_freesync_video_mode(const struct drm_display_mode *mode, struct amdgpu_dm_connector *aconnector);
200 static void update_subconnector_property(struct amdgpu_dm_connector *aconnector) in update_subconnector_property() argument
202 struct dc_link *link = aconnector->dc_link; in update_subconnector_property()
203 struct drm_connector *connector = &aconnector->base; in update_subconnector_property()
209 if (aconnector->dc_sink) in update_subconnector_property()
243 static void handle_hpd_irq_helper(struct amdgpu_dm_connector *aconnector);
752 struct amdgpu_dm_connector *aconnector; in dmub_hpd_callback() local
789 aconnector = to_amdgpu_dm_connector(connector); in dmub_hpd_callback()
790 if (link && aconnector->dc_link == link) { in dmub_hpd_callback()
799 hpd_aconnector = aconnector; in dmub_hpd_callback()
[all …]
Damdgpu_dm_replay.c41 bool amdgpu_dm_link_supports_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_link_supports_replay() argument
43 struct dm_connector_state *state = to_dm_connector_state(aconnector->base.state); in amdgpu_dm_link_supports_replay()
50 if (!aconnector->vsdb_info.replay_mode) in amdgpu_dm_link_supports_replay()
78 bool amdgpu_dm_set_replay_caps(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_set_replay_caps() argument
94 if (!amdgpu_dm_link_supports_replay(link, aconnector)) in amdgpu_dm_set_replay_caps()
120 bool amdgpu_dm_link_setup_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_link_setup_replay() argument
124 if (link == NULL || aconnector == NULL) in amdgpu_dm_link_setup_replay()
135 …config->replay_support_fast_resync_in_ultra_sleep_mode = aconnector->max_vfreq >= 2 * aconnector->… in amdgpu_dm_link_setup_replay()
Damdgpu_dm_replay.h41 bool amdgpu_dm_link_supports_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector);
43 bool amdgpu_dm_set_replay_caps(struct dc_link *link, struct amdgpu_dm_connector *aconnector);
44 bool amdgpu_dm_link_setup_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector);
Damdgpu_dm_mst_types.h65 struct amdgpu_dm_connector *aconnector,
79 struct amdgpu_dm_connector *aconnector; member
93 struct amdgpu_dm_connector *aconnector,
Damdgpu_dm_hdcp.h46 struct amdgpu_dm_connector *aconnector[AMDGPU_DM_MAX_DISPLAY_INDEX]; member
79 struct amdgpu_dm_connector *aconnector,
Damdgpu_dm.h240 struct amdgpu_dm_connector *aconnector; member
942 struct amdgpu_dm_connector *aconnector,
977 struct amdgpu_dm_connector *aconnector);
988 create_validate_stream_for_sink(struct amdgpu_dm_connector *aconnector,