Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/i915/
H A Dintel_atomic_plane.c206 struct drm_plane_state *new_plane_state) in intel_plane_atomic_check() argument
208 struct drm_atomic_state *state = new_plane_state->state; in intel_plane_atomic_check()
211 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in intel_plane_atomic_check()
230 to_intel_plane_state(new_plane_state)); in intel_plane_atomic_check()
238 const struct intel_plane_state *new_plane_state = in intel_plane_atomic_update() local
240 struct drm_crtc *crtc = new_plane_state->base.crtc ?: old_state->crtc; in intel_plane_atomic_update()
242 if (new_plane_state->base.visible) { in intel_plane_atomic_update()
250 new_crtc_state, new_plane_state); in intel_plane_atomic_update()
H A Dintel_display.c12465 intel_fb_obj(new_plane_state->fb), in intel_atomic_track_fbs()
13071 if (!new_plane_state) in intel_legacy_cursor_update()
13076 new_plane_state->src_x = src_x; in intel_legacy_cursor_update()
13077 new_plane_state->src_y = src_y; in intel_legacy_cursor_update()
13078 new_plane_state->src_w = src_w; in intel_legacy_cursor_update()
13079 new_plane_state->src_h = src_h; in intel_legacy_cursor_update()
13080 new_plane_state->crtc_x = crtc_x; in intel_legacy_cursor_update()
13081 new_plane_state->crtc_y = crtc_y; in intel_legacy_cursor_update()
13082 new_plane_state->crtc_w = crtc_w; in intel_legacy_cursor_update()
13083 new_plane_state->crtc_h = crtc_h; in intel_legacy_cursor_update()
[all …]
H A Dintel_pm.c1324 const struct intel_plane_state *new_plane_state; in g4x_compute_pipe_wm() local
1332 new_plane_state, i) { in g4x_compute_pipe_wm()
1333 if (new_plane_state->base.crtc != &crtc->base && in g4x_compute_pipe_wm()
1337 if (g4x_raw_plane_wm_compute(crtc_state, new_plane_state)) in g4x_compute_pipe_wm()
1833 const struct intel_plane_state *new_plane_state; in vlv_compute_pipe_wm() local
1841 new_plane_state, i) { in vlv_compute_pipe_wm()
1842 if (new_plane_state->base.crtc != &crtc->base && in vlv_compute_pipe_wm()
1846 if (vlv_raw_plane_wm_compute(crtc_state, new_plane_state)) in vlv_compute_pipe_wm()
H A Di915_drv.h581 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
586 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
/dragonfly/sys/dev/drm/
H A Ddrm_atomic_helper.c962 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
965 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
1174 if (!new_plane_state->fence) in drm_atomic_helper_wait_for_fences()
1177 WARN_ON(!new_plane_state->fb); in drm_atomic_helper_wait_for_fences()
1189 new_plane_state->fence = NULL; in drm_atomic_helper_wait_for_fences()
1417 if (!new_plane_state->crtc) in drm_atomic_helper_async_check()
1424 if (new_plane_state->fence) in drm_atomic_helper_async_check()
2132 new_plane_state); in drm_atomic_helper_commit_planes()
2313 plane_state = new_plane_state; in drm_atomic_helper_cleanup_planes()
2451 new_plane_state->state = NULL; in drm_atomic_helper_swap_state()
[all …]
H A 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()
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_atomic_helper.h245 struct drm_plane_state *new_plane_state) in drm_atomic_plane_disabling() argument
252 WARN_ON((new_plane_state->crtc == NULL && new_plane_state->fb != NULL) || in drm_atomic_plane_disabling()
253 (new_plane_state->crtc != NULL && new_plane_state->fb == NULL)); in drm_atomic_plane_disabling()
255 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
H A Ddrm_atomic.h715 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
722 (new_plane_state) = (__state)->planes[__i].new_state, 1))
737 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
744 (new_plane_state) = (__state)->planes[__i].new_state, 1))
775 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ argument
781 (new_plane_state) = (__state)->planes[__i].new_state, 1))
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c754 struct drm_plane_state *new_plane_state; in dm_resume() local
821 dm_new_plane_state = to_dm_plane_state(new_plane_state); in dm_resume()
4277 struct drm_plane_state *old_plane_state, *new_plane_state; in amdgpu_dm_commit_planes() local
4292 struct drm_crtc *crtc = new_plane_state->crtc; in amdgpu_dm_commit_planes()
4294 struct drm_framebuffer *fb = new_plane_state->fb; in amdgpu_dm_commit_planes()
4878 struct drm_plane_state *new_plane_state = NULL; in dm_update_crtcs_state() local
4888 if (new_crtc_state->enable && new_plane_state && !new_plane_state->fb) { in dm_update_crtcs_state()
5066 struct drm_plane_state *old_plane_state, *new_plane_state; in dm_update_planes_state() local
5078 new_plane_crtc = new_plane_state->crtc; in dm_update_planes_state()
5080 dm_new_plane_state = to_dm_plane_state(new_plane_state); in dm_update_planes_state()
[all …]