/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.c | 149 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/ |
D | msm_atomic.c | 203 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/ |
D | drm_atomic_helper.c | 721 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 …]
|
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() 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/ |
D | mdp5_plane.c | 1007 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/ |
D | imx-drm-core.c | 118 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/ |
D | mtk_drm_drv.c | 51 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/ |
D | nv50_display.c | 3905 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/ |
D | rockchip_drm_vop.c | 991 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/ |
D | intel_display.c | 12580 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 …]
|