Home
last modified time | relevance | path

Searched refs:link_srv (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c59 static void construct_link_service_factory(struct link_service *link_srv) in construct_link_service_factory() argument
62 link_srv->create_link = link_create; in construct_link_service_factory()
63 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
71 static void construct_link_service_detection(struct link_service *link_srv) in construct_link_service_detection() argument
73 link_srv->detect_link = link_detect; in construct_link_service_detection()
74 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
75 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
76 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
77 link_srv->get_hpd_state = link_get_hpd_state; in construct_link_service_detection()
78 link_srv->enable_hpd = link_enable_hpd; in construct_link_service_detection()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_irq_test.c2152 struct link_service *link_srv; in dm_test_hpd_rx_offload_work_no_connection() local
2170 link_srv = kunit_kzalloc(test, sizeof(*link_srv), GFP_KERNEL); in dm_test_hpd_rx_offload_work_no_connection()
2171 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, link_srv); in dm_test_hpd_rx_offload_work_no_connection()
2172 link_srv->detect_connection_type = dm_test_detect_connection_none; in dm_test_hpd_rx_offload_work_no_connection()
2173 dc->link_srv = link_srv; in dm_test_hpd_rx_offload_work_no_connection()
2204 struct link_service *link_srv; in dm_test_hpd_rx_offload_work_automated_test() local
2231 link_srv = kunit_kzalloc(test, sizeof(*link_srv), GFP_KERNEL); in dm_test_hpd_rx_offload_work_automated_test()
2232 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, link_srv); in dm_test_hpd_rx_offload_work_automated_test()
2236 link_srv->detect_connection_type = dm_test_detect_connection_single; in dm_test_hpd_rx_offload_work_automated_test()
2237 link_srv->dp_handle_automated_test = dm_test_dp_handle_automated_test; in dm_test_hpd_rx_offload_work_automated_test()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c118 dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
119 dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
138 dc->link_srv->edp_set_psr_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
140 dc->link_srv->edp_set_replay_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c211 dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) in dcn60_apply_single_controller_ctx_to_hw()
249 if (!(hws->wa.dp_hpo_and_otg_sequence && dc->link_srv->dp_is_128b_132b_signal(pipe_ctx))) in dcn60_apply_single_controller_ctx_to_hw()
280 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_CONNECT_DIG_FE_OTG); in dcn60_apply_single_controller_ctx_to_hw()
292 dc->link_srv->set_dsc_enable(pipe_ctx, true); in dcn60_apply_single_controller_ctx_to_hw()
295 dc->link_srv->set_dpms_on(context, pipe_ctx); in dcn60_apply_single_controller_ctx_to_hw()
302 if (hws->wa.dp_hpo_and_otg_sequence && dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn60_apply_single_controller_ctx_to_hw()
419 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn60_setup_audio_dto()
625 dc->link_srv->blank_all_dp_displays(dc); in dcn60_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c171 dc->link_srv->destroy_link(&dc->links[i]); in destroy_links()
254 link = dc->link_srv->create_link(&link_init_params); in create_links()
277 link = dc->link_srv->create_link(&link_init_params); in create_links()
953 if (dc->link_srv) in dc_destruct()
954 link_destroy_link_service(&dc->link_srv); in dc_destruct()
1030 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
1031 if (!dc->link_srv) in dc_construct_ctx()
1554 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
2134 if (dc->link_srv->edp_is_ilr_optimization_required(link, crtc_timing)) { in dc_validate_boot_timing()
4387 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
[all …]
H A Ddc_resource.c3219 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(otg_master)) { in resource_remove_otg_master_for_stream_output()
4298 if (!dc->link_srv->dp_decide_link_settings(stream, in resource_map_pool_resources()
4302 dc->link_srv->dp_decide_tunnel_settings(stream, in resource_map_pool_resources()
4305 if (dc->link_srv->dp_get_encoding_format( in resource_map_pool_resources()
5575 res = dc->link_srv->validate_mode_timing(stream, in dc_validate_stream()
5727 if (dc->link_srv->dp_get_encoding_format(link_settings) == DP_128b_132b_ENCODING) { in get_temp_dp_link_res()
5731 } else if (dc->link_srv->dp_get_encoding_format(link_settings) == DP_8b_10b_ENCODING && in get_temp_dp_link_res()
5981 …if (dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings) == DP_128b_132b_… in update_dp_encoder_resources_for_test_harness()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c233 has_active_hpo = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(old_pipe) && in dcn35_disable_otg_wa()
234 dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(new_pipe); in dcn35_disable_otg_wa()
242 !dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe)) { in dcn35_disable_otg_wa()
277 dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn35_update_clocks_update_dtb_dto()
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower.c481 aux_inst = link->dc->link_srv->get_ddc_aux_inst(link); in mod_power_notify_mode_change()
H A Dpower_abm.c1044 aux_inst = link->dc->link_srv->get_ddc_aux_inst(link); in mod_power_set_backlight_nits()
1131 aux_inst = link->dc->link_srv->get_ddc_aux_inst(link); in mod_power_set_backlight_percent()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c1200 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn303_resource_destruct()
1586 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn303_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c1256 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn302_resource_destruct()
1654 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn302_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/
H A Ddcn60_clk_mgr.c263 use_hpo_encoder = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(otg_master); in dcn60_update_clocks_update_dtb_dto()
272 dccg->ctx->dc->link_srv->dp_get_encoding_format( in dcn60_update_clocks_update_dtb_dto()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/
H A Ddcn50_hwseq.c622 dc->link_srv->blank_all_dp_displays(dc); in dcn50_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1644 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn321_resource_destruct()
2191 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn321_resource_construct()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c3286 link->dc->link_srv->edp_replay_residency(link, &residency, is_start, PR_RESIDENCY_MODE_PHY); in replay_set_residency()
3315 link->dc->link_srv->edp_replay_residency(link, &residency, false, PR_RESIDENCY_MODE_PHY); in replay_get_residency()
3377 link->dc->link_srv->edp_get_psr_residency(link, &residency, PSR_RESIDENCY_MODE_PHY); in psr_read_residency()
H A Damdgpu_dm_connector.c3104 if (dc->link_srv->dp_get_encoding_format(verified_link_cap) == DP_128b_132b_ENCODING) in amdgpu_dm_connector_get_modes()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/
H A Ddcn60_resource.c1777 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn60_resource_destruct()
2321 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn60_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1675 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn401_resource_destruct()
2414 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn401_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1353 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn30_resource_destruct()
2777 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn30_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1670 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn32_resource_destruct()
2703 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn32_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c734 dc->link_srv->blank_all_dp_displays(dc); in dcn30_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/
H A Ddcn42_resource.c1655 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn42_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/
H A Ddcn42b_resource.c1644 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn42b_resource_destruct()