Home
last modified time | relevance | path

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

/linux-6.1.9/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.c461 struct drm_connector_state *connector_state = NULL; in gud_pipe_check() local
489 for_each_new_connector_in_state(state, connector, connector_state, i) { in gud_pipe_check()
490 if (connector_state->crtc) in gud_pipe_check()
498 if (!connector_state) { in gud_pipe_check()
504 connector_state = connector->state; in gud_pipe_check()
511 if (WARN_ON_ONCE(!connector_state)) in gud_pipe_check()
528 req->connector = drm_connector_index(connector_state->connector); in gud_pipe_check()
530 ret = gud_connector_fill_properties(connector_state, req->properties); in gud_pipe_check()
Dgud_internal.h70 int gud_connector_fill_properties(struct drm_connector_state *connector_state,
/linux-6.1.9/drivers/gpu/drm/vkms/
Dvkms_writeback.c121 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in vkms_wb_atomic_commit() local
128 struct drm_framebuffer *fb = connector_state->writeback_job->fb; in vkms_wb_atomic_commit()
150 drm_writeback_queue_job(wb_conn, connector_state); in vkms_wb_atomic_commit()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_atomic.c1008 struct drm_connector_state *connector_state; in drm_atomic_get_connector_state() local
1037 connector_state = connector->funcs->atomic_duplicate_state(connector); in drm_atomic_get_connector_state()
1038 if (!connector_state) in drm_atomic_get_connector_state()
1042 state->connectors[index].state = connector_state; in drm_atomic_get_connector_state()
1044 state->connectors[index].new_state = connector_state; in drm_atomic_get_connector_state()
1046 connector_state->state = state; in drm_atomic_get_connector_state()
1050 connector_state, state); in drm_atomic_get_connector_state()
1052 if (connector_state->crtc) { in drm_atomic_get_connector_state()
1056 connector_state->crtc); in drm_atomic_get_connector_state()
1061 return connector_state; in drm_atomic_get_connector_state()
[all …]
Ddrm_atomic_uapi.c982 struct drm_connector_state *connector_state; in drm_atomic_set_property() local
984 connector_state = drm_atomic_get_connector_state(state, connector); in drm_atomic_set_property()
985 if (IS_ERR(connector_state)) { in drm_atomic_set_property()
986 ret = PTR_ERR(connector_state); in drm_atomic_set_property()
991 connector_state, file_priv, in drm_atomic_set_property()
Ddrm_connector.c2559 void drm_connector_update_privacy_screen(const struct drm_connector_state *connector_state) in drm_connector_update_privacy_screen() argument
2561 struct drm_connector *connector = connector_state->connector; in drm_connector_update_privacy_screen()
2568 connector_state->privacy_screen_sw_state); in drm_connector_update_privacy_screen()
/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/display/
Dintel_display.c1065 const struct drm_connector_state *connector_state; in intel_get_crtc_new_encoder() local
1074 for_each_new_connector_in_state(&state->base, connector, connector_state, i) { in intel_get_crtc_new_encoder()
1075 if (connector_state->crtc != &master_crtc->base) in intel_get_crtc_new_encoder()
1078 encoder = to_intel_encoder(connector_state->best_encoder); in intel_get_crtc_new_encoder()
4214 struct drm_connector_state *connector_state; in intel_get_load_detect_pipe() local
4288 connector_state = drm_atomic_get_connector_state(state, connector); in intel_get_load_detect_pipe()
4289 if (IS_ERR(connector_state)) { in intel_get_load_detect_pipe()
4290 ret = PTR_ERR(connector_state); in intel_get_load_detect_pipe()
4294 ret = drm_atomic_set_crtc_for_connector(connector_state, &crtc->base); in intel_get_load_detect_pipe()
4589 struct drm_connector_state *connector_state; in check_single_encoder_cloning() local
[all …]
Dintel_dp_mst.c738 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in intel_mst_atomic_best_encoder() local
742 struct intel_crtc *crtc = to_intel_crtc(connector_state->crtc); in intel_mst_atomic_best_encoder()
Dintel_hdmi.c2035 struct drm_connector_state *connector_state; in intel_hdmi_bpc_possible() local
2039 for_each_new_connector_in_state(state, connector, connector_state, i) { in intel_hdmi_bpc_possible()
2040 if (connector_state->crtc != crtc_state->uapi.crtc) in intel_hdmi_bpc_possible()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c438 struct drm_connector_state *connector_state; in nv50_outp_get_new_connector() local
442 for_each_new_connector_in_state(state, connector, connector_state, i) { in nv50_outp_get_new_connector()
443 if (connector_state->best_encoder == encoder) in nv50_outp_get_new_connector()
454 struct drm_connector_state *connector_state; in nv50_outp_get_old_connector() local
458 for_each_old_connector_in_state(state, connector, connector_state, i) { in nv50_outp_get_old_connector()
459 if (connector_state->best_encoder == encoder) in nv50_outp_get_old_connector()
1187 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in nv50_mstc_atomic_best_encoder() local
1190 struct drm_crtc *crtc = connector_state->crtc; in nv50_mstc_atomic_best_encoder()
2471 struct drm_connector_state *connector_state) in nv50_disp_outp_atomic_check_set() argument
2473 struct drm_encoder *encoder = connector_state->best_encoder; in nv50_disp_outp_atomic_check_set()
[all …]
/linux-6.1.9/drivers/gpu/drm/imx/
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.1.9/include/drm/
Ddrm_connector.h1851 void drm_connector_update_privacy_screen(const struct drm_connector_state *connector_state);
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c375 struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state, in dm_mst_atomic_best_encoder() local
379 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder()
Damdgpu_dm.c5199 const struct drm_connector_state *connector_state, in fill_stream_properties_from_drm_display_mode() argument
5905 struct drm_connector_state *connector_state, in amdgpu_dm_connector_atomic_set_property() argument
5914 to_dm_connector_state(connector_state); in amdgpu_dm_connector_atomic_set_property()
/linux-6.1.9/Documentation/gpu/
Dkomeda-kms.rst450 struct drm_plane/crtc/connector_state, *user_state)
/linux-6.1.9/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c1453 struct drm_connector_state *connector_state) in zynqmp_dp_encoder_atomic_mode_set() argument