| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | intel_atomic_plane.c | 143 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()
|
| D | intel_atomic_plane.h | 42 const struct intel_plane_state *old_plane_state, 46 const struct intel_plane_state *old_plane_state,
|
| D | intel_display.h | 372 #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), \
|
| D | intel_display.c | 6042 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/ |
| D | drm_atomic_helper.c | 74 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 …]
|
| D | drm_blend.c | 497 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()
|
| D | drm_atomic.c | 511 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/ |
| D | xen_drm_front_kms.c | 184 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/ |
| D | imx-drm-core.c | 86 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/ |
| D | drm_atomic.h | 810 #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))
|
| D | drm_atomic_helper.h | 213 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()
|
| D | drm_simple_kms_helper.h | 107 struct drm_plane_state *old_plane_state);
|
| /Linux-v5.4/drivers/gpu/drm/vc4/ |
| D | vc4_kms.c | 411 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/ |
| D | rcar_du_plane.c | 144 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/ |
| D | amdgpu_dm.c | 144 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/ |
| D | rockchip_drm_vop.c | 1198 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/ |
| D | intel_pm.c | 1341 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()
|