Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_atomic_plane.c283 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_check_with_state() argument
292 if (!new_plane_state->hw.crtc && !old_plane_state->hw.crtc) in intel_plane_atomic_check_with_state()
311 if (new_plane_state->uapi.visible || old_plane_state->uapi.visible) in intel_plane_atomic_check_with_state()
318 old_plane_state, new_plane_state); in intel_plane_atomic_check_with_state()
322 get_crtc_from_states(const struct intel_plane_state *old_plane_state, in get_crtc_from_states() argument
328 if (old_plane_state->uapi.crtc) in get_crtc_from_states()
329 return to_intel_crtc(old_plane_state->uapi.crtc); in get_crtc_from_states()
339 const struct intel_plane_state *old_plane_state = in intel_plane_atomic_check() local
342 get_crtc_from_states(old_plane_state, new_plane_state); in intel_plane_atomic_check()
356 old_plane_state, in intel_plane_atomic_check()
Dintel_atomic_plane.h44 const struct intel_plane_state *old_plane_state,
50 const struct intel_plane_state *old_plane_state,
Dintel_display.h418 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
422 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
442 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
446 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
Dintel_display.c6656 const struct intel_plane_state *old_plane_state; in intel_crtc_disable_planes() local
6663 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_disable_planes()
6670 if (old_plane_state->uapi.visible) in intel_crtc_disable_planes()
12380 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_calc_changes() argument
12398 was_visible = old_plane_state->uapi.visible; in intel_plane_atomic_calc_changes()
12446 } else if (intel_wm_need_update(old_plane_state, plane_state)) { in intel_plane_atomic_calc_changes()
12493 (turn_on || (!needs_scaling(old_plane_state) && in intel_plane_atomic_calc_changes()
15759 struct intel_plane_state *old_plane_state, *new_plane_state; in intel_atomic_track_fbs() local
15763 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_atomic_track_fbs()
15765 intel_frontbuffer_track(to_intel_frontbuffer(old_plane_state->hw.fb), in intel_atomic_track_fbs()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_atomic_helper.c76 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument
82 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed()
84 old_plane_state->crtc); in drm_atomic_helper_plane_changed()
888 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local
891 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
898 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
1705 struct drm_plane_state *old_plane_state = NULL; in drm_atomic_helper_async_check() local
1715 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check()
1723 old_plane_state->crtc != new_plane_state->crtc) in drm_atomic_helper_async_check()
1738 if (old_plane_state->commit && in drm_atomic_helper_async_check()
[all …]
Ddrm_blend.c510 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos() local
513 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_normalize_zpos()
517 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
Ddrm_atomic.c512 plane_switching_crtc(const struct drm_plane_state *old_plane_state, in plane_switching_crtc() argument
515 if (!old_plane_state->crtc || !new_plane_state->crtc) in plane_switching_crtc()
518 if (old_plane_state->crtc == new_plane_state->crtc) in plane_switching_crtc()
539 static int drm_atomic_plane_check(const struct drm_plane_state *old_plane_state, in drm_atomic_plane_check() argument
642 if (plane_switching_crtc(old_plane_state, new_plane_state)) { in drm_atomic_plane_check()
1258 struct drm_plane_state *old_plane_state; in drm_atomic_check_only() local
1269 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_check_only()
1270 ret = drm_atomic_plane_check(old_plane_state, new_plane_state); in drm_atomic_check_only()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dimx-drm-core.c81 struct drm_plane_state *old_plane_state, *new_plane_state; in imx_drm_atomic_commit_tail() local
93 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail()
94 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in imx_drm_atomic_commit_tail()
108 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front_kms.c177 struct drm_plane_state *old_plane_state) in display_send_page_flip() argument
180 drm_atomic_get_new_plane_state(old_plane_state->state, in display_send_page_flip()
191 if (old_plane_state->fb && plane_state->fb) { in display_send_page_flip()
242 struct drm_plane_state *old_plane_state) in display_update() argument
277 if (!display_send_page_flip(pipe, old_plane_state)) in display_update()
/kernel/linux/linux-5.10/include/drm/
Ddrm_atomic.h830 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
837 (old_plane_state) = (__state)->planes[__i].old_state,\
853 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
859 (old_plane_state) = (__state)->planes[__i].old_state,\
873 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument
879 (old_plane_state) = (__state)->planes[__i].old_state, 1))
Ddrm_atomic_helper.h216 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument
227 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
Ddrm_simple_kms_helper.h110 struct drm_plane_state *old_plane_state);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_kms.c587 struct drm_plane_state *old_plane_state, *new_plane_state; in vc4_load_tracker_atomic_check() local
603 for_each_oldnew_plane_in_state(state, plane, old_plane_state, in vc4_load_tracker_atomic_check()
607 if (old_plane_state->fb && old_plane_state->crtc) { in vc4_load_tracker_atomic_check()
608 vc4_plane_state = to_vc4_plane_state(old_plane_state); in vc4_load_tracker_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
Dudl_modeset.c433 struct drm_plane_state *old_plane_state) in udl_simple_display_pipe_update() argument
442 if (drm_atomic_helper_damage_merged(old_plane_state, state, &rect)) in udl_simple_display_pipe_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c1479 struct drm_plane_state *old_plane_state; in zynqmp_disp_crtc_atomic_disable() local
1486 old_plane_state = drm_atomic_get_old_plane_state(old_crtc_state->state, in zynqmp_disp_crtc_atomic_disable()
1488 if (old_plane_state) in zynqmp_disp_crtc_atomic_disable()
1489 zynqmp_disp_plane_atomic_disable(crtc->primary, old_plane_state); in zynqmp_disp_crtc_atomic_disable()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c206 struct drm_plane_state *old_plane_state);
6888 struct drm_plane_state *old_plane_state) in handle_cursor_update() argument
6892 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in handle_cursor_update()
6900 if (!plane->state->fb && !old_plane_state->fb) in handle_cursor_update()
7132 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_cursors() local
7139 for_each_oldnew_plane_in_state(state, plane, old_plane_state, in amdgpu_dm_commit_cursors()
7142 handle_cursor_update(plane, old_plane_state); in amdgpu_dm_commit_cursors()
7155 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_planes() local
7193 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in amdgpu_dm_commit_planes()
7227 plane_needs_flip = old_plane_state->fb && new_plane_state->fb; in amdgpu_dm_commit_planes()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1465 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1500 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, in vop_crtc_atomic_flush()
1502 if (!old_plane_state->fb) in vop_crtc_atomic_flush()
1505 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()
1508 drm_framebuffer_get(old_plane_state->fb); in vop_crtc_atomic_flush()
1510 drm_flip_work_queue(&vop->fb_unref_work, old_plane_state->fb); in vop_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pm.c1379 const struct intel_plane_state *old_plane_state; in g4x_compute_pipe_wm() local
1387 old_plane_state, in g4x_compute_pipe_wm()
1390 old_plane_state->hw.crtc != &crtc->base) in g4x_compute_pipe_wm()
1902 const struct intel_plane_state *old_plane_state; in vlv_compute_pipe_wm() local
1910 old_plane_state, in vlv_compute_pipe_wm()
1913 old_plane_state->hw.crtc != &crtc->base) in vlv_compute_pipe_wm()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch29854 + struct drm_plane_state *old_plane_state;
29927 - struct drm_plane_state *old_plane_state, *new_plane_state;
29969 - for_each_oldnew_plane_in_state(old_state, plane, old_plane_state,
29971 + for_each_old_plane_in_state(old_state, plane, old_plane_state, i) {
29972 if (!old_plane_state->fb)
29975 - if (old_plane_state->fb == new_plane_state->fb)
29976 + if (old_plane_state->fb == plane->state->fb)
29979 drm_framebuffer_get(old_plane_state->fb);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch21733 - struct drm_plane_state *old_plane_state, *new_plane_state;
21745 - for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) {
21746 - if (drm_atomic_plane_disabling(old_plane_state, new_plane_state))
21760 - for_each_old_plane_in_state(state, plane, old_plane_state, i)