/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_writeback.c | 243 int drm_writeback_set_fb(struct drm_connector_state *conn_state, in drm_writeback_set_fb() argument 246 WARN_ON(conn_state->connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK); in drm_writeback_set_fb() 248 if (!conn_state->writeback_job) { in drm_writeback_set_fb() 249 conn_state->writeback_job = in drm_writeback_set_fb() 250 kzalloc(sizeof(*conn_state->writeback_job), GFP_KERNEL); in drm_writeback_set_fb() 251 if (!conn_state->writeback_job) in drm_writeback_set_fb() 254 conn_state->writeback_job->connector = in drm_writeback_set_fb() 255 drm_connector_to_writeback(conn_state->connector); in drm_writeback_set_fb() 258 drm_framebuffer_assign(&conn_state->writeback_job->fb, fb); in drm_writeback_set_fb() 300 struct drm_connector_state *conn_state) in drm_writeback_queue_job() argument [all …]
|
D | drm_atomic_state_helper.c | 388 __drm_atomic_helper_connector_state_reset(struct drm_connector_state *conn_state, in __drm_atomic_helper_connector_state_reset() argument 391 conn_state->connector = connector; in __drm_atomic_helper_connector_state_reset() 409 struct drm_connector_state *conn_state) in __drm_atomic_helper_connector_reset() argument 411 if (conn_state) in __drm_atomic_helper_connector_reset() 412 __drm_atomic_helper_connector_state_reset(conn_state, connector); in __drm_atomic_helper_connector_reset() 414 connector->state = conn_state; in __drm_atomic_helper_connector_reset() 428 struct drm_connector_state *conn_state = in drm_atomic_helper_connector_reset() local 429 kzalloc(sizeof(*conn_state), GFP_KERNEL); in drm_atomic_helper_connector_reset() 435 __drm_atomic_helper_connector_reset(connector, conn_state); in drm_atomic_helper_connector_reset()
|
D | drm_bridge.c | 726 struct drm_connector_state *conn_state) in drm_atomic_bridge_check() argument 738 crtc_state, conn_state); in drm_atomic_bridge_check() 753 struct drm_connector_state *conn_state, in select_bus_fmt_recursive() argument 776 conn_state, in select_bus_fmt_recursive() 804 conn_state, in select_bus_fmt_recursive() 821 crtc_state, conn_state, in select_bus_fmt_recursive() 873 struct drm_connector_state *conn_state) in drm_atomic_bridge_chain_select_bus_fmts() argument 875 struct drm_connector *conn = conn_state->connector; in drm_atomic_bridge_chain_select_bus_fmts() 901 conn_state, in drm_atomic_bridge_chain_select_bus_fmts() 922 conn_state, out_bus_fmts[i]); in drm_atomic_bridge_chain_select_bus_fmts() [all …]
|
D | drm_atomic_uapi.c | 296 drm_atomic_set_crtc_for_connector(struct drm_connector_state *conn_state, in drm_atomic_set_crtc_for_connector() argument 299 struct drm_connector *connector = conn_state->connector; in drm_atomic_set_crtc_for_connector() 302 if (conn_state->crtc == crtc) in drm_atomic_set_crtc_for_connector() 305 if (conn_state->crtc) { in drm_atomic_set_crtc_for_connector() 306 crtc_state = drm_atomic_get_new_crtc_state(conn_state->state, in drm_atomic_set_crtc_for_connector() 307 conn_state->crtc); in drm_atomic_set_crtc_for_connector() 310 ~drm_connector_mask(conn_state->connector); in drm_atomic_set_crtc_for_connector() 312 drm_connector_put(conn_state->connector); in drm_atomic_set_crtc_for_connector() 313 conn_state->crtc = NULL; in drm_atomic_set_crtc_for_connector() 317 crtc_state = drm_atomic_get_crtc_state(conn_state->state, crtc); in drm_atomic_set_crtc_for_connector() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dsi_dcs_backlight.c | 65 static void dcs_set_backlight(const struct drm_connector_state *conn_state, u32 level) in dcs_set_backlight() argument 67 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_set_backlight() 80 static void dcs_disable_backlight(const struct drm_connector_state *conn_state) in dcs_disable_backlight() argument 82 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_disable_backlight() 86 dcs_set_backlight(conn_state, 0); in dcs_disable_backlight() 114 const struct drm_connector_state *conn_state) in dcs_enable_backlight() argument 116 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_enable_backlight() 117 struct intel_panel *panel = &to_intel_connector(conn_state->connector)->panel; in dcs_enable_backlight() 145 dcs_set_backlight(conn_state, panel->backlight.level); in dcs_enable_backlight()
|
D | intel_dp.h | 37 const struct drm_connector_state *conn_state); 64 struct drm_connector_state *conn_state); 70 const struct drm_connector_state *conn_state); 71 void intel_edp_backlight_off(const struct drm_connector_state *conn_state); 111 const struct drm_connector_state *conn_state); 114 const struct drm_connector_state *conn_state, 121 const struct drm_connector_state *conn_state); 138 const struct drm_connector_state *conn_state);
|
D | intel_panel.h | 31 const struct drm_connector_state *conn_state); 33 const struct drm_connector_state *conn_state); 34 void intel_panel_set_backlight_acpi(const struct drm_connector_state *conn_state, 39 const struct drm_connector_state *conn_state); 43 const struct drm_connector_state *conn_state);
|
D | intel_panel.c | 178 const struct drm_connector_state *conn_state) in intel_pch_panel_fitting() argument 190 switch (conn_state->scaling_mode) { in intel_pch_panel_fitting() 238 MISSING_CASE(conn_state->scaling_mode); in intel_pch_panel_fitting() 384 const struct drm_connector_state *conn_state) in intel_gmch_panel_fitting() argument 396 switch (conn_state->scaling_mode) { in intel_gmch_panel_fitting() 432 MISSING_CASE(conn_state->scaling_mode); in intel_gmch_panel_fitting() 601 static void lpt_set_backlight(const struct drm_connector_state *conn_state, u32 level) in lpt_set_backlight() argument 603 struct intel_connector *connector = to_intel_connector(conn_state->connector); in lpt_set_backlight() 610 static void pch_set_backlight(const struct drm_connector_state *conn_state, u32 level) in pch_set_backlight() argument 612 struct intel_connector *connector = to_intel_connector(conn_state->connector); in pch_set_backlight() [all …]
|
D | intel_dp_mst.c | 44 struct drm_connector_state *conn_state, in intel_dp_mst_compute_link_config() argument 51 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_link_config() 99 struct drm_connector_state *conn_state) in intel_dp_mst_compute_config() argument 105 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_config() 107 to_intel_digital_connector_state(conn_state); in intel_dp_mst_compute_config() 149 conn_state, &limits); in intel_dp_mst_compute_config() 154 intel_dp_limited_color_range(pipe_config, conn_state); in intel_dp_mst_compute_config() 174 const struct intel_digital_connector_state *conn_state; in intel_dp_mst_transcoder_mask() local 182 for_each_new_intel_connector_in_state(state, connector, conn_state, i) { in intel_dp_mst_transcoder_mask() 186 if (connector->mst_port != mst_port || !conn_state->base.crtc) in intel_dp_mst_transcoder_mask() [all …]
|
D | intel_hdmi.c | 723 struct drm_connector_state *conn_state) in intel_hdmi_compute_avi_infoframe() argument 728 struct drm_connector *connector = conn_state->connector; in intel_hdmi_compute_avi_infoframe() 749 drm_hdmi_avi_infoframe_colorspace(frame, conn_state); in intel_hdmi_compute_avi_infoframe() 766 drm_hdmi_avi_infoframe_content_type(frame, conn_state); in intel_hdmi_compute_avi_infoframe() 780 struct drm_connector_state *conn_state) in intel_hdmi_compute_spd_infoframe() argument 807 struct drm_connector_state *conn_state) in intel_hdmi_compute_hdmi_infoframe() argument 812 &conn_state->connector->display_info; in intel_hdmi_compute_hdmi_infoframe() 822 conn_state->connector, in intel_hdmi_compute_hdmi_infoframe() 837 struct drm_connector_state *conn_state) in intel_hdmi_compute_drm_infoframe() argument 849 if (!conn_state->hdr_output_metadata) in intel_hdmi_compute_drm_infoframe() [all …]
|
D | intel_connector.c | 42 struct intel_digital_connector_state *conn_state; in intel_connector_init() local 50 conn_state = kzalloc(sizeof(*conn_state), GFP_KERNEL); in intel_connector_init() 51 if (!conn_state) in intel_connector_init() 55 &conn_state->base); in intel_connector_init()
|
D | intel_sdvo.c | 195 #define to_intel_sdvo_connector_state(conn_state) \ argument 196 container_of((conn_state), struct intel_sdvo_connector_state, base.base) 1093 struct drm_connector_state *conn_state) in intel_sdvo_compute_avi_infoframe() argument 1108 conn_state->connector, in intel_sdvo_compute_avi_infoframe() 1114 conn_state->connector, in intel_sdvo_compute_avi_infoframe() 1187 const struct drm_connector_state *conn_state) in intel_sdvo_set_tv_format() argument 1192 format_map = 1 << conn_state->tv.mode; in intel_sdvo_set_tv_format() 1283 const struct drm_connector_state *conn_state) in intel_has_hdmi_sink() argument 1286 READ_ONCE(to_intel_digital_connector_state(conn_state)->force_audio) != HDMI_AUDIO_OFF_DVI; in intel_has_hdmi_sink() 1291 const struct drm_connector_state *conn_state) in intel_sdvo_limited_color_range() argument [all …]
|
D | intel_tv.c | 920 const struct drm_connector_state *conn_state) in intel_enable_tv() argument 946 static const struct tv_mode *intel_tv_mode_find(const struct drm_connector_state *conn_state) in intel_tv_mode_find() argument 948 int format = conn_state->tv.mode; in intel_tv_mode_find() 1172 const struct drm_connector_state *conn_state, in intel_tv_vert_scaling() argument 1176 conn_state->tv.margins.top - in intel_tv_vert_scaling() 1177 conn_state->tv.margins.bottom != in intel_tv_vert_scaling() 1184 struct drm_connector_state *conn_state) in intel_tv_compute_config() argument 1188 to_intel_tv_connector_state(conn_state); in intel_tv_compute_config() 1189 const struct tv_mode *tv_mode = intel_tv_mode_find(conn_state); in intel_tv_compute_config() 1212 !intel_tv_vert_scaling(adjusted_mode, conn_state, vdisplay)) { in intel_tv_compute_config() [all …]
|
D | intel_ddi.c | 1586 const struct drm_connector_state *conn_state) in intel_ddi_set_dp_msa() argument 1639 if (intel_dp_needs_vsc_sdp(crtc_state, conn_state)) in intel_ddi_set_dp_msa() 3302 const struct drm_connector_state *conn_state) in tgl_ddi_pre_enable_dp() argument 3436 const struct drm_connector_state *conn_state) in hsw_ddi_pre_enable_dp() argument 3501 const struct drm_connector_state *conn_state) in intel_ddi_pre_enable_dp() argument 3506 tgl_ddi_pre_enable_dp(state, encoder, crtc_state, conn_state); in intel_ddi_pre_enable_dp() 3508 hsw_ddi_pre_enable_dp(state, encoder, crtc_state, conn_state); in intel_ddi_pre_enable_dp() 3514 intel_ddi_set_dp_msa(crtc_state, conn_state); in intel_ddi_pre_enable_dp() 3523 const struct drm_connector_state *conn_state) in intel_ddi_pre_enable_hdmi() argument 3557 crtc_state, conn_state); in intel_ddi_pre_enable_hdmi() [all …]
|
D | intel_hdmi.h | 33 struct drm_connector_state *conn_state); 50 const struct drm_connector_state *conn_state);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
D | vkms_writeback.c | 24 struct drm_connector_state *conn_state) in vkms_wb_encoder_atomic_check() argument 29 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in vkms_wb_encoder_atomic_check() 32 fb = conn_state->writeback_job->fb; in vkms_wb_encoder_atomic_check() 108 struct drm_connector_state *conn_state = wb_conn->base.state; in vkms_wb_atomic_commit() local 111 if (!conn_state) in vkms_wb_atomic_commit() 117 crtc_state->active_writeback = conn_state->writeback_job->priv; in vkms_wb_atomic_commit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
D | malidp_mw.c | 127 struct drm_connector_state *conn_state) in malidp_mw_encoder_atomic_check() argument 129 struct malidp_mw_connector_state *mw_state = to_mw_state(conn_state); in malidp_mw_encoder_atomic_check() 134 if (!conn_state->writeback_job) in malidp_mw_encoder_atomic_check() 137 fb = conn_state->writeback_job->fb; in malidp_mw_encoder_atomic_check() 242 struct drm_connector_state *conn_state = mw_conn->base.state; in malidp_mw_atomic_commit() local 246 if (!conn_state) in malidp_mw_atomic_commit() 249 mw_state = to_mw_state(conn_state); in malidp_mw_atomic_commit() 251 if (conn_state->writeback_job) { in malidp_mw_atomic_commit() 252 struct drm_framebuffer *fb = conn_state->writeback_job->fb; in malidp_mw_atomic_commit() 261 drm_writeback_queue_job(mw_conn, conn_state); in malidp_mw_atomic_commit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_txp.c | 238 struct drm_connector_state *conn_state; in vc4_txp_connector_atomic_check() local 243 conn_state = drm_atomic_get_new_connector_state(state, conn); in vc4_txp_connector_atomic_check() 244 if (!conn_state->writeback_job) in vc4_txp_connector_atomic_check() 247 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in vc4_txp_connector_atomic_check() 249 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_check() 275 struct drm_connector_state *conn_state) in vc4_txp_connector_atomic_commit() argument 284 if (WARN_ON(!conn_state->writeback_job)) in vc4_txp_connector_atomic_commit() 287 mode = &conn_state->crtc->state->adjusted_mode; in vc4_txp_connector_atomic_commit() 288 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_commit() 314 drm_writeback_queue_job(&txp->connector, conn_state); in vc4_txp_connector_atomic_commit()
|
D | vc4_crtc.c | 573 struct drm_connector_state *conn_state; in vc4_crtc_get_margins() local 587 for_each_new_connector_in_state(state->state, conn, conn_state, i) { in vc4_crtc_get_margins() 588 if (conn_state->crtc != state->crtc) in vc4_crtc_get_margins() 591 *left = conn_state->tv.margins.left; in vc4_crtc_get_margins() 592 *right = conn_state->tv.margins.right; in vc4_crtc_get_margins() 593 *top = conn_state->tv.margins.top; in vc4_crtc_get_margins() 594 *bottom = conn_state->tv.margins.bottom; in vc4_crtc_get_margins() 604 struct drm_connector_state *conn_state; in vc4_crtc_atomic_check() local 611 for_each_new_connector_in_state(state->state, conn, conn_state, i) { in vc4_crtc_atomic_check() 612 if (conn_state->crtc != crtc) in vc4_crtc_atomic_check() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_bridge.h | 419 struct drm_connector_state *conn_state, 459 struct drm_connector_state *conn_state, 491 struct drm_connector_state *conn_state); 853 struct drm_connector_state *conn_state); 867 struct drm_connector_state *conn_state,
|
D | drm_writeback.h | 155 int drm_writeback_set_fb(struct drm_connector_state *conn_state, 161 struct drm_connector_state *conn_state);
|
/kernel/linux/linux-5.10/net/rds/ |
D | tcp_listen.c | 104 int conn_state; in rds_tcp_accept_one() local 194 conn_state = rds_conn_path_state(cp); in rds_tcp_accept_one() 195 WARN_ON(conn_state == RDS_CONN_UP); in rds_tcp_accept_one() 196 if (conn_state != RDS_CONN_CONNECTING && conn_state != RDS_CONN_ERROR) in rds_tcp_accept_one()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_writeback.c | 142 struct drm_connector_state *conn_state) in rcar_du_wb_enc_atomic_check() argument 145 to_rcar_wb_conn_state(conn_state); in rcar_du_wb_enc_atomic_check() 150 if (!conn_state->writeback_job) in rcar_du_wb_enc_atomic_check() 153 fb = conn_state->writeback_job->fb; in rcar_du_wb_enc_atomic_check()
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | connection.c | 28 .conn_state = DISCONNECTED, 139 vmbus_connection.conn_state = CONNECTED; in vmbus_negotiate_version() 161 vmbus_connection.conn_state = CONNECTING; in vmbus_connect() 245 if (vmbus_connection.conn_state == CONNECTED) in vmbus_connect() 267 vmbus_connection.conn_state = DISCONNECTED; in vmbus_connect()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
D | analogix_dp-rockchip.c | 153 struct drm_connector_state *conn_state; in rockchip_dp_drm_get_new_crtc() local 159 conn_state = drm_atomic_get_new_connector_state(state, connector); in rockchip_dp_drm_get_new_crtc() 160 if (!conn_state) in rockchip_dp_drm_get_new_crtc() 163 return conn_state->crtc; in rockchip_dp_drm_get_new_crtc() 234 struct drm_connector_state *conn_state) in rockchip_dp_drm_encoder_atomic_check() argument 237 struct drm_display_info *di = &conn_state->connector->display_info; in rockchip_dp_drm_encoder_atomic_check()
|