Home
last modified time | relevance | path

Searched refs:new_plane_state (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c149 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local
155 new_plane_state = to_rcar_plane_state(new_drm_plane_state); in rcar_du_atomic_check_planes()
165 if (!new_plane_state->format) { in rcar_du_atomic_check_planes()
170 new_plane_state->hwindex = -1; 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()
186 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
212 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local
235 new_plane_state = to_rcar_plane_state(s); in rcar_du_atomic_check_planes()
236 used_planes |= rcar_du_plane_hwmask(new_plane_state); in rcar_du_atomic_check_planes()
242 new_plane_state->format ? in rcar_du_atomic_check_planes()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_atomic_plane.c197 struct drm_plane_state *new_plane_state) in intel_plane_atomic_check() argument
199 struct drm_atomic_state *state = new_plane_state->state; in intel_plane_atomic_check()
202 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in intel_plane_atomic_check()
215 to_intel_plane_state(new_plane_state)); in intel_plane_atomic_check()
223 const struct intel_plane_state *new_plane_state = in intel_plane_atomic_update() local
225 struct drm_crtc *crtc = new_plane_state->base.crtc ?: old_state->crtc; in intel_plane_atomic_update()
227 if (new_plane_state->base.visible) { in intel_plane_atomic_update()
235 new_crtc_state, new_plane_state); in intel_plane_atomic_update()
Dintel_display.h355 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
359 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
371 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
376 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
Dintel_display.c12404 struct intel_plane_state *new_plane_state = in intel_update_crtc() local
12419 if (new_plane_state) in intel_update_crtc()
12420 intel_fbc_enable(intel_crtc, pipe_config, new_plane_state); in intel_update_crtc()
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()
12790 intel_fb_obj(new_plane_state->fb), in intel_atomic_track_fbs()
13483 struct drm_plane_state *old_plane_state, *new_plane_state; in intel_legacy_cursor_update() local
13519 new_plane_state = intel_plane_duplicate_state(plane); in intel_legacy_cursor_update()
13520 if (!new_plane_state) in intel_legacy_cursor_update()
13523 drm_atomic_set_fb_for_plane(new_plane_state, fb); in intel_legacy_cursor_update()
[all …]
Dintel_pm.c1322 const struct intel_plane_state *new_plane_state; in g4x_compute_pipe_wm() local
1330 new_plane_state, i) { in g4x_compute_pipe_wm()
1331 if (new_plane_state->base.crtc != &crtc->base && in g4x_compute_pipe_wm()
1335 if (g4x_raw_plane_wm_compute(crtc_state, new_plane_state)) in g4x_compute_pipe_wm()
1844 const struct intel_plane_state *new_plane_state; in vlv_compute_pipe_wm() local
1852 new_plane_state, i) { in vlv_compute_pipe_wm()
1853 if (new_plane_state->base.crtc != &crtc->base && in vlv_compute_pipe_wm()
1857 if (vlv_raw_plane_wm_compute(crtc_state, new_plane_state)) in vlv_compute_pipe_wm()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_atomic_helper.c818 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()
833 ret = funcs->atomic_check(plane, new_plane_state); in drm_atomic_helper_check_planes()
1071 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local
1076 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
1079 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
1080 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1081 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1307 struct drm_plane_state *new_plane_state; in drm_atomic_helper_wait_for_fences() local
[all …]
Ddrm_blend.c426 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()
430 crtc = new_plane_state->crtc; in drm_atomic_normalize_zpos()
433 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
/Linux-v4.19/include/drm/
Ddrm_atomic_helper.h252 struct drm_plane_state *new_plane_state) in drm_atomic_plane_disabling() argument
259 WARN_ON((new_plane_state->crtc == NULL && new_plane_state->fb != NULL) || in drm_atomic_plane_disabling()
260 (new_plane_state->crtc != NULL && new_plane_state->fb == NULL)); in drm_atomic_plane_disabling()
262 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
Ddrm_atomic.h766 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
773 (new_plane_state) = (__state)->planes[__i].new_state, 1))
788 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
795 (new_plane_state) = (__state)->planes[__i].new_state, 1))
826 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ argument
832 (new_plane_state) = (__state)->planes[__i].new_state, 1))
/Linux-v4.19/drivers/gpu/drm/imx/
Dimx-drm-core.c98 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()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c51 struct drm_plane_state *new_plane_state; in mtk_atomic_wait_for_fences() local
54 for_each_new_plane_in_state(state, plane, new_plane_state, i) in mtk_atomic_wait_for_fences()
55 mtk_fb_wait(new_plane_state->fb); in mtk_atomic_wait_for_fences()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c1693 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit_wndw() local
1697 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_wndw()
1712 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit_tail() local
1746 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
1747 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
1831 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
1832 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
1861 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
1862 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
1904 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit() local
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c736 struct drm_plane_state *new_plane_state; in dm_resume() local
803 for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) { in dm_resume()
804 dm_new_plane_state = to_dm_plane_state(new_plane_state); in dm_resume()
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()
4243 struct drm_crtc *crtc = new_plane_state->crtc; in amdgpu_dm_commit_planes()
4245 struct drm_framebuffer *fb = new_plane_state->fb; in amdgpu_dm_commit_planes()
4247 struct dm_plane_state *dm_new_plane_state = to_dm_plane_state(new_plane_state); in amdgpu_dm_commit_planes()
4818 struct drm_plane_state *new_plane_state = NULL; in dm_update_crtcs_state() local
4826 new_plane_state = drm_atomic_get_new_plane_state(state, new_crtc_state->crtc->primary); in dm_update_crtcs_state()
[all …]
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1005 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1037 new_plane_state, i) { in vop_crtc_atomic_flush()
1041 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()