/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_atomic_plane.c | 283 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()
|
D | intel_atomic_plane.h | 44 const struct intel_plane_state *old_plane_state, 50 const struct intel_plane_state *old_plane_state,
|
D | intel_display.h | 418 #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), \
|
D | intel_display.c | 6656 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/ |
D | drm_atomic_helper.c | 76 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 …]
|
D | drm_blend.c | 510 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()
|
D | drm_atomic.c | 512 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/ |
D | imx-drm-core.c | 81 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/ |
D | xen_drm_front_kms.c | 177 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/ |
D | drm_atomic.h | 830 #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))
|
D | drm_atomic_helper.h | 216 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()
|
D | drm_simple_kms_helper.h | 110 struct drm_plane_state *old_plane_state);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_kms.c | 587 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/ |
D | udl_modeset.c | 433 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/ |
D | zynqmp_disp.c | 1479 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/ |
D | amdgpu_dm.c | 206 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/ |
D | rockchip_drm_vop.c | 1465 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/ |
D | intel_pm.c | 1379 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/ |
D | drivers.patch | 29854 + 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/ |
D | 0020_linux_drivers_gpu.patch | 21733 - 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)
|