Home
last modified time | relevance | path

Searched refs:conn_state (Results 1 – 25 of 134) sorted by relevance

123456

/linux/drivers/gpu/drm/i915/display/
A Dintel_dp_aux_backlight.c171 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_aux_backlight()
187 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_set_backlight()
191 intel_dp_aux_hdr_set_aux_backlight(conn_state, level); in intel_dp_aux_hdr_set_backlight()
195 intel_backlight_set_pwm_level(conn_state, pwm_level); in intel_dp_aux_hdr_set_backlight()
201 const struct drm_connector_state *conn_state, u32 level) in intel_dp_aux_hdr_enable_backlight() argument
203 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_enable_backlight()
221 intel_dp_aux_hdr_set_aux_backlight(conn_state, level); in intel_dp_aux_hdr_enable_backlight()
225 panel->backlight.pwm_funcs->enable(crtc_state, conn_state, pwm_level); in intel_dp_aux_hdr_enable_backlight()
238 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_dp_aux_hdr_disable_backlight()
295 const struct drm_connector_state *conn_state, u32 level) in intel_dp_aux_vesa_enable_backlight() argument
[all …]
A Dintel_backlight.c100 panel->backlight.pwm_funcs->set(conn_state, val); in intel_backlight_set_pwm_level()
280 panel->backlight.funcs->set(conn_state, level); in intel_panel_actually_set_backlight()
519 intel_backlight_set_pwm_level(conn_state, level); in lpt_enable_backlight()
554 intel_backlight_set_pwm_level(conn_state, level); in pch_enable_backlight()
597 intel_backlight_set_pwm_level(conn_state, level); in i9xx_enable_backlight()
640 intel_backlight_set_pwm_level(conn_state, level); in i965_enable_backlight()
663 intel_backlight_set_pwm_level(conn_state, level); in vlv_enable_backlight()
714 intel_backlight_set_pwm_level(conn_state, level); in bxt_enable_backlight()
750 intel_backlight_set_pwm_level(conn_state, level); in cnp_enable_backlight()
1529 panel->backlight.pwm_funcs->set(conn_state, in intel_pwm_set_backlight()
[all …]
A Dintel_dp.h38 const struct drm_connector_state *conn_state);
59 struct drm_connector_state *conn_state);
66 const struct drm_connector_state *conn_state);
67 void intel_edp_backlight_off(const struct drm_connector_state *conn_state);
84 const struct drm_connector_state *conn_state);
87 const struct drm_connector_state *conn_state,
94 const struct drm_connector_state *conn_state);
110 const struct drm_connector_state *conn_state);
A Dintel_dsi_dcs_backlight.c66 static void dcs_set_backlight(const struct drm_connector_state *conn_state, u32 level) in dcs_set_backlight() argument
68 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_set_backlight()
69 struct intel_panel *panel = &to_intel_connector(conn_state->connector)->panel; in dcs_set_backlight()
89 static void dcs_disable_backlight(const struct drm_connector_state *conn_state, u32 level) in dcs_disable_backlight() argument
91 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_disable_backlight()
95 dcs_set_backlight(conn_state, 0); in dcs_disable_backlight()
123 const struct drm_connector_state *conn_state, u32 level) in dcs_enable_backlight() argument
125 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_enable_backlight()
153 dcs_set_backlight(conn_state, level); in dcs_enable_backlight()
A Dg4x_hdmi.c147 const struct drm_connector_state *conn_state) in intel_enable_hdmi_audio() argument
161 const struct drm_connector_state *conn_state) in g4x_enable_hdmi() argument
184 const struct drm_connector_state *conn_state) in ibx_enable_hdmi() argument
236 const struct drm_connector_state *conn_state) in cpt_enable_hdmi() argument
290 const struct drm_connector_state *conn_state) in vlv_enable_hdmi() argument
386 const struct drm_connector_state *conn_state) in intel_hdmi_pre_enable() argument
395 pipe_config, conn_state); in intel_hdmi_pre_enable()
401 const struct drm_connector_state *conn_state) in vlv_hdmi_pre_enable() argument
415 pipe_config, conn_state); in vlv_hdmi_pre_enable()
478 const struct drm_connector_state *conn_state) in chv_hdmi_pre_enable() argument
[all …]
A Dintel_dp_mst.c49 struct drm_connector_state *conn_state, in intel_dp_mst_compute_link_config() argument
56 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_link_config()
104 struct drm_connector_state *conn_state) in intel_dp_mst_compute_config() argument
110 to_intel_connector(conn_state->connector); in intel_dp_mst_compute_config()
112 to_intel_digital_connector_state(conn_state); in intel_dp_mst_compute_config()
154 conn_state, &limits); in intel_dp_mst_compute_config()
194 crtc = to_intel_crtc(conn_state->base.crtc); in intel_dp_mst_transcoder_mask()
208 struct drm_connector_state *conn_state) in intel_dp_mst_compute_config_late() argument
486 to_intel_connector(conn_state->connector); in intel_mst_pre_enable_dp()
588 if (conn_state->content_protection == in intel_mst_enable_dp()
[all …]
A Dintel_backlight.h24 const struct drm_connector_state *conn_state);
28 const struct drm_connector_state *conn_state);
31 void intel_backlight_set_acpi(const struct drm_connector_state *conn_state,
33 void intel_backlight_set_pwm_level(const struct drm_connector_state *conn_state,
A Dintel_hdmi.c707 struct drm_connector_state *conn_state) in intel_hdmi_compute_avi_infoframe() argument
764 struct drm_connector_state *conn_state) in intel_hdmi_compute_spd_infoframe() argument
791 struct drm_connector_state *conn_state) in intel_hdmi_compute_hdmi_infoframe() argument
796 &conn_state->connector->display_info; in intel_hdmi_compute_hdmi_infoframe()
806 conn_state->connector, in intel_hdmi_compute_hdmi_infoframe()
821 struct drm_connector_state *conn_state) in intel_hdmi_compute_drm_infoframe() argument
833 if (!conn_state->hdr_output_metadata) in intel_hdmi_compute_drm_infoframe()
2193 conn_state); in intel_hdmi_compute_config()
2220 if (conn_state->picture_aspect_ratio) in intel_hdmi_compute_config()
2222 conn_state->picture_aspect_ratio; in intel_hdmi_compute_config()
[all …]
A Dintel_connector.c42 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()
A Dintel_sdvo.c1110 conn_state->connector, in intel_sdvo_compute_avi_infoframe()
1116 conn_state->connector, in intel_sdvo_compute_avi_infoframe()
1194 format_map = 1 << conn_state->tv.mode; in intel_sdvo_set_tv_format()
1377 conn_state); in intel_sdvo_compute_config()
1383 if (conn_state->picture_aspect_ratio) in intel_sdvo_compute_config()
1385 conn_state->picture_aspect_ratio; in intel_sdvo_compute_config()
1388 pipe_config, conn_state)) { in intel_sdvo_compute_config()
2260 format_map = 1 << conn_state->tv.mode; in intel_sdvo_get_tv_modes()
2741 conn_state = kzalloc(sizeof(*conn_state), GFP_KERNEL); in intel_sdvo_connector_alloc()
2742 if (!conn_state) { in intel_sdvo_connector_alloc()
[all …]
A Dintel_panel.c204 const struct drm_connector_state *conn_state) in pch_panel_fitting() argument
216 switch (conn_state->scaling_mode) { in pch_panel_fitting()
264 MISSING_CASE(conn_state->scaling_mode); in pch_panel_fitting()
410 const struct drm_connector_state *conn_state) in gmch_panel_fitting() argument
422 switch (conn_state->scaling_mode) { in gmch_panel_fitting()
458 MISSING_CASE(conn_state->scaling_mode); in gmch_panel_fitting()
485 const struct drm_connector_state *conn_state) in intel_panel_fitting() argument
491 return gmch_panel_fitting(crtc_state, conn_state); in intel_panel_fitting()
493 return pch_panel_fitting(crtc_state, conn_state); in intel_panel_fitting()
A Dintel_tv.c949 int format = conn_state->tv.mode; in intel_tv_mode_find()
1177 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1178 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1185 struct drm_connector_state *conn_state) in intel_tv_compute_config() argument
1227 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1228 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1322 conn_state->tv.margins.left, in intel_tv_compute_config()
1323 conn_state->tv.margins.right); in intel_tv_compute_config()
1543 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1545 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
[all …]
A Dintel_ddi.c2638 crtc_state, conn_state); in intel_ddi_pre_enable_hdmi()
2669 conn_state); in intel_ddi_pre_enable()
2674 conn_state); in intel_ddi_pre_enable()
2681 crtc_state, conn_state); in intel_ddi_pre_enable()
3082 if (conn_state->content_protection == in intel_enable_ddi()
3086 (u8)conn_state->hdcp_content_type); in intel_enable_ddi()
3180 conn_state); in intel_ddi_update_pipe()
4025 struct drm_connector_state *conn_state; in intel_hdmi_reset_link() local
4039 conn_state = connector->base.state; in intel_hdmi_reset_link()
4041 crtc = to_intel_crtc(conn_state->crtc); in intel_hdmi_reset_link()
[all …]
A Dintel_dp.c1512 conn_state, &limits); in intel_dp_compute_link_config()
1617 switch (conn_state->colorspace) { in intel_dp_compute_vsc_colorimetry()
1731 if (!conn_state->hdr_output_metadata) in intel_dp_compute_hdr_metadata_infoframe_sdp()
2746 switch (conn_state->colorspace) { in intel_dp_needs_vsc_sdp()
3681 if (!conn_state->best_encoder) in intel_dp_has_connector()
3723 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_prep_link_retrain()
3738 if (conn_state->commit && in intel_dp_prep_link_retrain()
3852 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_prep_phy_test()
3867 if (conn_state->commit && in intel_dp_prep_phy_test()
4589 if (IS_ERR(conn_state)) { in intel_modeset_tile_group()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_writeback.c243 int drm_writeback_set_fb(struct drm_connector_state *conn_state, in drm_writeback_set_fb() argument
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
305 job = conn_state->writeback_job; in drm_writeback_queue_job()
[all …]
A Ddrm_atomic_state_helper.c388 __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()
A Ddrm_bridge.c796 struct drm_connector_state *conn_state) in drm_atomic_bridge_check() argument
808 crtc_state, conn_state); in drm_atomic_bridge_check()
823 struct drm_connector_state *conn_state, in select_bus_fmt_recursive() argument
846 conn_state, in select_bus_fmt_recursive()
874 conn_state, in select_bus_fmt_recursive()
891 crtc_state, conn_state, in select_bus_fmt_recursive()
943 struct drm_connector_state *conn_state) in drm_atomic_bridge_chain_select_bus_fmts() argument
971 conn_state, in drm_atomic_bridge_chain_select_bus_fmts()
992 conn_state, out_bus_fmts[i]); in drm_atomic_bridge_chain_select_bus_fmts()
1070 struct drm_connector_state *conn_state) in drm_atomic_bridge_chain_check() argument
[all …]
A Ddrm_atomic_uapi.c313 if (conn_state->crtc == crtc) in drm_atomic_set_crtc_for_connector()
316 if (conn_state->crtc) { in drm_atomic_set_crtc_for_connector()
318 conn_state->crtc); in drm_atomic_set_crtc_for_connector()
324 conn_state->crtc = NULL; in drm_atomic_set_crtc_for_connector()
336 conn_state->crtc = crtc; in drm_atomic_set_crtc_for_connector()
346 conn_state); in drm_atomic_set_crtc_for_connector()
680 struct drm_connector_state *conn_state, in drm_atomic_set_writeback_fb_for_connector() argument
693 fb->base.id, conn_state); in drm_atomic_set_writeback_fb_for_connector()
697 conn_state); in drm_atomic_set_writeback_fb_for_connector()
1148 struct drm_connector_state *conn_state; in prepare_signaling() local
[all …]
/linux/drivers/gpu/drm/vkms/
A Dvkms_writeback.c29 struct drm_connector_state *conn_state) in vkms_wb_encoder_atomic_check() argument
34 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in vkms_wb_encoder_atomic_check()
37 fb = conn_state->writeback_job->fb; in vkms_wb_encoder_atomic_check()
117 struct drm_connector_state *conn_state = wb_conn->base.state; in vkms_wb_atomic_commit() local
120 if (!conn_state) in vkms_wb_atomic_commit()
126 crtc_state->active_writeback = conn_state->writeback_job->priv; in vkms_wb_atomic_commit()
/linux/drivers/gpu/drm/arm/
A Dmalidp_mw.c127 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()
239 struct drm_connector_state *conn_state = mw_conn->base.state; in malidp_mw_atomic_commit() local
243 if (!conn_state) in malidp_mw_atomic_commit()
246 mw_state = to_mw_state(conn_state); in malidp_mw_atomic_commit()
248 if (conn_state->writeback_job) { in malidp_mw_atomic_commit()
249 struct drm_framebuffer *fb = conn_state->writeback_job->fb; in malidp_mw_atomic_commit()
258 drm_writeback_queue_job(mw_conn, conn_state); in malidp_mw_atomic_commit()
/linux/drivers/gpu/drm/vc4/
A Dvc4_txp.c239 struct drm_connector_state *conn_state; in vc4_txp_connector_atomic_check() local
244 conn_state = drm_atomic_get_new_connector_state(state, conn); in vc4_txp_connector_atomic_check()
245 if (!conn_state->writeback_job) in vc4_txp_connector_atomic_check()
248 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in vc4_txp_connector_atomic_check()
250 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_check()
278 struct drm_connector_state *conn_state = drm_atomic_get_new_connector_state(state, in vc4_txp_connector_atomic_commit() local
287 if (WARN_ON(!conn_state->writeback_job)) in vc4_txp_connector_atomic_commit()
290 mode = &conn_state->crtc->state->adjusted_mode; in vc4_txp_connector_atomic_commit()
291 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_commit()
317 drm_writeback_queue_job(&txp->connector, conn_state); in vc4_txp_connector_atomic_commit()
A Dvc4_crtc.c294 if (!conn_state) in vc4_get_crtc_encoder()
297 if (conn_state->crtc == crtc) { in vc4_get_crtc_encoder()
618 struct drm_connector_state *conn_state; in vc4_crtc_get_margins() local
633 if (conn_state->crtc != state->crtc) in vc4_crtc_get_margins()
636 *left = conn_state->tv.margins.left; in vc4_crtc_get_margins()
637 *right = conn_state->tv.margins.right; in vc4_crtc_get_margins()
638 *top = conn_state->tv.margins.top; in vc4_crtc_get_margins()
639 *bottom = conn_state->tv.margins.bottom; in vc4_crtc_get_margins()
651 struct drm_connector_state *conn_state; in vc4_crtc_atomic_check() local
660 if (conn_state->crtc != crtc) in vc4_crtc_atomic_check()
[all …]
/linux/include/drm/
A Ddrm_bridge.h439 struct drm_connector_state *conn_state,
479 struct drm_connector_state *conn_state,
511 struct drm_connector_state *conn_state);
881 struct drm_connector_state *conn_state);
895 struct drm_connector_state *conn_state,
/linux/net/rds/
A Dtcp_listen.c104 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()
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_writeback.c142 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()

Completed in 91 milliseconds

123456