Home
last modified time | relevance | path

Searched refs:new_crtc_state (Results 1 – 20 of 20) sorted by relevance

/netbsd/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_atomic_plane.c228 struct intel_crtc_state *new_crtc_state, in intel_plane_atomic_check_with_state() argument
241 new_crtc_state->c8_planes &= ~BIT(plane->id); in intel_plane_atomic_check_with_state()
242 new_crtc_state->data_rate[plane->id] = 0; in intel_plane_atomic_check_with_state()
243 new_crtc_state->min_cdclk[plane->id] = 0; in intel_plane_atomic_check_with_state()
263 new_crtc_state->c8_planes |= BIT(plane->id); in intel_plane_atomic_check_with_state()
268 new_crtc_state->data_rate[plane->id] = in intel_plane_atomic_check_with_state()
298 struct intel_crtc_state *new_crtc_state; in intel_plane_atomic_check() local
308 new_crtc_state, in intel_plane_atomic_check()
381 struct intel_crtc_state *new_crtc_state = in skl_update_planes_on_crtc() local
403 intel_disable_plane(plane, new_crtc_state); in skl_update_planes_on_crtc()
[all …]
H A Dintel_display.c6389 (!new_crtc_state->active_planes || needs_modeset(new_crtc_state)); in planes_disabling()
6407 if (new_crtc_state->update_wm_post && new_crtc_state->hw.active) in intel_post_plane_update()
14135 if (!needs_modeset(new_crtc_state) && !new_crtc_state->update_pipe) in intel_modeset_verify_crtc()
14657 if (!new_crtc_state->hw.enable || needs_modeset(new_crtc_state)) in intel_atomic_check()
14885 if (new_crtc_state->update_pipe && !new_crtc_state->enable_fbc) in intel_update_crtc()
15008 new_crtc_state); in intel_commit_modeset_enables()
15055 if (new_crtc_state->update_pipe && !new_crtc_state->enable_fbc) in intel_post_crtc_enable_updates()
15105 new_crtc_state); in intel_update_trans_port_sync_crtcs()
15177 new_crtc_state); in skl_commit_modeset_enables()
15226 new_crtc_state); in skl_commit_modeset_enables()
[all …]
H A Dintel_color.c1032 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_can_preload_luts()
1034 to_intel_atomic_state(new_crtc_state->uapi.state); in intel_can_preload_luts()
1046 to_intel_atomic_state(new_crtc_state->uapi.state); in chv_can_preload_luts()
1055 if (old_crtc_state->cgm_mode || new_crtc_state->cgm_mode) in chv_can_preload_luts()
1065 to_intel_atomic_state(new_crtc_state->uapi.state); in glk_can_preload_luts()
1115 to_intel_atomic_state(new_crtc_state->uapi.state); in intel_color_add_affected_planes()
1120 if (!new_crtc_state->hw.active || in intel_color_add_affected_planes()
1121 drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi)) in intel_color_add_affected_planes()
1125 new_crtc_state->csc_enable == old_crtc_state->csc_enable) in intel_color_add_affected_planes()
1131 if (!need_plane_update(plane, new_crtc_state)) in intel_color_add_affected_planes()
[all …]
H A Dintel_sprite.h28 void intel_pipe_update_start(const struct intel_crtc_state *new_crtc_state);
29 void intel_pipe_update_end(struct intel_crtc_state *new_crtc_state);
H A Dintel_bw.c395 struct intel_crtc_state *new_crtc_state, *old_crtc_state; in intel_bw_atomic_check() local
407 new_crtc_state, i) { in intel_bw_atomic_check()
411 intel_bw_crtc_data_rate(new_crtc_state); in intel_bw_atomic_check()
415 intel_bw_crtc_num_active_planes(new_crtc_state); in intel_bw_atomic_check()
H A Dintel_display.h443 #define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \ argument
447 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
460 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
465 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
469 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument
474 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
H A Dintel_psr.h40 int intel_psr_wait_for_idle(const struct intel_crtc_state *new_crtc_state,
H A Dintel_sprite.c87 void intel_pipe_update_start(const struct intel_crtc_state *new_crtc_state) in intel_pipe_update_start() argument
89 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_pipe_update_start()
91 const struct drm_display_mode *adjusted_mode = &new_crtc_state->hw.adjusted_mode; in intel_pipe_update_start()
97 intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI); in intel_pipe_update_start()
120 if (intel_psr_wait_for_idle(new_crtc_state, &psr_status)) in intel_pipe_update_start()
176 void intel_pipe_update_end(struct intel_crtc_state *new_crtc_state) in intel_pipe_update_end() argument
178 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_pipe_update_end()
193 if (new_crtc_state->uapi.event) { in intel_pipe_update_end()
197 new_crtc_state->uapi.event); in intel_pipe_update_end()
199 new_crtc_state->uapi.event = NULL; in intel_pipe_update_end()
H A Dintel_psr.c1061 int intel_psr_wait_for_idle(const struct intel_crtc_state *new_crtc_state, in intel_psr_wait_for_idle() argument
1064 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_psr_wait_for_idle()
1067 if (!dev_priv->psr.enabled || !new_crtc_state->has_psr) in intel_psr_wait_for_idle()
H A Dintel_tv.c1831 struct drm_crtc_state *new_crtc_state; in intel_tv_atomic_check() local
1839 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); in intel_tv_atomic_check()
1848 new_crtc_state->connectors_changed = true; in intel_tv_atomic_check()
H A Dintel_dpll_mgr.c336 struct intel_crtc_state *new_crtc_state = in intel_put_dpll() local
339 new_crtc_state->shared_dpll = NULL; in intel_put_dpll()
3114 struct intel_crtc_state *new_crtc_state = in icl_put_dplls() local
3118 new_crtc_state->shared_dpll = NULL; in icl_put_dplls()
3124 &new_crtc_state->icl_port_dplls[id]; in icl_put_dplls()
/netbsd/sys/external/bsd/drm2/dist/drm/
H A Ddrm_atomic_helper.c421 drm_mode_copy(&new_crtc_state->adjusted_mode, &new_crtc_state->mode); in mode_fixup()
434 new_crtc_state = in mode_fixup()
446 &new_crtc_state->mode, in mode_fixup()
475 if (!new_crtc_state->enable) in mode_fixup()
1011 new_crtc_state = NULL; in disable_outputs()
1167 if (new_crtc_state->enable) in drm_atomic_helper_update_legacy_modeset_state()
1211 mode = &new_crtc_state->mode; in crtc_set_mode()
1313 if (!new_crtc_state->active) in drm_atomic_helper_commit_modeset_enables()
1318 if (new_crtc_state->enable) { in drm_atomic_helper_commit_modeset_enables()
1453 if (!new_crtc_state->active) in drm_atomic_helper_wait_for_vblanks()
[all …]
H A Ddrm_blend.c505 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
515 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in drm_atomic_normalize_zpos()
516 new_crtc_state->zpos_changed = true; in drm_atomic_normalize_zpos()
520 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
521 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
522 new_crtc_state->zpos_changed) { in drm_atomic_normalize_zpos()
524 new_crtc_state); in drm_atomic_normalize_zpos()
H A Ddrm_atomic.c334 const struct drm_crtc_state *new_crtc_state) in drm_atomic_crtc_check() argument
336 struct drm_crtc *crtc = new_crtc_state->crtc; in drm_atomic_crtc_check()
346 if (new_crtc_state->active && !new_crtc_state->enable) { in drm_atomic_crtc_check()
356 WARN_ON(new_crtc_state->enable && !new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
363 WARN_ON(!new_crtc_state->enable && new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
379 if (new_crtc_state->event && in drm_atomic_crtc_check()
1155 struct drm_crtc_state *new_crtc_state; in drm_atomic_check_only() local
1201 if (drm_atomic_crtc_needs_modeset(new_crtc_state)) { in drm_atomic_check_only()
1300 struct drm_crtc_state *new_crtc_state; in update_output_state() local
1350 if (!new_crtc_state->connector_mask) { in update_output_state()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c6657 if (!new_crtc_state) in amdgpu_dm_commit_audio()
6682 if (!new_crtc_state) in amdgpu_dm_commit_audio()
6873 new_crtc_state->enable, in amdgpu_dm_atomic_commit_tail()
6967 new_crtc_state = NULL; in amdgpu_dm_atomic_commit_tail()
7428 new_crtc_state->enable, in dm_update_crtc_state()
7429 new_crtc_state->active, in dm_update_crtc_state()
7583 new_crtc_state = in should_reset_plane()
7586 if (!new_crtc_state) in should_reset_plane()
7723 new_crtc_state); in dm_update_plane_state()
8080 new_crtc_state, in amdgpu_dm_atomic_check()
[all …]
H A Damdgpu_dm_mst_types.c307 struct drm_crtc_state *new_crtc_state; in dm_dp_mst_atomic_check() local
318 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in dm_dp_mst_atomic_check()
319 if (!new_crtc_state || in dm_dp_mst_atomic_check()
320 !drm_atomic_crtc_needs_modeset(new_crtc_state) || in dm_dp_mst_atomic_check()
321 new_crtc_state->enable) in dm_dp_mst_atomic_check()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
H A Dnouveau_dispnv50_disp.c1955 struct drm_crtc_state *new_crtc_state, *old_crtc_state; in nv50_disp_atomic_commit_tail() local
2071 if (new_crtc_state->active) { in nv50_disp_atomic_commit_tail()
2076 if (new_crtc_state->event) in nv50_disp_atomic_commit_tail()
2136 if (new_crtc_state->event) { in nv50_disp_atomic_commit_tail()
2140 if (new_crtc_state->active) in nv50_disp_atomic_commit_tail()
2145 new_crtc_state->event = NULL; in nv50_disp_atomic_commit_tail()
2146 if (new_crtc_state->active) in nv50_disp_atomic_commit_tail()
2284 struct drm_crtc_state *new_crtc_state; in nv50_disp_outp_atomic_check_set() local
2292 if (new_crtc_state->active && drm_atomic_crtc_needs_modeset(new_crtc_state)) { in nv50_disp_outp_atomic_check_set()
2310 struct drm_crtc_state *new_crtc_state; in nv50_disp_atomic_check() local
[all …]
/netbsd/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_atomic.h767 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
776 (new_crtc_state) = (__state)->crtcs[__i].new_state, 1))
808 #define for_each_new_crtc_in_state(__state, crtc, new_crtc_state, __i) \ argument
815 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
816 (void)(new_crtc_state) /* Only to avoid unused-but-set-variable warning */, 1))
/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_pm.c1443 if (!new_crtc_state->hw.active || drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi)) { in g4x_compute_intermediate_wm()
1452 !new_crtc_state->disable_cxsr; in g4x_compute_intermediate_wm()
1454 !new_crtc_state->disable_cxsr; in g4x_compute_intermediate_wm()
2081 if (!new_crtc_state->hw.active || drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi)) { in vlv_compute_intermediate_wm()
2090 !new_crtc_state->disable_cxsr; in vlv_compute_intermediate_wm()
5246 struct intel_crtc_state *new_crtc_state; in skl_compute_ddb() local
5253 new_crtc_state, i) { in skl_compute_ddb()
5259 new_crtc_state); in skl_compute_ddb()
5286 new_crtc_state, i) { in skl_print_wm_changes()
5544 new_crtc_state, i) { in skl_compute_wm()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_kms.c1609 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vmw_kms_check_topology() local
1650 new_crtc_state, i) { in vmw_kms_check_topology()
1656 if (!du->pref_active && new_crtc_state->enable) { in vmw_kms_check_topology()