Home
last modified time | relevance | path

Searched refs:DC_OK (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_dpia.c122 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link()
127 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link()
132 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link()
140 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link()
165 return (set_config_result == SET_CONFIG_ACK_RECEIVED) ? DC_OK : DC_ERROR_UNEXPECTED; in core_link_send_set_config()
204 enum dc_status status = DC_OK; in convert_trng_ptn_to_trng_stg()
334 if (status == DC_OK) in dpia_training_cr_non_transparent()
345 if (status != DC_OK) { in dpia_training_cr_non_transparent()
353 if (status != DC_OK) { in dpia_training_cr_non_transparent()
358 if (status != DC_OK) { in dpia_training_cr_non_transparent()
[all …]
Dlink_dp_training_128b_132b.c82 enum dc_status status = DC_OK; in dp_perform_128b_132b_channel_eq_done_sequence()
116 if (status != DC_OK) { in dp_perform_128b_132b_channel_eq_done_sequence()
135 if (status != DC_OK) { in dp_perform_128b_132b_channel_eq_done_sequence()
162 enum dc_status status = DC_OK; in dp_perform_128b_132b_cds_done_sequence()
179 if (status != DC_OK) { in dp_perform_128b_132b_cds_done_sequence()
Dlink_edp_panel_control.c75 if (result == DC_OK && in dp_set_panel_mode()
87 ASSERT(result == DC_OK); in dp_set_panel_mode()
175 sizeof(dpcd_backlight_set)) != DC_OK) in edp_set_backlight_level_nits()
179 &backlight_control, 1) != DC_OK) in edp_set_backlight_level_nits()
193 sizeof(backlight_enable)) != DC_OK) in edp_set_backlight_level_nits()
198 sizeof(struct target_luminance_value)) != DC_OK) in edp_set_backlight_level_nits()
244 &backlight_enable, 1) != DC_OK) in edp_backlight_enable_aux()
423 enum dc_status result = DC_OK; in edp_receiver_ready_T9()
428 if (result == DC_OK && edpRev >= DP_EDP_12) { in edp_receiver_ready_T9()
434 if (result != DC_OK) in edp_receiver_ready_T9()
[all …]
Dlink_dp_capability.c1015 while (status != DC_OK && aux_channel_retry_cnt < 10) { in wake_up_aux_channel()
1024 if (status != DC_OK || dpcd_power_state == DP_SET_POWER_D3) { in wake_up_aux_channel()
1030 if (status != DC_OK) { in wake_up_aux_channel()
1048 return DC_OK; in wake_up_aux_channel()
1088 det_caps, sizeof(det_caps)) == DC_OK) { in get_active_converter_info()
1147 &hdmi_encoded_link_bw.raw, sizeof(hdmi_encoded_link_bw)) == DC_OK) { in get_active_converter_info()
1254 if (status == DC_OK) in dp_overwrite_extended_receiver_cap()
1419 enum dc_status st = DC_OK; in read_is_mst_supported()
1434 if (st == DC_OK && rev.raw >= DPCD_REV_12) { in read_is_mst_supported()
1438 if (st == DC_OK && cap.bits.MST_CAP == 1) in read_is_mst_supported()
[all …]
Dlink_dpcd.c56 return DC_OK; in internal_link_read_dpcd()
71 return DC_OK; in internal_link_write_dpcd()
219 if (status != DC_OK) in core_link_read_dpcd()
242 if (status != DC_OK) in core_link_write_dpcd()
Dlink_dp_irq_handler.c107 if (dpcd_result != DC_OK) { in dp_parse_link_loss_status()
284 if (retval == DC_OK) { in read_dpcd204h_on_irq_hpd()
324 if (retval != DC_OK) in dp_read_hpd_rx_irq_data()
392 if (result != DC_OK) { in dp_handle_hpd_rx_irq()
Dlink_dp_phy.c141 enum dc_status status = DC_OK; in dp_set_fec_ready()
158 if (status == DC_OK) { in dp_set_fec_ready()
Dlink_dp_dpia_bw.c315 sizeof(uint8_t)) == DC_OK) in link_dp_dpia_set_dptx_usb4_bw_alloc_support()
322 sizeof(uint8_t)) == DC_OK) in link_dp_dpia_set_dptx_usb4_bw_alloc_support()
333 sizeof(uint8_t)) != DC_OK) { in link_dp_dpia_set_dptx_usb4_bw_alloc_support()
Dlink_dp_dpia.c51 enum dc_status status = DC_OK; in dpcd_get_tunneling_device_data()
Dlink_dp_training.c583 if (status != DC_OK) { in dp_get_lane_status_and_lane_adjust()
893 if (result == DC_OK) { in configure_lttpr_mode_non_transparent()
907 if (result == DC_OK) { in configure_lttpr_mode_non_transparent()
938 enum dc_status status = DC_OK; in dpcd_configure_lttpr_mode()
983 if ((core_link_read_dpcd(link, DP_SINK_STATUS, &sink_status, 1) == DC_OK) && in dpcd_exit_training_mode()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c91 if (status == DC_OK && dpcd_power_state == DP_POWER_STATE_D0) in link_blank_all_dp_displays()
112 if (status == DC_OK && dpcd_power_state == DP_POWER_STATE_D0) in link_blank_all_edp_displays()
1332 return DC_OK; in deallocate_mst_payload_with_temp_drm_wa()
1433 return DC_OK; in deallocate_mst_payload()
1537 return DC_OK; in allocate_mst_payload()
1631 1) == DC_OK) { in write_128b_132b_sst_payload_allocation_table()
1644 1) != DC_OK) { in write_128b_132b_sst_payload_allocation_table()
1747 return DC_OK; in update_sst_payload()
1836 return DC_OK; in link_reduce_mst_payload()
1923 return DC_OK; in link_increase_mst_payload()
[all …]
Dlink_validation.c323 return DC_OK; in link_validate_mode_timing()
346 return DC_OK; in link_validate_mode_timing()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dcore_status.h30 DC_OK = 1, enumerator
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/hdcp/
Dhdcp_msg.c275 if (status != DC_OK) in dpcd_access_helper()
299 if (status != DC_OK) in dpcd_access_helper()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_dpia.c47 ASSERT(status == DC_OK); in update_dpia_stream_allocation_table()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c836 return DC_OK; in build_mapped_resource()
891 return DC_OK; in dce100_validate_global()
903 if (result == DC_OK) in dce100_add_stream_to_ctx()
906 if (result == DC_OK) in dce100_add_stream_to_ctx()
925 return DC_OK; in dce100_validate_plane()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1555 return DC_OK; in resource_build_scaling_params_for_context()
2433 if (res != DC_OK) in dc_add_stream_to_ctx()
2521 return DC_OK; in dc_remove_stream_from_ctx()
2819 return DC_OK; in resource_map_pool_resources()
3030 if (res != DC_OK) in dc_validate_with_context()
3053 if (res != DC_OK) in dc_validate_with_context()
3078 if (res != DC_OK) in dc_validate_with_context()
3111 if (result != DC_OK) in dc_validate_global_state()
3128 if (result != DC_OK) in dc_validate_global_state()
3155 if (result == DC_OK) in dc_validate_global_state()
[all …]
Ddc_debug.c377 case DC_OK: in dc_status_to_str()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1064 return DC_OK; in build_mapped_resource()
1076 if (result == DC_OK) in dcn10_add_stream_to_ctx()
1080 if (result == DC_OK) in dcn10_add_stream_to_ctx()
1157 return DC_OK; in dcn10_validate_plane()
1215 return DC_OK; in dcn10_validate_global()
1231 return DC_OK; in dcn10_patch_unknown_plane_state()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c885 return DC_OK; in build_mapped_resource()
992 return DC_OK; in resource_map_phy_clock_resources()
1024 if (result == DC_OK) in dce112_add_stream_to_ctx()
1028 if (result == DC_OK) in dce112_add_stream_to_ctx()
1041 return DC_OK; in dce112_validate_global()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c960 return DC_OK; in build_mapped_resource()
1044 return DC_OK; in dce110_validate_plane()
1099 return DC_OK; in dce110_validate_global()
1111 if (result == DC_OK) in dce110_add_stream_to_ctx()
1115 if (result == DC_OK) in dce110_add_stream_to_ctx()
Ddce110_hw_sequencer.c1472 return DC_OK; in dce110_enable_stream_timing()
1600 return DC_OK; in apply_single_controller_ctx_to_hw()
2254 return DC_OK; in dce110_apply_ctx_to_hw()
2309 if (DC_OK != status) in dce110_apply_ctx_to_hw()
2323 return DC_OK; in dce110_apply_ctx_to_hw()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1291 return DC_OK; in build_pipe_hw_param()
1296 enum dc_status status = DC_OK; in dcn20_build_mapped_resource()
1364 enum dc_status result = DC_OK; in dcn20_add_dsc_to_stream_resource()
1413 return DC_OK; in remove_dsc_from_stream_resource()
1423 if (result == DC_OK) in dcn20_add_stream_to_ctx()
1427 if (result == DC_OK && dc_stream->timing.flags.DSC) in dcn20_add_stream_to_ctx()
1430 if (result == DC_OK) in dcn20_add_stream_to_ctx()
1439 enum dc_status result = DC_OK; in dcn20_remove_stream_from_ctx()
2211 return DC_OK; in dcn20_patch_unknown_plane_state()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crtc.c417 if (dc_validate_stream(dc, dm_crtc_state->stream) == DC_OK) in dm_crtc_helper_atomic_check()
Damdgpu_dm_mst_types.c1331 res_pool->funcs->remove_stream_from_ctx(stream->ctx->dc, dc_state, stream) != DC_OK) in compute_mst_dsc_configs_for_state()
1353 if (dc_stream_add_dsc_to_resource(stream->ctx->dc, dc_state, stream) != DC_OK) in compute_mst_dsc_configs_for_state()
1664 return DC_OK; in dm_dp_mst_is_port_support_mode()

12