/dragonfly/sys/dev/drm/ |
H A D | drm_atomic_helper.c | 67 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument 73 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed() 75 old_plane_state->crtc); in drm_atomic_helper_plane_changed() 1432 if (old_plane_state->commit && in drm_atomic_helper_async_check() 1842 struct drm_plane_state *old_plane_state; in drm_atomic_helper_wait_for_dependencies() local 1892 commit = old_plane_state->commit; in drm_atomic_helper_wait_for_dependencies() 2222 if (!old_plane_state || !plane_funcs) in drm_atomic_helper_commit_planes_on_crtc() 2312 if (old_plane_state == plane->state) in drm_atomic_helper_cleanup_planes() 2315 plane_state = old_plane_state; in drm_atomic_helper_cleanup_planes() 2407 commit = old_plane_state->commit; in drm_atomic_helper_swap_state() [all …]
|
H A D | drm_blend.c | 383 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos() local 386 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_normalize_zpos() 390 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_atomic_plane.c | 112 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_check_with_state() argument 129 if (!intel_state->base.crtc && !old_plane_state->base.crtc) in intel_plane_atomic_check_with_state() 201 old_plane_state, in intel_plane_atomic_check_with_state() 209 const struct drm_plane_state *old_plane_state = in intel_plane_atomic_check() local 211 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in intel_plane_atomic_check() 229 to_intel_plane_state(old_plane_state), in intel_plane_atomic_check()
|
H A D | intel_display.c | 10311 if (fb != old_plane_state->base.fb) in intel_plane_atomic_calc_changes() 10360 !needs_scaling(old_plane_state)) in intel_plane_atomic_calc_changes() 13047 old_plane_state = plane->state; in intel_legacy_cursor_update() 13053 if (old_plane_state->commit && in intel_legacy_cursor_update() 13062 if (old_plane_state->crtc != crtc || in intel_legacy_cursor_update() 13063 old_plane_state->src_w != src_w || in intel_legacy_cursor_update() 13064 old_plane_state->src_h != src_h || in intel_legacy_cursor_update() 13065 old_plane_state->crtc_w != crtc_w || in intel_legacy_cursor_update() 13066 old_plane_state->crtc_h != crtc_h || in intel_legacy_cursor_update() 13067 !old_plane_state->fb != !fb) in intel_legacy_cursor_update() [all …]
|
H A D | intel_drv.h | 1430 const struct intel_plane_state *old_plane_state, 2001 const struct intel_plane_state *old_plane_state,
|
H A D | intel_pm.c | 1323 const struct intel_plane_state *old_plane_state; in g4x_compute_pipe_wm() local 1331 old_plane_state, in g4x_compute_pipe_wm() 1334 old_plane_state->base.crtc != &crtc->base) in g4x_compute_pipe_wm() 1832 const struct intel_plane_state *old_plane_state; in vlv_compute_pipe_wm() local 1840 old_plane_state, in vlv_compute_pipe_wm() 1843 old_plane_state->base.crtc != &crtc->base) in vlv_compute_pipe_wm()
|
H A D | i915_drv.h | 581 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument 585 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_atomic.h | 715 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument 721 (old_plane_state) = (__state)->planes[__i].old_state,\ 737 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument 743 (old_plane_state) = (__state)->planes[__i].old_state,\ 757 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument 763 (old_plane_state) = (__state)->planes[__i].old_state, 1))
|
H A D | drm_atomic_helper.h | 244 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument 255 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
|
H A D | drm_simple_kms_helper.h | 75 struct drm_plane_state *old_plane_state);
|
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 4012 struct drm_plane_state *old_plane_state) in handle_cursor_update() argument 4015 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in handle_cursor_update() 4023 if (!plane->state->fb && !old_plane_state->fb) in handle_cursor_update() 4277 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_planes() local 4291 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in amdgpu_dm_commit_planes() 4299 handle_cursor_update(plane, old_plane_state); in amdgpu_dm_commit_planes() 5066 struct drm_plane_state *old_plane_state, *new_plane_state; in dm_update_planes_state() local 5077 for_each_oldnew_plane_in_state_reverse(state, plane, old_plane_state, new_plane_state, i) { in dm_update_planes_state() 5079 old_plane_crtc = old_plane_state->crtc; in dm_update_planes_state() 5081 dm_old_plane_state = to_dm_plane_state(old_plane_state); in dm_update_planes_state()
|