/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_atomic_plane.c | 112 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_check_with_state() argument 123 if (!intel_state->base.crtc && !old_plane_state->base.crtc) in intel_plane_atomic_check_with_state() 192 old_plane_state, in intel_plane_atomic_check_with_state() 200 const struct drm_plane_state *old_plane_state = in intel_plane_atomic_check() local 202 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in intel_plane_atomic_check() 214 to_intel_plane_state(old_plane_state), in intel_plane_atomic_check()
|
D | intel_display.h | 371 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument 375 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
|
D | intel_display.c | 10513 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_calc_changes() argument 10537 was_visible = old_plane_state->base.visible; in intel_plane_atomic_calc_changes() 10561 if (fb != old_plane_state->base.fb) in intel_plane_atomic_calc_changes() 10610 !needs_scaling(old_plane_state)) in intel_plane_atomic_calc_changes() 12784 struct drm_plane_state *old_plane_state, *new_plane_state; in intel_atomic_track_fbs() local 12788 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in intel_atomic_track_fbs() 12789 i915_gem_track_fb(intel_fb_obj(old_plane_state->fb), in intel_atomic_track_fbs() 12990 static void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state) in intel_plane_unpin_fb() argument 12994 vma = fetch_and_zero(&old_plane_state->vma); in intel_plane_unpin_fb() 12996 intel_unpin_fb_vma(vma, old_plane_state->flags); in intel_plane_unpin_fb() [all …]
|
D | intel_drv.h | 1583 const struct intel_plane_state *old_plane_state, 2159 const struct intel_plane_state *old_plane_state,
|
D | intel_pm.c | 1321 const struct intel_plane_state *old_plane_state; in g4x_compute_pipe_wm() local 1329 old_plane_state, in g4x_compute_pipe_wm() 1332 old_plane_state->base.crtc != &crtc->base) in g4x_compute_pipe_wm() 1843 const struct intel_plane_state *old_plane_state; in vlv_compute_pipe_wm() local 1851 old_plane_state, in vlv_compute_pipe_wm() 1854 old_plane_state->base.crtc != &crtc->base) in vlv_compute_pipe_wm()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_atomic_helper.c | 68 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument 74 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed() 76 old_plane_state->crtc); in drm_atomic_helper_plane_changed() 818 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local 821 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes() 828 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes() 1543 struct drm_plane_state *old_plane_state = NULL; in drm_atomic_helper_async_check() local 1553 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check() 1561 old_plane_state->crtc != new_plane_state->crtc) in drm_atomic_helper_async_check() 1576 if (old_plane_state->commit && in drm_atomic_helper_async_check() [all …]
|
D | drm_blend.c | 426 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos() local 429 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_normalize_zpos() 433 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
|
/Linux-v4.19/drivers/gpu/drm/xen/ |
D | xen_drm_front_kms.c | 183 struct drm_plane_state *old_plane_state) in display_send_page_flip() argument 186 drm_atomic_get_new_plane_state(old_plane_state->state, in display_send_page_flip() 197 if (old_plane_state->fb && plane_state->fb) { in display_send_page_flip() 230 struct drm_plane_state *old_plane_state) in display_update() argument 265 if (!display_send_page_flip(pipe, old_plane_state)) in display_update()
|
/Linux-v4.19/drivers/gpu/drm/imx/ |
D | imx-drm-core.c | 98 struct drm_plane_state *old_plane_state, *new_plane_state; in imx_drm_atomic_commit_tail() local 110 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail() 111 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in imx_drm_atomic_commit_tail() 125 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail()
|
/Linux-v4.19/include/drm/ |
D | drm_atomic.h | 766 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument 772 (old_plane_state) = (__state)->planes[__i].old_state,\ 788 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument 794 (old_plane_state) = (__state)->planes[__i].old_state,\ 808 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument 814 (old_plane_state) = (__state)->planes[__i].old_state, 1))
|
D | drm_atomic_helper.h | 251 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument 262 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
|
D | drm_simple_kms_helper.h | 111 struct drm_plane_state *old_plane_state);
|
/Linux-v4.19/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.c | 148 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local 154 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes() 178 if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { in rcar_du_atomic_check_planes() 257 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local 265 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes() 276 !rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) in rcar_du_atomic_check_planes()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1005 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local 1036 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, in vop_crtc_atomic_flush() 1038 if (!old_plane_state->fb) in vop_crtc_atomic_flush() 1041 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush() 1044 drm_framebuffer_get(old_plane_state->fb); in vop_crtc_atomic_flush() 1046 drm_flip_work_queue(&vop->fb_unref_work, old_plane_state->fb); in vop_crtc_atomic_flush()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 3964 struct drm_plane_state *old_plane_state) in handle_cursor_update() argument 3967 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in handle_cursor_update() 3975 if (!plane->state->fb && !old_plane_state->fb) in handle_cursor_update() 4228 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_planes() local 4242 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in amdgpu_dm_commit_planes() 4250 handle_cursor_update(plane, old_plane_state); in amdgpu_dm_commit_planes() 5006 struct drm_plane_state *old_plane_state, *new_plane_state; in dm_update_planes_state() local 5017 for_each_oldnew_plane_in_state_reverse(state, plane, old_plane_state, new_plane_state, i) { in dm_update_planes_state() 5019 old_plane_crtc = old_plane_state->crtc; in dm_update_planes_state() 5021 dm_old_plane_state = to_dm_plane_state(old_plane_state); in dm_update_planes_state()
|