Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_atomic_plane.c284 struct intel_plane_state *new_plane_state) in intel_plane_atomic_check_with_state() argument
286 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); in intel_plane_atomic_check_with_state()
287 const struct drm_framebuffer *fb = new_plane_state->hw.fb; in intel_plane_atomic_check_with_state()
290 intel_plane_set_invisible(new_crtc_state, new_plane_state); in intel_plane_atomic_check_with_state()
292 if (!new_plane_state->hw.crtc && !old_plane_state->hw.crtc) in intel_plane_atomic_check_with_state()
295 ret = plane->check_plane(new_crtc_state, new_plane_state); in intel_plane_atomic_check_with_state()
300 if (new_plane_state->uapi.visible) in intel_plane_atomic_check_with_state()
303 if (new_plane_state->uapi.visible && in intel_plane_atomic_check_with_state()
307 if (new_plane_state->uapi.visible && 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()
[all …]
Dintel_display.h426 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
430 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
442 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
447 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
Dintel_display.c15759 struct intel_plane_state *old_plane_state, *new_plane_state; in intel_atomic_track_fbs() local
15764 new_plane_state, i) in intel_atomic_track_fbs()
15766 to_intel_frontbuffer(new_plane_state->hw.fb), in intel_atomic_track_fbs()
15985 struct intel_plane_state *new_plane_state = in intel_prepare_plane_fb() local
15988 to_intel_atomic_state(new_plane_state->uapi.state); in intel_prepare_plane_fb()
15992 struct drm_i915_gem_object *obj = intel_fb_obj(new_plane_state->hw.fb); in intel_prepare_plane_fb()
16022 if (new_plane_state->uapi.fence) { /* explicit fencing */ in intel_prepare_plane_fb()
16024 new_plane_state->uapi.fence, in intel_prepare_plane_fb()
16038 ret = intel_plane_pin_fb(new_plane_state); in intel_prepare_plane_fb()
16047 if (!new_plane_state->uapi.fence) { /* implicit fencing */ in intel_prepare_plane_fb()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c145 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local
151 new_plane_state = to_rcar_plane_state(new_drm_plane_state); in rcar_du_atomic_check_planes()
161 if (!new_plane_state->format) { in rcar_du_atomic_check_planes()
166 new_plane_state->hwindex = -1; 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()
182 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
208 struct rcar_du_plane_state *new_plane_state; in rcar_du_atomic_check_planes() local
231 new_plane_state = to_rcar_plane_state(s); in rcar_du_atomic_check_planes()
232 used_planes |= rcar_du_plane_hwmask(new_plane_state); in rcar_du_atomic_check_planes()
238 new_plane_state->format ? in rcar_du_atomic_check_planes()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_atomic.c513 const struct drm_plane_state *new_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()
540 const struct drm_plane_state *new_plane_state) in drm_atomic_plane_check() argument
542 struct drm_plane *plane = new_plane_state->plane; in drm_atomic_plane_check()
543 struct drm_crtc *crtc = new_plane_state->crtc; in drm_atomic_plane_check()
544 const struct drm_framebuffer *fb = new_plane_state->fb; in drm_atomic_plane_check()
588 if (new_plane_state->crtc_w > INT_MAX || in drm_atomic_plane_check()
589 new_plane_state->crtc_x > INT_MAX - (int32_t) new_plane_state->crtc_w || in drm_atomic_plane_check()
590 new_plane_state->crtc_h > INT_MAX || in drm_atomic_plane_check()
[all …]
Ddrm_atomic_helper.c888 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()
900 drm_atomic_helper_check_plane_damage(state, new_plane_state); in drm_atomic_helper_check_planes()
905 ret = funcs->atomic_check(plane, new_plane_state); in drm_atomic_helper_check_planes()
1175 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local
1180 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
1183 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
1184 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1185 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
[all …]
Ddrm_blend.c510 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()
514 crtc = new_plane_state->crtc; in drm_atomic_normalize_zpos()
517 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
/kernel/linux/linux-5.10/include/drm/
Ddrm_atomic_helper.h217 struct drm_plane_state *new_plane_state) in drm_atomic_plane_disabling() argument
224 WARN_ON((new_plane_state->crtc == NULL && new_plane_state->fb != NULL) || in drm_atomic_plane_disabling()
225 (new_plane_state->crtc != NULL && new_plane_state->fb == NULL)); in drm_atomic_plane_disabling()
227 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
Ddrm_atomic.h830 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
838 (new_plane_state) = (__state)->planes[__i].new_state, 1))
853 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
860 (new_plane_state) = (__state)->planes[__i].new_state, 1))
891 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ argument
898 (new_plane_state) = (__state)->planes[__i].new_state, \
899 (void)(new_plane_state) /* Only to avoid unused-but-set-variable warning */, 1))
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dimx-drm-core.c81 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1948 struct drm_plane_state *new_plane_state; in dm_resume() local
2066 for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) { in dm_resume()
2067 dm_new_plane_state = to_dm_plane_state(new_plane_state); in dm_resume()
5567 struct drm_plane_state *new_plane_state; in count_crtc_active_planes() local
5573 new_plane_state = drm_atomic_get_new_plane_state(state, plane); in count_crtc_active_planes()
5575 if (!new_plane_state) { in count_crtc_active_planes()
5586 num_active += (new_plane_state->fb != NULL); in count_crtc_active_planes()
6015 struct drm_plane_state *new_plane_state) in dm_plane_atomic_async_check() argument
7132 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_cursors() local
7140 new_plane_state, i) in amdgpu_dm_commit_cursors()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_kms.c587 struct drm_plane_state *old_plane_state, *new_plane_state; in vc4_load_tracker_atomic_check() local
604 new_plane_state, i) { in vc4_load_tracker_atomic_check()
613 if (new_plane_state->fb && new_plane_state->crtc) { in vc4_load_tracker_atomic_check()
614 vc4_plane_state = to_vc4_plane_state(new_plane_state); in vc4_load_tracker_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c2036 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit_wndw() local
2040 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_wndw()
2055 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit_tail() local
2096 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
2097 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
2233 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
2234 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
2263 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in nv50_disp_atomic_commit_tail()
2264 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail()
2312 struct drm_plane_state *new_plane_state; in nv50_disp_atomic_commit() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1465 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1501 new_plane_state, i) { in vop_crtc_atomic_flush()
1505 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pm.c1380 const struct intel_plane_state *new_plane_state; in g4x_compute_pipe_wm() local
1388 new_plane_state, i) { in g4x_compute_pipe_wm()
1389 if (new_plane_state->hw.crtc != &crtc->base && in g4x_compute_pipe_wm()
1393 if (g4x_raw_plane_wm_compute(crtc_state, new_plane_state)) in g4x_compute_pipe_wm()
1903 const struct intel_plane_state *new_plane_state; in vlv_compute_pipe_wm() local
1911 new_plane_state, i) { in vlv_compute_pipe_wm()
1912 if (new_plane_state->hw.crtc != &crtc->base && in vlv_compute_pipe_wm()
1916 if (vlv_raw_plane_wm_compute(crtc_state, new_plane_state)) in vlv_compute_pipe_wm()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch4919 + struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state->state,
4923 + if (!new_plane_state->crtc)
4927 + new_plane_state->crtc);
4931 + return drm_atomic_helper_check_plane_state(new_plane_state,
7589 + struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state->state,
7594 + if (!new_plane_state->crtc)
7599 + new_plane_state->crtc);
7604 + return drm_atomic_helper_check_plane_state(new_plane_state,
7650 + struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state->state,
7655 + if (!new_plane_state->crtc)
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch21733 - 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))
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch29927 - struct drm_plane_state *old_plane_state, *new_plane_state;
29970 - new_plane_state, i) {
29975 - if (old_plane_state->fb == new_plane_state->fb)