Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c120 struct amdgpu_dm_connector *aconnector = in dm_dp_mst_connector_destroy() local
123 if (aconnector->dc_sink) { in dm_dp_mst_connector_destroy()
124 dc_link_remove_remote_sink(aconnector->dc_link, in dm_dp_mst_connector_destroy()
125 aconnector->dc_sink); in dm_dp_mst_connector_destroy()
126 dc_sink_release(aconnector->dc_sink); in dm_dp_mst_connector_destroy()
129 kfree(aconnector->edid); in dm_dp_mst_connector_destroy()
132 drm_dp_mst_put_port_malloc(aconnector->mst_output_port); in dm_dp_mst_connector_destroy()
133 kfree(aconnector); in dm_dp_mst_connector_destroy()
158 struct amdgpu_dm_connector *aconnector = in amdgpu_dm_mst_connector_early_unregister() local
160 struct drm_dp_mst_port *port = aconnector->mst_output_port; in amdgpu_dm_mst_connector_early_unregister()
[all …]
H A Damdgpu_dm_helpers.c97 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() local
98 struct drm_connector *connector = &aconnector->base; in dm_helpers_parse_edid_caps()
261 struct amdgpu_dm_connector *aconnector; in dm_helpers_dp_mst_write_payload_allocation_table() local
266 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; in dm_helpers_dp_mst_write_payload_allocation_table()
273 if (!aconnector || !aconnector->mst_root) in dm_helpers_dp_mst_write_payload_allocation_table()
276 mst_mgr = &aconnector->mst_root->mst_mgr; in dm_helpers_dp_mst_write_payload_allocation_table()
280 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 …]
H A Damdgpu_dm_debugfs.c339 static bool dp_mst_is_end_device(struct amdgpu_dm_connector *aconnector) in dp_mst_is_end_device() argument
345 if (aconnector->mst_root && aconnector->mst_root->mst_mgr.mst_state) { in dp_mst_is_end_device()
346 mgr = &aconnector->mst_root->mst_mgr; in dp_mst_is_end_device()
347 port = aconnector->mst_output_port; in dp_mst_is_end_device()
386 struct amdgpu_dm_connector *aconnector = file_inode(f)->i_private; in dp_mst_link_setting() local
387 struct dc_link *link = aconnector->dc_link; in dp_mst_link_setting()
388 struct amdgpu_device *adev = drm_to_adev(aconnector->base.dev); in dp_mst_link_setting()
399 if (!dp_mst_is_end_device(aconnector)) in dp_mst_link_setting()
470 mutex_lock(&aconnector->base.dev->mode_config.mutex); in dp_mst_link_setting()
471 aconnector->base.force = DRM_FORCE_OFF; in dp_mst_link_setting()
[all …]
H A 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 …]
H A Damdgpu_dm.c163 …s_freesync_video_mode(const struct drm_display_mode *mode, struct amdgpu_dm_connector *aconnector);
184 static void update_subconnector_property(struct amdgpu_dm_connector *aconnector) in update_subconnector_property() argument
186 struct dc_link *link = aconnector->dc_link; in update_subconnector_property()
187 struct drm_connector *connector = &aconnector->base; in update_subconnector_property()
193 if (aconnector->dc_sink) in update_subconnector_property()
227 static void handle_hpd_irq_helper(struct amdgpu_dm_connector *aconnector);
696 struct amdgpu_dm_connector *aconnector; in dmub_hpd_callback() local
729 aconnector = to_amdgpu_dm_connector(connector); in dmub_hpd_callback()
730 if (link && aconnector->dc_link == link) { in dmub_hpd_callback()
739 hpd_aconnector = aconnector; in dmub_hpd_callback()
[all …]
H A Damdgpu_dm_replay.c40 static bool link_supports_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in link_supports_replay() argument
42 struct dm_connector_state *state = to_dm_connector_state(aconnector->base.state); in link_supports_replay()
49 if (!aconnector->vsdb_info.replay_mode) in link_supports_replay()
72 bool amdgpu_dm_setup_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector) in amdgpu_dm_setup_replay() argument
87 if (!link_supports_replay(link, aconnector)) in amdgpu_dm_setup_replay()
94 …pr_config.replay_timing_sync_supported = aconnector->max_vfreq >= 2 * aconnector->min_vfreq ? true… in amdgpu_dm_setup_replay()
H A Damdgpu_dm_mst_types.h65 struct amdgpu_dm_connector *aconnector,
79 struct amdgpu_dm_connector *aconnector; member
93 struct amdgpu_dm_connector *aconnector,
H A Damdgpu_dm_hdcp.h46 struct amdgpu_dm_connector *aconnector[AMDGPU_DM_MAX_DISPLAY_INDEX]; member
79 struct amdgpu_dm_connector *aconnector,
H A Damdgpu_dm.h214 struct amdgpu_dm_connector *aconnector; member
791 struct amdgpu_dm_connector *aconnector,
818 struct amdgpu_dm_connector *aconnector);
831 create_validate_stream_for_sink(struct amdgpu_dm_connector *aconnector,
H A Damdgpu_dm_replay.h43 bool amdgpu_dm_setup_replay(struct dc_link *link, struct amdgpu_dm_connector *aconnector);