Home
last modified time | relevance | path

Searched refs:connector_state (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_load_detect.c59 struct drm_connector_state *connector_state; in intel_load_detect_get_pipe() local
134 connector_state = drm_atomic_get_connector_state(state, connector); in intel_load_detect_get_pipe()
135 if (IS_ERR(connector_state)) { in intel_load_detect_get_pipe()
136 ret = PTR_ERR(connector_state); in intel_load_detect_get_pipe()
140 ret = drm_atomic_set_crtc_for_connector(connector_state, &crtc->base); in intel_load_detect_get_pipe()
Dintel_display.c768 const struct drm_connector_state *connector_state; in intel_get_crtc_new_encoder() local
777 for_each_new_connector_in_state(&state->base, connector, connector_state, i) { in intel_get_crtc_new_encoder()
778 if (connector_state->crtc != &master_crtc->base) in intel_get_crtc_new_encoder()
781 encoder = to_intel_encoder(connector_state->best_encoder); in intel_get_crtc_new_encoder()
4024 struct drm_connector_state *connector_state; in check_single_encoder_cloning() local
4027 for_each_new_connector_in_state(&state->base, connector, connector_state, i) { in check_single_encoder_cloning()
4028 if (connector_state->crtc != &crtc->base) in check_single_encoder_cloning()
4032 to_intel_encoder(connector_state->best_encoder); in check_single_encoder_cloning()
4395 struct drm_connector_state *connector_state; in compute_baseline_pipe_bpp() local
4409 for_each_new_connector_in_state(&state->base, connector, connector_state, i) { in compute_baseline_pipe_bpp()
[all …]
Dintel_dp_mst.c1015 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in intel_mst_atomic_best_encoder() local
1019 struct intel_crtc *crtc = to_intel_crtc(connector_state->crtc); in intel_mst_atomic_best_encoder()
Dintel_hdmi.c2041 struct drm_connector_state *connector_state; in intel_hdmi_bpc_possible() local
2045 for_each_new_connector_in_state(state, connector, connector_state, i) { in intel_hdmi_bpc_possible()
2046 if (connector_state->crtc != crtc_state->uapi.crtc) in intel_hdmi_bpc_possible()
/linux-6.6.21/drivers/gpu/drm/gud/
Dgud_connector.c63 struct drm_connector_state *connector_state; in gud_connector_backlight_update_status_work() local
81 connector_state = drm_atomic_get_connector_state(state, connector); in gud_connector_backlight_update_status_work()
82 if (IS_ERR(connector_state)) { in gud_connector_backlight_update_status_work()
83 ret = PTR_ERR(connector_state); in gud_connector_backlight_update_status_work()
88 connector_state->tv.brightness = gconn->backlight->props.brightness; in gud_connector_backlight_update_status_work()
581 int gud_connector_fill_properties(struct drm_connector_state *connector_state, in gud_connector_fill_properties() argument
584 struct gud_connector *gconn = to_gud_connector(connector_state->connector); in gud_connector_fill_properties()
592 val = connector_state->tv.brightness; in gud_connector_fill_properties()
596 state_val = gud_connector_tv_state_val(prop, &connector_state->tv); in gud_connector_fill_properties()
Dgud_pipe.c452 struct drm_connector_state *connector_state = NULL; in gud_pipe_check() local
480 for_each_new_connector_in_state(state, connector, connector_state, i) { in gud_pipe_check()
481 if (connector_state->crtc) in gud_pipe_check()
489 if (!connector_state) { in gud_pipe_check()
495 connector_state = connector->state; in gud_pipe_check()
502 if (WARN_ON_ONCE(!connector_state)) in gud_pipe_check()
519 req->connector = drm_connector_index(connector_state->connector); in gud_pipe_check()
521 ret = gud_connector_fill_properties(connector_state, req->properties); in gud_pipe_check()
Dgud_internal.h71 int gud_connector_fill_properties(struct drm_connector_state *connector_state,
/linux-6.6.21/drivers/gpu/drm/vkms/
Dvkms_writeback.c122 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in vkms_wb_atomic_commit() local
129 struct drm_framebuffer *fb = connector_state->writeback_job->fb; in vkms_wb_atomic_commit()
153 drm_writeback_queue_job(wb_conn, connector_state); in vkms_wb_atomic_commit()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_atomic.c1077 struct drm_connector_state *connector_state; in drm_atomic_get_connector_state() local
1106 connector_state = connector->funcs->atomic_duplicate_state(connector); in drm_atomic_get_connector_state()
1107 if (!connector_state) in drm_atomic_get_connector_state()
1111 state->connectors[index].state = connector_state; in drm_atomic_get_connector_state()
1113 state->connectors[index].new_state = connector_state; in drm_atomic_get_connector_state()
1115 connector_state->state = state; in drm_atomic_get_connector_state()
1119 connector_state, state); in drm_atomic_get_connector_state()
1121 if (connector_state->crtc) { in drm_atomic_get_connector_state()
1125 connector_state->crtc); in drm_atomic_get_connector_state()
1130 return connector_state; in drm_atomic_get_connector_state()
[all …]
Ddrm_atomic_uapi.c1024 struct drm_connector_state *connector_state; in drm_atomic_set_property() local
1026 connector_state = drm_atomic_get_connector_state(state, connector); in drm_atomic_set_property()
1027 if (IS_ERR(connector_state)) { in drm_atomic_set_property()
1028 ret = PTR_ERR(connector_state); in drm_atomic_set_property()
1033 connector_state, file_priv, in drm_atomic_set_property()
Ddrm_connector.c2777 void drm_connector_update_privacy_screen(const struct drm_connector_state *connector_state) in drm_connector_update_privacy_screen() argument
2779 struct drm_connector *connector = connector_state->connector; in drm_connector_update_privacy_screen()
2786 connector_state->privacy_screen_sw_state); in drm_connector_update_privacy_screen()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_atomic.c142 struct drm_connector_state *connector_state; in can_do_async() local
152 for_each_new_connector_in_state(state, connector, connector_state, i) in can_do_async()
/linux-6.6.21/drivers/gpu/drm/mxsfb/
Dlcdif_kms.c433 struct drm_connector_state *connector_state; in lcdif_crtc_atomic_check() local
451 for_each_new_connector_in_state(state, connector, connector_state, i) { in lcdif_crtc_atomic_check()
452 if (!connector_state->crtc) in lcdif_crtc_atomic_check()
455 encoder = connector_state->best_encoder; in lcdif_crtc_atomic_check()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c424 struct drm_connector_state *connector_state; in nv50_outp_get_new_connector() local
428 for_each_new_connector_in_state(state, connector, connector_state, i) { in nv50_outp_get_new_connector()
429 if (connector_state->best_encoder == encoder) in nv50_outp_get_new_connector()
440 struct drm_connector_state *connector_state; in nv50_outp_get_old_connector() local
444 for_each_old_connector_in_state(state, connector, connector_state, i) { in nv50_outp_get_old_connector()
445 if (connector_state->best_encoder == encoder) in nv50_outp_get_old_connector()
1108 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in nv50_mstc_atomic_best_encoder() local
1111 struct drm_crtc *crtc = connector_state->crtc; in nv50_mstc_atomic_best_encoder()
2369 struct drm_connector_state *connector_state) in nv50_disp_outp_atomic_check_set() argument
2371 struct drm_encoder *encoder = connector_state->best_encoder; in nv50_disp_outp_atomic_check_set()
[all …]
/linux-6.6.21/drivers/gpu/drm/imx/ipuv3/
Dimx-ldb.c253 struct drm_connector_state *connector_state) in imx_ldb_encoder_atomic_mode_set() argument
308 struct drm_connector *connector = connector_state->connector; in imx_ldb_encoder_atomic_mode_set()
/linux-6.6.21/include/drm/
Ddrm_connector.h2043 void drm_connector_update_privacy_screen(const struct drm_connector_state *connector_state);
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c421 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in dm_mst_atomic_best_encoder() local
425 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder()
Damdgpu_dm.c5364 const struct drm_connector_state *connector_state) in get_output_color_space() argument
5368 switch (connector_state->colorspace) { in get_output_color_space()
5460 const struct drm_connector_state *connector_state, in fill_stream_properties_from_drm_display_mode() argument
5552 stream->output_color_space = get_output_color_space(timing_out, connector_state); in fill_stream_properties_from_drm_display_mode()
6181 struct drm_connector_state *connector_state, in amdgpu_dm_connector_atomic_set_property() argument
6190 to_dm_connector_state(connector_state); in amdgpu_dm_connector_atomic_set_property()
/linux-6.6.21/Documentation/gpu/
Dkomeda-kms.rst450 struct drm_plane/crtc/connector_state, *user_state)