Lines Matching refs:conn_state
1313 const struct drm_connector_state *conn_state) in intel_dp_mode_clock() argument
1315 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_mode_clock()
1329 const struct drm_connector_state *conn_state, in intel_dp_compute_link_config_wide() argument
1332 int bpp, i, lane_count, clock = intel_dp_mode_clock(pipe_config, conn_state); in intel_dp_compute_link_config_wide()
1469 struct drm_connector_state *conn_state, in intel_dp_dsc_compute_config() argument
1485 pipe_bpp = intel_dp_dsc_compute_bpp(intel_dp, conn_state->max_requested_bpc); in intel_dp_dsc_compute_config()
1582 struct drm_connector_state *conn_state, in intel_dp_compute_link_config() argument
1638 ret = intel_dp_compute_link_config_wide(intel_dp, pipe_config, conn_state, &limits); in intel_dp_compute_link_config()
1645 conn_state, &limits); in intel_dp_compute_link_config()
1679 const struct drm_connector_state *conn_state) in intel_dp_limited_color_range() argument
1682 to_intel_digital_connector_state(conn_state); in intel_dp_limited_color_range()
1723 const struct drm_connector_state *conn_state, in intel_dp_compute_vsc_colorimetry() argument
1750 switch (conn_state->colorspace) { in intel_dp_compute_vsc_colorimetry()
1804 const struct drm_connector_state *conn_state) in intel_dp_compute_vsc_sdp() argument
1812 if (!intel_dp_needs_vsc_sdp(crtc_state, conn_state)) in intel_dp_compute_vsc_sdp()
1817 intel_dp_compute_vsc_colorimetry(crtc_state, conn_state, in intel_dp_compute_vsc_sdp()
1823 const struct drm_connector_state *conn_state, in intel_dp_compute_psr_vsc_sdp() argument
1830 intel_dp_needs_vsc_sdp(crtc_state, conn_state)) { in intel_dp_compute_psr_vsc_sdp()
1832 intel_dp_compute_vsc_colorimetry(crtc_state, conn_state, in intel_dp_compute_psr_vsc_sdp()
1858 const struct drm_connector_state *conn_state) in intel_dp_compute_hdr_metadata_infoframe_sdp() argument
1864 if (!conn_state->hdr_output_metadata) in intel_dp_compute_hdr_metadata_infoframe_sdp()
1867 ret = drm_hdmi_infoframe_set_hdr_metadata(drm_infoframe, conn_state); in intel_dp_compute_hdr_metadata_infoframe_sdp()
1955 const struct drm_connector_state *conn_state) in intel_dp_has_audio() argument
1960 to_intel_digital_connector_state(conn_state); in intel_dp_has_audio()
1974 struct drm_connector_state *conn_state, in intel_dp_compute_output_format() argument
1995 ret = intel_dp_compute_link_config(encoder, crtc_state, conn_state, in intel_dp_compute_output_format()
2004 ret = intel_dp_compute_link_config(encoder, crtc_state, conn_state, in intel_dp_compute_output_format()
2014 struct drm_connector_state *conn_state) in intel_dp_compute_config() argument
2026 pipe_config->has_audio = intel_dp_has_audio(encoder, pipe_config, conn_state); in intel_dp_compute_config()
2052 ret = intel_dp_compute_output_format(encoder, pipe_config, conn_state, true); in intel_dp_compute_config()
2054 ret = intel_dp_compute_output_format(encoder, pipe_config, conn_state, false); in intel_dp_compute_config()
2060 ret = intel_panel_fitting(pipe_config, conn_state); in intel_dp_compute_config()
2066 intel_dp_limited_color_range(pipe_config, conn_state); in intel_dp_compute_config()
2108 intel_vrr_compute_config(pipe_config, conn_state); in intel_dp_compute_config()
2109 intel_psr_compute_config(intel_dp, pipe_config, conn_state); in intel_dp_compute_config()
2111 intel_dp_compute_vsc_sdp(intel_dp, pipe_config, conn_state); in intel_dp_compute_config()
2112 intel_dp_compute_hdr_metadata_infoframe_sdp(intel_dp, pipe_config, conn_state); in intel_dp_compute_config()
2134 const struct drm_connector_state *conn_state) in intel_edp_backlight_on() argument
2136 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(conn_state->best_encoder)); in intel_edp_backlight_on()
2144 intel_backlight_enable(crtc_state, conn_state); in intel_edp_backlight_on()
3033 const struct drm_connector_state *conn_state) in intel_dp_needs_vsc_sdp() argument
3043 switch (conn_state->colorspace) { in intel_dp_needs_vsc_sdp()
3251 const struct drm_connector_state *conn_state) in intel_dp_set_infoframes() argument
3948 const struct drm_connector_state *conn_state) in intel_dp_has_connector() argument
3954 if (!conn_state->best_encoder) in intel_dp_has_connector()
3959 if (conn_state->best_encoder == &encoder->base) in intel_dp_has_connector()
3965 if (conn_state->best_encoder == &encoder->base) in intel_dp_has_connector()
3988 struct drm_connector_state *conn_state = in intel_dp_prep_link_retrain() local
3993 if (!intel_dp_has_connector(intel_dp, conn_state)) in intel_dp_prep_link_retrain()
3996 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_prep_link_retrain()
4011 if (conn_state->commit && in intel_dp_prep_link_retrain()
4012 !try_wait_for_completion(&conn_state->commit->hw_done)) in intel_dp_prep_link_retrain()
4117 struct drm_connector_state *conn_state = in intel_dp_prep_phy_test() local
4122 if (!intel_dp_has_connector(intel_dp, conn_state)) in intel_dp_prep_phy_test()
4125 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_prep_phy_test()
4140 if (conn_state->commit && in intel_dp_prep_phy_test()
4141 !try_wait_for_completion(&conn_state->commit->hw_done)) in intel_dp_prep_phy_test()
4844 struct drm_connector_state *conn_state; in intel_modeset_tile_group() local
4852 conn_state = drm_atomic_get_connector_state(&state->base, in intel_modeset_tile_group()
4854 if (IS_ERR(conn_state)) { in intel_modeset_tile_group()
4855 ret = PTR_ERR(conn_state); in intel_modeset_tile_group()
4859 crtc = to_intel_crtc(conn_state->crtc); in intel_modeset_tile_group()
4947 struct drm_connector_state *conn_state = drm_atomic_get_new_connector_state(_state, conn); in intel_dp_connector_atomic_check() local
4957 ret = drm_dp_mst_root_conn_atomic_check(conn_state, &intel_dp->mst_mgr); in intel_dp_connector_atomic_check()