Home
last modified time | relevance | path

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

/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 …]
/drivers/gpu/drm/msm/
Dmsm_atomic.c203 struct drm_plane_state *old_plane_state, *new_plane_state; in msm_atomic_commit() local
225 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in msm_atomic_commit()
226 if ((new_plane_state->fb != old_plane_state->fb) && new_plane_state->fb) { in msm_atomic_commit()
227 struct drm_gem_object *obj = msm_framebuffer_bo(new_plane_state->fb, 0); in msm_atomic_commit()
231 drm_atomic_set_fence_for_plane(new_plane_state, fence); in msm_atomic_commit()
/drivers/gpu/drm/
Ddrm_atomic_helper.c721 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local
724 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
731 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
736 ret = funcs->atomic_check(plane, new_plane_state); in drm_atomic_helper_check_planes()
948 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local
953 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
956 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
957 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
958 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1161 struct drm_plane_state *new_plane_state; in drm_atomic_helper_wait_for_fences() local
[all …]
Ddrm_blend.c383 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()
387 crtc = new_plane_state->crtc; in drm_atomic_normalize_zpos()
390 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c1007 struct drm_plane_state *plane_state, *new_plane_state; in mdp5_update_cursor_plane_legacy() local
1032 new_plane_state = mdp5_plane_duplicate_state(plane); in mdp5_update_cursor_plane_legacy()
1033 if (!new_plane_state) in mdp5_update_cursor_plane_legacy()
1036 new_plane_state->src_x = src_x; in mdp5_update_cursor_plane_legacy()
1037 new_plane_state->src_y = src_y; in mdp5_update_cursor_plane_legacy()
1038 new_plane_state->src_w = src_w; in mdp5_update_cursor_plane_legacy()
1039 new_plane_state->src_h = src_h; in mdp5_update_cursor_plane_legacy()
1040 new_plane_state->crtc_x = crtc_x; in mdp5_update_cursor_plane_legacy()
1041 new_plane_state->crtc_y = crtc_y; in mdp5_update_cursor_plane_legacy()
1042 new_plane_state->crtc_w = crtc_w; in mdp5_update_cursor_plane_legacy()
[all …]
/drivers/gpu/drm/imx/
Dimx-drm-core.c118 struct drm_plane_state *old_plane_state, *new_plane_state; in imx_drm_atomic_commit_tail() local
130 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail()
131 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in imx_drm_atomic_commit_tail()
/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()
/drivers/gpu/drm/nouveau/
Dnv50_display.c3905 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit_tail() local
3940 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
3941 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
4027 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
4028 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
4058 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
4059 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
4102 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit() local
4132 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit()
4133 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c991 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1023 new_plane_state, i) { in vop_crtc_atomic_flush()
1027 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()
/drivers/gpu/drm/i915/
Dintel_display.c12580 struct drm_plane_state *old_plane_state, *new_plane_state; in intel_atomic_track_fbs() local
12584 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in intel_atomic_track_fbs()
12586 intel_fb_obj(new_plane_state->fb), in intel_atomic_track_fbs()
13077 struct drm_plane_state *old_plane_state, *new_plane_state; in intel_legacy_cursor_update() local
13106 new_plane_state = intel_plane_duplicate_state(plane); in intel_legacy_cursor_update()
13107 if (!new_plane_state) in intel_legacy_cursor_update()
13110 drm_atomic_set_fb_for_plane(new_plane_state, fb); in intel_legacy_cursor_update()
13112 new_plane_state->src_x = src_x; in intel_legacy_cursor_update()
13113 new_plane_state->src_y = src_y; in intel_legacy_cursor_update()
13114 new_plane_state->src_w = src_w; in intel_legacy_cursor_update()
[all …]