Home
last modified time | relevance | path

Searched refs:new_crtc_state (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_modeset_verify.c161 struct intel_crtc_state *new_crtc_state) in verify_crtc_state()
178 pipe_config->hw.enable = new_crtc_state->hw.enable; in verify_crtc_state()
184 pipe_config->hw.active = new_crtc_state->hw.active; in verify_crtc_state()
187 new_crtc_state->hw.active != pipe_config->hw.active, in verify_crtc_state()
189 new_crtc_state->hw.active, pipe_config->hw.active); in verify_crtc_state()
191 I915_STATE_WARN(dev_priv, crtc->active != new_crtc_state->hw.active, in verify_crtc_state()
193 new_crtc_state->hw.active, crtc->active); in verify_crtc_state()
195 master_crtc = intel_master_crtc(new_crtc_state); in verify_crtc_state()
202 I915_STATE_WARN(dev_priv, active != new_crtc_state->hw.active, in verify_crtc_state()
205 new_crtc_state in verify_crtc_state()
159 verify_crtc_state(struct intel_crtc *crtc, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) verify_crtc_state() argument
228 intel_modeset_verify_crtc(struct intel_crtc *crtc, struct intel_atomic_state *state, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) intel_modeset_verify_crtc() argument
[all...]
H A Dintel_atomic_plane.c262 struct intel_crtc_state *new_crtc_state; in intel_plane_calc_min_cdclk() local
268 new_crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
270 new_crtc_state->min_cdclk[plane->id] = in intel_plane_calc_min_cdclk()
271 plane->min_cdclk(new_crtc_state, plane_state); in intel_plane_calc_min_cdclk()
281 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()
297 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()
304 new_crtc_state->min_cdclk[plane->id], in intel_plane_calc_min_cdclk()
415 const struct intel_crtc_state *new_crtc_state) in intel_plane_do_async_flip()
422 if (!new_crtc_state->uapi.async_flip) in intel_plane_do_async_flip()
435 static bool i9xx_must_disable_cxsr(const struct intel_crtc_state *new_crtc_state, in i9xx_must_disable_cxsr() argument
413 intel_plane_do_async_flip(struct intel_plane *plane, const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) intel_plane_do_async_flip() argument
476 intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, struct intel_plane_state *new_plane_state) intel_plane_atomic_calc_changes() argument
599 intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, struct intel_plane_state *new_plane_state) intel_plane_atomic_check_with_state() argument
692 struct intel_crtc_state *new_crtc_state = intel_plane_atomic_check() local
801 struct intel_crtc_state *new_crtc_state = intel_crtc_planes_update_noarm() local
832 struct intel_crtc_state *new_crtc_state = skl_crtc_planes_update_arm() local
863 struct intel_crtc_state *new_crtc_state = i9xx_crtc_planes_update_arm() local
1037 const struct intel_crtc_state *new_crtc_state = intel_prepare_plane_fb() local
[all...]
H A Dintel_crtc.c473 * @new_crtc_state: the new crtc state
483 void intel_pipe_update_start(struct intel_crtc_state *new_crtc_state) in intel_pipe_update_start() argument
485 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_pipe_update_start()
487 const struct drm_display_mode *adjusted_mode = &new_crtc_state->hw.adjusted_mode; in intel_pipe_update_start()
492 intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI); in intel_pipe_update_start()
495 intel_psr_lock(new_crtc_state); in intel_pipe_update_start()
497 if (new_crtc_state->do_async_flip) in intel_pipe_update_start()
500 if (intel_crtc_needs_vblank_work(new_crtc_state)) in intel_pipe_update_start()
501 intel_crtc_vblank_work_init(new_crtc_state); in intel_pipe_update_start()
503 if (new_crtc_state in intel_pipe_update_start()
640 intel_pipe_update_end(struct intel_crtc_state *new_crtc_state) intel_pipe_update_end() argument
[all...]
H A Dhsw_ips.c97 const struct intel_crtc_state *new_crtc_state = in hsw_ips_need_disable() local
103 if (intel_crtc_needs_modeset(new_crtc_state)) in hsw_ips_need_disable()
113 intel_crtc_needs_color_update(new_crtc_state) && in hsw_ips_need_disable()
114 new_crtc_state->gamma_mode == GAMMA_MODE_MODE_SPLIT) in hsw_ips_need_disable()
117 return !new_crtc_state->ips_enabled; in hsw_ips_need_disable()
138 const struct intel_crtc_state *new_crtc_state = in hsw_ips_need_enable() local
141 if (!new_crtc_state->ips_enabled) in hsw_ips_need_enable()
144 if (intel_crtc_needs_modeset(new_crtc_state)) in hsw_ips_need_enable()
154 intel_crtc_needs_color_update(new_crtc_state) && in hsw_ips_need_enable()
155 new_crtc_state in hsw_ips_need_enable()
171 const struct intel_crtc_state *new_crtc_state = hsw_ips_post_update() local
[all...]
H A Dintel_display.c392 void intel_enable_transcoder(const struct intel_crtc_state *new_crtc_state) in intel_enable_transcoder() argument
394 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_enable_transcoder()
396 enum transcoder cpu_transcoder = new_crtc_state->cpu_transcoder; in intel_enable_transcoder()
411 if (intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI)) in intel_enable_transcoder()
416 if (new_crtc_state->has_pch_encoder) { in intel_enable_transcoder()
449 if (intel_crtc_max_vblank_count(new_crtc_state) == 0) in intel_enable_transcoder()
897 #define is_enabling(feature, old_crtc_state, new_crtc_state) \
898 ((!(old_crtc_state)->feature || intel_crtc_needs_modeset(new_crtc_state)) && \
899 (new_crtc_state)->feature)
900 #define is_disabling(feature, old_crtc_state, new_crtc_state) \
904 planes_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) planes_enabling() argument
910 planes_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) planes_disabling() argument
916 vrr_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) vrr_enabling() argument
922 vrr_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) vrr_disabling() argument
937 const struct intel_crtc_state *new_crtc_state = intel_post_plane_update() local
1007 const struct intel_crtc_state *new_crtc_state = intel_crtc_async_flip_disable_wa() local
1040 const struct intel_crtc_state *new_crtc_state = intel_pre_plane_update() local
1149 const struct intel_crtc_state *new_crtc_state = intel_crtc_disable_planes() local
1176 struct intel_crtc_state *new_crtc_state, *old_crtc_state; intel_encoders_update_prepare() local
1382 const struct intel_crtc_state *new_crtc_state = ilk_crtc_enable() local
1544 const struct intel_crtc_state *new_crtc_state = hsw_crtc_enable() local
1923 const struct intel_crtc_state *new_crtc_state = valleyview_crtc_enable() local
1974 const struct intel_crtc_state *new_crtc_state = i9xx_crtc_enable() local
4170 c8_planes_changed(const struct intel_crtc_state *new_crtc_state) c8_planes_changed() argument
5563 intel_crtc_check_fastset(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) intel_crtc_check_fastset() argument
5605 const struct intel_crtc_state *new_crtc_state = intel_atomic_add_affected_planes() local
5667 struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_atomic_check_planes() local
5746 const struct intel_crtc_state *new_crtc_state; intel_cpu_transcoders_need_modeset() local
5763 const struct intel_crtc_state *new_crtc_state; intel_pipes_need_modeset() local
5891 const struct intel_crtc_state *new_crtc_state = intel_async_flip_check_uapi() local
5948 const struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_async_flip_check_hw() local
6196 struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_atomic_check() local
6458 intel_pipe_fastset(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) intel_pipe_fastset() argument
6508 const struct intel_crtc_state *new_crtc_state = commit_pipe_pre_planes() local
6536 const struct intel_crtc_state *new_crtc_state = commit_pipe_post_planes() local
6553 const struct intel_crtc_state *new_crtc_state = intel_enable_crtc() local
6577 struct intel_crtc_state *new_crtc_state = intel_update_crtc() local
6640 intel_old_crtc_state_disables(struct intel_atomic_state *state, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, struct intel_crtc *crtc) intel_old_crtc_state_disables() argument
6663 struct intel_crtc_state *new_crtc_state, *old_crtc_state; intel_commit_modeset_disables() local
6722 struct intel_crtc_state *new_crtc_state; intel_commit_modeset_enables() local
6739 struct intel_crtc_state *old_crtc_state, *new_crtc_state; skl_commit_modeset_enables() local
6968 struct intel_crtc_state *new_crtc_state, *old_crtc_state; intel_atomic_commit_tail() local
7260 struct intel_crtc_state *new_crtc_state; intel_atomic_commit() local
7286 struct intel_crtc_state *new_crtc_state; intel_atomic_commit() local
[all...]
H A Dintel_crtc.h39 void intel_pipe_update_start(struct intel_crtc_state *new_crtc_state);
40 void intel_pipe_update_end(struct intel_crtc_state *new_crtc_state);
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_atomic_plane.c191 struct intel_crtc_state *new_crtc_state; in intel_plane_calc_min_cdclk() local
197 new_crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
199 new_crtc_state->min_cdclk[plane->id] = in intel_plane_calc_min_cdclk()
200 plane->min_cdclk(new_crtc_state, plane_state); in intel_plane_calc_min_cdclk()
210 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()
226 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()
233 new_crtc_state->min_cdclk[plane->id], in intel_plane_calc_min_cdclk()
282 struct intel_crtc_state *new_crtc_state, in intel_plane_atomic_check_with_state()
290 intel_plane_set_invisible(new_crtc_state, new_plane_state); in intel_plane_atomic_check_with_state()
295 ret = plane->check_plane(new_crtc_state, new_plane_stat in intel_plane_atomic_check_with_state()
281 intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, struct intel_plane_state *new_plane_state) intel_plane_atomic_check_with_state() argument
344 struct intel_crtc_state *new_crtc_state; intel_plane_atomic_check() local
428 struct intel_crtc_state *new_crtc_state = skl_update_planes_on_crtc() local
458 struct intel_crtc_state *new_crtc_state = i9xx_update_planes_on_crtc() local
[all...]
H A Dintel_display.c1846 void intel_enable_pipe(const struct intel_crtc_state *new_crtc_state) in intel_enable_pipe() argument
1848 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_enable_pipe()
1850 enum transcoder cpu_transcoder = new_crtc_state->cpu_transcoder; in intel_enable_pipe()
1865 if (intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI)) in intel_enable_pipe()
1870 if (new_crtc_state->has_pch_encoder) { in intel_enable_pipe()
1900 if (intel_crtc_max_vblank_count(new_crtc_state) == 0) in intel_enable_pipe()
6434 const struct intel_crtc_state *new_crtc_state) in hsw_pre_update_disable_ips()
6436 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in hsw_pre_update_disable_ips()
6442 if (needs_modeset(new_crtc_state)) in hsw_pre_update_disable_ips()
6452 (new_crtc_state in hsw_pre_update_disable_ips()
6433 hsw_pre_update_disable_ips(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) hsw_pre_update_disable_ips() argument
6460 hsw_post_update_enable_ips(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) hsw_post_update_enable_ips() argument
6519 planes_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) planes_enabling() argument
6526 planes_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) planes_disabling() argument
6539 const struct intel_crtc_state *new_crtc_state = intel_post_plane_update() local
6568 const struct intel_crtc_state *new_crtc_state = intel_pre_plane_update() local
6653 const struct intel_crtc_state *new_crtc_state = intel_crtc_disable_planes() local
6919 const struct intel_crtc_state *new_crtc_state = ilk_crtc_enable() local
7073 const struct intel_crtc_state *new_crtc_state = hsw_crtc_enable() local
7475 const struct intel_crtc_state *new_crtc_state = valleyview_crtc_enable() local
7541 const struct intel_crtc_state *new_crtc_state = i9xx_crtc_enable() local
12653 c8_planes_changed(const struct intel_crtc_state *new_crtc_state) c8_planes_changed() argument
14081 verify_wm_state(struct intel_crtc *crtc, struct intel_crtc_state *new_crtc_state) verify_wm_state() argument
14304 verify_crtc_state(struct intel_crtc *crtc, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) verify_crtc_state() argument
14388 verify_single_dpll_state(struct drm_i915_private *dev_priv, struct intel_shared_dpll *pll, struct intel_crtc *crtc, struct intel_crtc_state *new_crtc_state) verify_single_dpll_state() argument
14443 verify_shared_dpll_state(struct intel_crtc *crtc, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) verify_shared_dpll_state() argument
14467 intel_modeset_verify_crtc(struct intel_crtc *crtc, struct intel_atomic_state *state, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) intel_modeset_verify_crtc() argument
14559 struct intel_crtc_state *new_crtc_state; intel_modeset_clear_plls() local
14681 intel_crtc_check_fastset(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) intel_crtc_check_fastset() argument
14691 intel_crtc_copy_fastset(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) intel_crtc_copy_fastset() argument
14740 struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_atomic_check_planes() local
14872 const struct intel_crtc_state *new_crtc_state; intel_cpu_transcoders_need_modeset() local
14896 struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_atomic_check() local
15129 intel_pipe_fastset(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) intel_pipe_fastset() argument
15180 const struct intel_crtc_state *new_crtc_state = commit_pipe_config() local
15213 const struct intel_crtc_state *new_crtc_state = intel_enable_crtc() local
15233 struct intel_crtc_state *new_crtc_state = intel_update_crtc() local
15278 intel_old_crtc_state_disables(struct intel_atomic_state *state, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, struct intel_crtc *crtc) intel_old_crtc_state_disables() argument
15307 struct intel_crtc_state *new_crtc_state, *old_crtc_state; intel_commit_modeset_disables() local
15352 struct intel_crtc_state *new_crtc_state; intel_commit_modeset_enables() local
15369 struct intel_crtc_state *old_crtc_state, *new_crtc_state; skl_commit_modeset_enables() local
15533 struct intel_crtc_state *old_crtc_state, *new_crtc_state; intel_cleanup_dsbs() local
15560 struct intel_crtc_state *new_crtc_state, *old_crtc_state; intel_atomic_commit_tail() local
15803 struct intel_crtc_state *new_crtc_state; intel_atomic_commit() local
15829 struct intel_crtc_state *new_crtc_state; intel_atomic_commit() local
16229 struct intel_crtc_state *new_crtc_state; intel_legacy_cursor_update() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_atomic_helper.c419 struct drm_crtc_state *new_crtc_state; in mode_fixup() local
425 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in mode_fixup()
426 if (!new_crtc_state->mode_changed && in mode_fixup()
427 !new_crtc_state->connectors_changed) in mode_fixup()
430 drm_mode_copy(&new_crtc_state->adjusted_mode, &new_crtc_state->mode); in mode_fixup()
443 new_crtc_state = in mode_fixup()
455 new_crtc_state, in mode_fixup()
463 ret = funcs->atomic_check(encoder, new_crtc_state, in mode_fixup()
472 ret = funcs->mode_fixup(encoder, &new_crtc_state in mode_fixup()
624 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_check_modeset() local
987 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_check_planes() local
1127 struct drm_crtc_state *old_crtc_state, *new_crtc_state; disable_outputs() local
1260 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_update_legacy_modeset_state() local
1324 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_calc_timestamping_constants() local
1340 struct drm_crtc_state *new_crtc_state; crtc_set_mode() local
1464 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_commit_modeset_enables() local
1540 struct drm_crtc_state *new_crtc_state; set_fence_deadline() local
1647 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_wait_for_vblanks() local
1796 struct drm_crtc_state *new_crtc_state; commit_tail() local
2206 struct drm_crtc_state *new_crtc_state; crtc_or_fake_commit() local
2274 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_setup_commit() local
2453 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_fake_vblank() local
2492 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_commit_hw_done() local
2737 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_commit_planes() local
2857 struct drm_crtc_state *new_crtc_state = drm_atomic_helper_commit_planes_on_crtc() local
3020 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_swap_state() local
3557 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_commit_duplicated_state() local
[all...]
H A Ddrm_blend.c514 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
524 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in drm_atomic_normalize_zpos()
525 new_crtc_state->zpos_changed = true; in drm_atomic_normalize_zpos()
529 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
530 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
531 new_crtc_state->zpos_changed) { in drm_atomic_normalize_zpos()
533 new_crtc_state); in drm_atomic_normalize_zpos()
H A Ddrm_atomic.c380 const struct drm_crtc_state *new_crtc_state) in drm_atomic_crtc_check()
382 struct drm_crtc *crtc = new_crtc_state->crtc; in drm_atomic_crtc_check()
392 if (new_crtc_state->active && !new_crtc_state->enable) { in drm_atomic_crtc_check()
404 WARN_ON(new_crtc_state->enable && !new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
412 WARN_ON(!new_crtc_state->enable && new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
429 if (new_crtc_state->event && in drm_atomic_crtc_check()
430 !new_crtc_state in drm_atomic_crtc_check()
379 drm_atomic_crtc_check(const struct drm_crtc_state *old_crtc_state, const struct drm_crtc_state *new_crtc_state) drm_atomic_crtc_check() argument
1396 struct drm_crtc_state *new_crtc_state; drm_atomic_check_only() local
1575 struct drm_crtc_state *new_crtc_state; update_output_state() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_atomic_helper.c406 struct drm_crtc_state *new_crtc_state; in mode_fixup() local
412 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in mode_fixup()
413 if (!new_crtc_state->mode_changed && in mode_fixup()
414 !new_crtc_state->connectors_changed) in mode_fixup()
417 drm_mode_copy(&new_crtc_state->adjusted_mode, &new_crtc_state->mode); in mode_fixup()
430 new_crtc_state = in mode_fixup()
442 new_crtc_state, in mode_fixup()
450 ret = funcs->atomic_check(encoder, new_crtc_state, in mode_fixup()
458 ret = funcs->mode_fixup(encoder, &new_crtc_state in mode_fixup()
609 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_check_modeset() local
886 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_check_planes() local
1024 struct drm_crtc_state *old_crtc_state, *new_crtc_state; disable_outputs() local
1155 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_update_legacy_modeset_state() local
1219 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_calc_timestamping_constants() local
1235 struct drm_crtc_state *new_crtc_state; crtc_set_mode() local
1359 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_commit_modeset_enables() local
1499 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_wait_for_vblanks() local
1648 struct drm_crtc_state *new_crtc_state; commit_tail() local
2028 struct drm_crtc_state *new_crtc_state; crtc_or_fake_commit() local
2093 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_setup_commit() local
2290 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_fake_vblank() local
2329 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_commit_hw_done() local
2511 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_commit_planes() local
2615 struct drm_crtc_state *new_crtc_state = drm_atomic_helper_commit_planes_on_crtc() local
2782 struct drm_crtc_state *old_crtc_state, *new_crtc_state; drm_atomic_helper_swap_state() local
3317 struct drm_crtc_state *new_crtc_state; drm_atomic_helper_commit_duplicated_state() local
[all...]
H A Ddrm_blend.c508 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
518 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in drm_atomic_normalize_zpos()
519 new_crtc_state->zpos_changed = true; in drm_atomic_normalize_zpos()
523 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
524 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
525 new_crtc_state->zpos_changed) { in drm_atomic_normalize_zpos()
527 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()
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()
380 !new_crtc_state in drm_atomic_crtc_check()
333 drm_atomic_crtc_check(const struct drm_crtc_state *old_crtc_state, const struct drm_crtc_state *new_crtc_state) drm_atomic_crtc_check() argument
1272 struct drm_crtc_state *new_crtc_state; drm_atomic_check_only() local
1417 struct drm_crtc_state *new_crtc_state; update_output_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/
H A Ddp_drm.c166 struct drm_crtc_state *new_crtc_state = NULL, *old_crtc_state = NULL; in edp_bridge_atomic_disable() local
175 new_crtc_state = drm_atomic_get_new_crtc_state(atomic_state, crtc); in edp_bridge_atomic_disable()
176 if (!new_crtc_state) in edp_bridge_atomic_disable()
194 if (new_crtc_state->self_refresh_active) { in edp_bridge_atomic_disable()
211 struct drm_crtc_state *new_crtc_state = NULL; in edp_bridge_atomic_post_disable() local
218 new_crtc_state = drm_atomic_get_new_crtc_state(atomic_state, crtc); in edp_bridge_atomic_post_disable()
219 if (!new_crtc_state) in edp_bridge_atomic_post_disable()
225 if (new_crtc_state->self_refresh_active) in edp_bridge_atomic_post_disable()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_kms.c328 struct drm_crtc_state *new_crtc_state; in vc4_atomic_commit_tail() local
343 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in vc4_atomic_commit_tail()
346 if (!new_crtc_state->commit) in vc4_atomic_commit_tail()
349 vc4_crtc_state = to_vc4_crtc_state(new_crtc_state); in vc4_atomic_commit_tail()
510 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
514 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
516 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
524 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
525 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
535 if (new_crtc_state in vc4_ctm_atomic_check()
850 struct drm_crtc_state *old_crtc_state, *new_crtc_state; vc4_pv_muxing_atomic_check() local
927 struct drm_crtc_state *old_crtc_state, *new_crtc_state; vc4_core_clock_atomic_check() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_kms.c311 struct drm_crtc_state *new_crtc_state; in vc4_atomic_complete_commit() local
315 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in vc4_atomic_complete_commit()
318 if (!new_crtc_state->commit) in vc4_atomic_complete_commit()
321 vc4_crtc_state = to_vc4_crtc_state(new_crtc_state); in vc4_atomic_complete_commit()
524 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
528 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
530 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
538 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
539 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
549 if (new_crtc_state in vc4_ctm_atomic_check()
782 struct drm_crtc_state *old_crtc_state, *new_crtc_state; vc4_pv_muxing_atomic_check() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c1979 struct drm_crtc_state *new_crtc_state; in dm_resume() local
2086 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) in dm_resume()
2087 new_crtc_state->active_changed = true; in dm_resume()
2094 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) { in dm_resume()
2095 dm_new_crtc_state = to_dm_crtc_state(new_crtc_state); in dm_resume()
5543 struct drm_crtc_state *new_crtc_state;
5556 new_crtc_state = drm_atomic_get_crtc_state(state, crtc);
5557 if (IS_ERR(new_crtc_state))
5558 return PTR_ERR(new_crtc_state);
5571 new_crtc_state
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c232 struct drm_crtc_state *new_crtc_state);
2807 struct drm_crtc_state *new_crtc_state; in dm_resume() local
2944 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) in dm_resume()
2945 new_crtc_state->active_changed = true; in dm_resume()
2952 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) { in dm_resume()
2953 dm_new_crtc_state = to_dm_crtc_state(new_crtc_state); in dm_resume()
6734 struct drm_crtc_state *new_crtc_state; in amdgpu_dm_connector_atomic_check() local
6750 new_crtc_state = drm_atomic_get_crtc_state(state, crtc); in amdgpu_dm_connector_atomic_check()
6751 if (IS_ERR(new_crtc_state)) in amdgpu_dm_connector_atomic_check()
6752 return PTR_ERR(new_crtc_state); in amdgpu_dm_connector_atomic_check()
7673 is_content_protection_different(struct drm_crtc_state *new_crtc_state, struct drm_crtc_state *old_crtc_state, struct drm_connector_state *new_conn_state, struct drm_connector_state *old_conn_state, const struct drm_connector *connector, struct hdcp_workqueue *hdcp_w) is_content_protection_different() argument
7821 update_freesync_state_on_stream( struct amdgpu_display_manager *dm, struct dm_crtc_state *new_crtc_state, struct dc_stream_state *new_stream, struct dc_plane_state *surface, u32 flip_timestamp_in_us) update_freesync_state_on_stream() argument
7916 update_stream_irq_parameters( struct amdgpu_display_manager *dm, struct dm_crtc_state *new_crtc_state) update_stream_irq_parameters() argument
8076 struct drm_crtc_state *new_crtc_state; amdgpu_dm_commit_planes() local
8428 struct drm_crtc_state *new_crtc_state; amdgpu_dm_commit_audio() local
8517 struct drm_crtc_state *old_crtc_state, *new_crtc_state; amdgpu_dm_commit_streams() local
8673 struct drm_crtc_state *old_crtc_state, *new_crtc_state; amdgpu_dm_atomic_commit_tail() local
9164 get_freesync_config_for_crtc( struct dm_crtc_state *new_crtc_state, struct dm_connector_state *new_con_state) get_freesync_config_for_crtc() argument
9202 reset_freesync_config_for_crtc( struct dm_crtc_state *new_crtc_state) reset_freesync_config_for_crtc() argument
9212 is_timing_unchanged_for_freesync(struct drm_crtc_state *old_crtc_state, struct drm_crtc_state *new_crtc_state) is_timing_unchanged_for_freesync() argument
9244 struct drm_crtc_state *new_crtc_state = &dm_new_crtc_state->base; set_freesync_fixed_config() local
9256 dm_update_crtc_state(struct amdgpu_display_manager *dm, struct drm_atomic_state *state, struct drm_crtc *crtc, struct drm_crtc_state *old_crtc_state, struct drm_crtc_state *new_crtc_state, bool enable, bool *lock_and_validation_needed) dm_update_crtc_state() argument
9532 struct drm_crtc_state *new_crtc_state; should_reset_plane() local
9704 struct drm_crtc_state *old_crtc_state, *new_crtc_state; dm_update_plane_state() local
9897 dm_check_crtc_cursor(struct drm_atomic_state *state, struct drm_crtc *crtc, struct drm_crtc_state *new_crtc_state) dm_check_crtc_cursor() argument
10051 struct drm_crtc_state *old_crtc_state, *new_crtc_state; amdgpu_dm_atomic_check() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
H A Dmsm_atomic.c186 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in msm_atomic_check() local
191 new_crtc_state, i) { in msm_atomic_check()
192 if ((old_crtc_state->ctm && !new_crtc_state->ctm) || in msm_atomic_check()
193 (!old_crtc_state->ctm && new_crtc_state->ctm)) { in msm_atomic_check()
194 new_crtc_state->mode_changed = true; in msm_atomic_check()
/kernel/linux/linux-6.6/drivers/gpu/drm/vkms/
H A Dvkms_drv.c126 struct drm_crtc_state *new_crtc_state; in vkms_atomic_check() local
129 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in vkms_atomic_check()
130 if (!new_crtc_state->gamma_lut || !new_crtc_state->color_mgmt_changed) in vkms_atomic_check()
133 if (new_crtc_state->gamma_lut->length / sizeof(struct drm_color_lut *) in vkms_atomic_check()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dpanel.c161 struct drm_crtc_state *new_crtc_state; in panel_bridge_atomic_disable() local
167 new_crtc_state = drm_atomic_get_new_crtc_state(atomic_state, crtc); in panel_bridge_atomic_disable()
168 if (new_crtc_state && new_crtc_state->self_refresh_active) in panel_bridge_atomic_disable()
181 struct drm_crtc_state *new_crtc_state; in panel_bridge_atomic_post_disable() local
187 new_crtc_state = drm_atomic_get_new_crtc_state(atomic_state, crtc); in panel_bridge_atomic_post_disable()
188 if (new_crtc_state && new_crtc_state->self_refresh_active) in panel_bridge_atomic_post_disable()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c268 struct drm_crtc_state *new_crtc_state; in nv50_crc_atomic_init_notifier_contexts() local
272 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_init_notifier_contexts()
274 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_init_notifier_contexts()
292 struct drm_crtc_state *new_crtc_state; in nv50_crc_atomic_release_notifier_contexts() local
296 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_release_notifier_contexts()
298 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_release_notifier_contexts()
403 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in nv50_crc_atomic_check_outp() local
410 new_crtc_state, i) { in nv50_crc_atomic_check_outp()
412 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_check_outp()
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c55 struct drm_crtc_state *new_crtc_state; in lsdc_primary_atomic_check() local
60 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in lsdc_primary_atomic_check()
63 new_crtc_state, in lsdc_primary_atomic_check()
273 struct drm_crtc_state *new_crtc_state; in ls7a1000_cursor_plane_atomic_check() local
290 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in ls7a1000_cursor_plane_atomic_check()
293 new_crtc_state, in ls7a1000_cursor_plane_atomic_check()
346 struct drm_crtc_state *new_crtc_state; in ls7a2000_cursor_plane_atomic_check() local
369 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in ls7a2000_cursor_plane_atomic_check()
372 new_crtc_state, in ls7a2000_cursor_plane_atomic_check()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c272 struct drm_crtc_state *new_crtc_state; in nv50_crc_atomic_init_notifier_contexts() local
276 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_init_notifier_contexts()
278 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_init_notifier_contexts()
296 struct drm_crtc_state *new_crtc_state; in nv50_crc_atomic_release_notifier_contexts() local
300 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_release_notifier_contexts()
302 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_release_notifier_contexts()
382 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in nv50_crc_atomic_check_outp() local
389 new_crtc_state, i) { in nv50_crc_atomic_check_outp()
391 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_check_outp()

Completed in 54 milliseconds

1234