Home
last modified time | relevance | path

Searched refs:old_plane_state (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_atomic_plane.c143 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_check_with_state() argument
155 if (!new_plane_state->base.crtc && !old_plane_state->base.crtc) in intel_plane_atomic_check_with_state()
174 if (new_plane_state->base.visible || old_plane_state->base.visible) in intel_plane_atomic_check_with_state()
181 old_plane_state, new_plane_state); in intel_plane_atomic_check_with_state()
185 get_crtc_from_states(const struct intel_plane_state *old_plane_state, in get_crtc_from_states() argument
191 if (old_plane_state->base.crtc) in get_crtc_from_states()
192 return to_intel_crtc(old_plane_state->base.crtc); in get_crtc_from_states()
205 const struct intel_plane_state *old_plane_state = in intel_plane_atomic_check() local
208 get_crtc_from_states(old_plane_state, new_plane_state); in intel_plane_atomic_check()
221 old_plane_state, in intel_plane_atomic_check()
Dintel_atomic_plane.h42 const struct intel_plane_state *old_plane_state,
46 const struct intel_plane_state *old_plane_state,
Dintel_display.h372 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
376 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
396 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
400 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
Dintel_display.c6042 const struct intel_plane_state *old_plane_state; in intel_crtc_disable_planes() local
6049 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_disable_planes()
6056 if (old_plane_state->base.visible) in intel_crtc_disable_planes()
11503 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_calc_changes() argument
11522 was_visible = old_plane_state->base.visible; in intel_plane_atomic_calc_changes()
11547 if (fb != old_plane_state->base.fb) in intel_plane_atomic_calc_changes()
11577 } else if (intel_wm_need_update(old_plane_state, plane_state)) { in intel_plane_atomic_calc_changes()
11624 (turn_on || (!needs_scaling(old_plane_state) && in intel_plane_atomic_calc_changes()
14140 struct intel_plane_state *old_plane_state, *new_plane_state; in intel_atomic_track_fbs() local
14144 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_atomic_track_fbs()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_atomic_helper.c74 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument
80 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed()
82 old_plane_state->crtc); in drm_atomic_helper_plane_changed()
865 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local
868 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
875 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
1660 struct drm_plane_state *old_plane_state = NULL; in drm_atomic_helper_async_check() local
1670 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check()
1678 old_plane_state->crtc != new_plane_state->crtc) in drm_atomic_helper_async_check()
1693 if (old_plane_state->commit && in drm_atomic_helper_async_check()
[all …]
Ddrm_blend.c497 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos() local
500 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_normalize_zpos()
504 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
Ddrm_atomic.c511 plane_switching_crtc(const struct drm_plane_state *old_plane_state, in plane_switching_crtc() argument
514 if (!old_plane_state->crtc || !new_plane_state->crtc) in plane_switching_crtc()
517 if (old_plane_state->crtc == new_plane_state->crtc) in plane_switching_crtc()
538 static int drm_atomic_plane_check(const struct drm_plane_state *old_plane_state, in drm_atomic_plane_check() argument
640 if (plane_switching_crtc(old_plane_state, new_plane_state)) { in drm_atomic_plane_check()
1138 struct drm_plane_state *old_plane_state; in drm_atomic_check_only() local
1149 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_check_only()
1150 ret = drm_atomic_plane_check(old_plane_state, new_plane_state); in drm_atomic_check_only()
/Linux-v5.4/drivers/gpu/drm/xen/
Dxen_drm_front_kms.c184 struct drm_plane_state *old_plane_state) in display_send_page_flip() argument
187 drm_atomic_get_new_plane_state(old_plane_state->state, in display_send_page_flip()
198 if (old_plane_state->fb && plane_state->fb) { in display_send_page_flip()
231 struct drm_plane_state *old_plane_state) in display_update() argument
266 if (!display_send_page_flip(pipe, old_plane_state)) in display_update()
/Linux-v5.4/drivers/gpu/drm/imx/
Dimx-drm-core.c86 struct drm_plane_state *old_plane_state, *new_plane_state; in imx_drm_atomic_commit_tail() local
98 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail()
99 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in imx_drm_atomic_commit_tail()
113 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail()
/Linux-v5.4/include/drm/
Ddrm_atomic.h810 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
816 (old_plane_state) = (__state)->planes[__i].old_state,\
832 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
838 (old_plane_state) = (__state)->planes[__i].old_state,\
852 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument
858 (old_plane_state) = (__state)->planes[__i].old_state, 1))
Ddrm_atomic_helper.h213 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument
224 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
Ddrm_simple_kms_helper.h107 struct drm_plane_state *old_plane_state);
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_kms.c411 struct drm_plane_state *old_plane_state, *new_plane_state; in vc4_load_tracker_atomic_check() local
424 for_each_oldnew_plane_in_state(state, plane, old_plane_state, in vc4_load_tracker_atomic_check()
428 if (old_plane_state->fb && old_plane_state->crtc) { in vc4_load_tracker_atomic_check()
429 vc4_plane_state = to_vc4_plane_state(old_plane_state); in vc4_load_tracker_atomic_check()
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c144 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local
150 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes()
174 if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { in rcar_du_atomic_check_planes()
253 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local
261 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes()
272 !rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) in rcar_du_atomic_check_planes()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c144 struct drm_plane_state *old_plane_state);
5391 struct drm_plane_state *old_plane_state) in handle_cursor_update() argument
5395 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in handle_cursor_update()
5403 if (!plane->state->fb && !old_plane_state->fb) in handle_cursor_update()
5630 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_cursors() local
5637 for_each_oldnew_plane_in_state(state, plane, old_plane_state, in amdgpu_dm_commit_cursors()
5640 handle_cursor_update(plane, old_plane_state); in amdgpu_dm_commit_cursors()
5653 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_planes() local
5692 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in amdgpu_dm_commit_planes()
5725 plane_needs_flip = old_plane_state->fb && new_plane_state->fb; in amdgpu_dm_commit_planes()
[all …]
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1198 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1229 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, in vop_crtc_atomic_flush()
1231 if (!old_plane_state->fb) in vop_crtc_atomic_flush()
1234 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()
1237 drm_framebuffer_get(old_plane_state->fb); in vop_crtc_atomic_flush()
1239 drm_flip_work_queue(&vop->fb_unref_work, old_plane_state->fb); in vop_crtc_atomic_flush()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_pm.c1341 const struct intel_plane_state *old_plane_state; in g4x_compute_pipe_wm() local
1349 old_plane_state, in g4x_compute_pipe_wm()
1352 old_plane_state->base.crtc != &crtc->base) in g4x_compute_pipe_wm()
1862 const struct intel_plane_state *old_plane_state; in vlv_compute_pipe_wm() local
1870 old_plane_state, in vlv_compute_pipe_wm()
1873 old_plane_state->base.crtc != &crtc->base) in vlv_compute_pipe_wm()