Home
last modified time | relevance | path

Searched refs:dp_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Datombios_dp.c553 static void radeon_dp_update_vs_emph(struct radeon_dp_link_train_info *dp_info) in radeon_dp_update_vs_emph() argument
556 atombios_dig_transmitter_setup(dp_info->encoder, in radeon_dp_update_vs_emph()
558 0, dp_info->train_set[0]); /* sets all lanes at once */ in radeon_dp_update_vs_emph()
561 drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, in radeon_dp_update_vs_emph()
562 dp_info->train_set, dp_info->dp_lane_count); in radeon_dp_update_vs_emph()
565 static void radeon_dp_set_tp(struct radeon_dp_link_train_info *dp_info, int tp) in radeon_dp_set_tp() argument
570 if (ASIC_IS_DCE4(dp_info->rdev) || !dp_info->use_dpencoder) { in radeon_dp_set_tp()
582 atombios_dig_encoder_setup(dp_info->encoder, rtp, 0); in radeon_dp_set_tp()
592 radeon_dp_encoder_service(dp_info->rdev, ATOM_DP_ACTION_TRAINING_PATTERN_SEL, in radeon_dp_set_tp()
593 dp_info->dp_clock, dp_info->enc_id, rtp); in radeon_dp_set_tp()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c503 amdgpu_atombios_dp_update_vs_emph(struct amdgpu_atombios_dp_link_train_info *dp_info) in amdgpu_atombios_dp_update_vs_emph() argument
506 amdgpu_atombios_encoder_setup_dig_transmitter(dp_info->encoder, in amdgpu_atombios_dp_update_vs_emph()
508 0, dp_info->train_set[0]); /* sets all lanes at once */ in amdgpu_atombios_dp_update_vs_emph()
511 drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, in amdgpu_atombios_dp_update_vs_emph()
512 dp_info->train_set, dp_info->dp_lane_count); in amdgpu_atombios_dp_update_vs_emph()
516 amdgpu_atombios_dp_set_tp(struct amdgpu_atombios_dp_link_train_info *dp_info, int tp) in amdgpu_atombios_dp_set_tp() argument
532 amdgpu_atombios_encoder_setup_dig_encoder(dp_info->encoder, rtp, 0); in amdgpu_atombios_dp_set_tp()
535 drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); in amdgpu_atombios_dp_set_tp()
539 amdgpu_atombios_dp_link_train_init(struct amdgpu_atombios_dp_link_train_info *dp_info) in amdgpu_atombios_dp_link_train_init() argument
541 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(dp_info->encoder); in amdgpu_atombios_dp_link_train_init()
[all …]