Home
last modified time | relevance | path

Searched refs:old_plane_state (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c524 const struct intel_plane_state *old_plane_state, in i9xx_must_disable_cxsr() argument
528 bool old_visible = old_plane_state->uapi.visible; in i9xx_must_disable_cxsr()
530 u32 old_ctl = old_plane_state->ctl; in i9xx_must_disable_cxsr()
565 const struct intel_plane_state *old_plane_state, in ilk_must_disable_cxsr() argument
569 bool old_visible = old_plane_state->uapi.visible; in ilk_must_disable_cxsr()
615 return !intel_plane_is_scaled(old_plane_state) && in ilk_must_disable_cxsr()
621 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_calc_changes() argument
639 was_visible = old_plane_state->uapi.visible; in intel_plane_atomic_calc_changes()
677 i9xx_must_disable_cxsr(new_crtc_state, old_plane_state, new_plane_state)) in intel_plane_atomic_calc_changes()
681 ilk_must_disable_cxsr(new_crtc_state, old_plane_state, new_plane_state)) in intel_plane_atomic_calc_changes()
[all …]
H A Dintel_display.c1143 const struct intel_plane_state *old_plane_state; in intel_crtc_async_flip_disable_wa() local
1148 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_async_flip_disable_wa()
1157 old_crtc_state, old_plane_state, false); in intel_crtc_async_flip_disable_wa()
1294 const struct intel_plane_state *old_plane_state; in intel_crtc_disable_planes() local
1301 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_disable_planes()
1308 if (old_plane_state->uapi.visible) in intel_crtc_disable_planes()
6003 const struct intel_plane_state *old_plane_state; in intel_async_flip_check_uapi() local
6036 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_async_flip_check_uapi()
6055 if (!old_plane_state->uapi.fb || !new_plane_state->uapi.fb) { in intel_async_flip_check_uapi()
6070 const struct intel_plane_state *new_plane_state, *old_plane_state; in intel_async_flip_check_hw() local
[all …]
H A Dintel_psr.c2868 struct intel_plane_state *new_plane_state, *old_plane_state; in intel_psr2_sel_fetch_update() local
2898 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_psr2_sel_fetch_update()
2907 !old_plane_state->uapi.visible) in intel_psr2_sel_fetch_update()
2920 if (new_plane_state->uapi.visible != old_plane_state->uapi.visible || in intel_psr2_sel_fetch_update()
2922 &old_plane_state->uapi.dst)) { in intel_psr2_sel_fetch_update()
2923 if (old_plane_state->uapi.visible) { in intel_psr2_sel_fetch_update()
2924 damaged_area.y1 = old_plane_state->uapi.dst.y1; in intel_psr2_sel_fetch_update()
2925 damaged_area.y2 = old_plane_state->uapi.dst.y2; in intel_psr2_sel_fetch_update()
2937 } else if (new_plane_state->uapi.alpha != old_plane_state->uapi.alpha) { in intel_psr2_sel_fetch_update()
2949 if (!drm_atomic_helper_damage_merged(&old_plane_state->uapi, in intel_psr2_sel_fetch_update()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c81 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument
87 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed()
89 old_plane_state->crtc); in drm_atomic_helper_plane_changed()
1025 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local
1028 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
1035 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
2114 struct drm_plane_state *old_plane_state = NULL; in drm_atomic_helper_async_check() local
2124 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check()
2135 old_plane_state->crtc != new_plane_state->crtc) { in drm_atomic_helper_async_check()
2162 if (old_plane_state->commit && in drm_atomic_helper_async_check()
[all …]
/linux/include/drm/
H A Ddrm_atomic_helper.h249 static inline bool drm_atomic_plane_enabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_enabling() argument
260 return !old_plane_state->crtc && new_plane_state->crtc; in drm_atomic_plane_enabling()
276 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument
287 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
H A Ddrm_atomic.h1119 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
1126 (old_plane_state) = (__state)->planes[__i].old_state,\
1142 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
1148 (old_plane_state) = (__state)->planes[__i].old_state,\
1178 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument
1184 (old_plane_state) = (__state)->planes[__i].old_state, 1))
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c145 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local
151 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes()
175 if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { in rcar_du_atomic_check_planes()
254 struct rcar_du_plane_state *old_plane_state; in rcar_du_atomic_check_planes() local
262 old_plane_state = to_rcar_plane_state(old_drm_plane_state); in rcar_du_atomic_check_planes()
273 !rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) in rcar_du_atomic_check_planes()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.h36 struct drm_plane_state *old_plane_state);
H A Damdgpu_dm_plane.c1348 struct drm_plane_state *old_plane_state) in amdgpu_dm_plane_handle_cursor_update() argument
1352 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in amdgpu_dm_plane_handle_cursor_update()
1360 if (!plane->state->fb && !old_plane_state->fb) in amdgpu_dm_plane_handle_cursor_update()
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c457 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in gud_plane_atomic_check() local
462 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_plane_atomic_check()
485 if (old_plane_state->rotation != new_plane_state->rotation) in gud_plane_atomic_check()
/linux/drivers/gpu/drm/sitronix/
H A Dst7586.c179 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in st7586_plane_helper_atomic_update() local
189 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &rect)) in st7586_plane_helper_atomic_update()
H A Dst7920.c393 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in st7920_primary_plane_atomic_update() local
410 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in st7920_primary_plane_atomic_update()
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c334 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in drm_sysfb_plane_helper_atomic_update() local
354 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in drm_sysfb_plane_helper_atomic_update()
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1201 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ssd130x_primary_plane_atomic_update() local
1219 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in ssd130x_primary_plane_atomic_update()
1242 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ssd132x_primary_plane_atomic_update() local
1260 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in ssd132x_primary_plane_atomic_update()
1283 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ssd133x_primary_plane_atomic_update() local
1300 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in ssd133x_primary_plane_atomic_update()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_plane.c206 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_check() local
251 old_plane_state->visible, new_plane_state->visible); in omap_plane_atomic_check()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c551 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ast_primary_plane_helper_atomic_update() local
552 struct drm_framebuffer *old_fb = old_plane_state->fb; in ast_primary_plane_helper_atomic_update()
568 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in ast_primary_plane_helper_atomic_update()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c104 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_plane_atomic_check() local
118 if (old_plane_state->fb != new_plane_state->fb) in virtio_gpu_plane_atomic_check()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c1570 struct drm_plane_state *old_plane_state, *new_plane_state; in vop_crtc_atomic_flush() local
1609 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, in vop_crtc_atomic_flush()
1611 if (!old_plane_state->fb) in vop_crtc_atomic_flush()
1614 if (old_plane_state->fb == new_plane_state->fb) in vop_crtc_atomic_flush()
1617 drm_framebuffer_get(old_plane_state->fb); in vop_crtc_atomic_flush()
1619 drm_flip_work_queue(&vop->fb_unref_work, old_plane_state->fb); in vop_crtc_atomic_flush()
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c517 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(old_state, plane); in mgag200_primary_plane_helper_atomic_update() local
524 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in mgag200_primary_plane_helper_atomic_update()
/linux/drivers/gpu/drm/tegra/
H A Ddc.c2006 const struct drm_plane_state *old_plane_state; in tegra_crtc_update_memory_bandwidth() local
2038 old_plane_state, i) { in tegra_crtc_update_memory_bandwidth()
2039 old_tegra_state = to_const_tegra_plane_state(old_plane_state); in tegra_crtc_update_memory_bandwidth()
2069 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2070 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c328 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in mdp5_plane_atomic_check() local
335 crtc = new_plane_state->crtc ? new_plane_state->crtc : old_plane_state->crtc; in mdp5_plane_atomic_check()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_plane.c2139 struct drm_plane_state *old_plane_state = in vc4_plane_atomic_check() local
2142 if (vc4->gen >= VC4_GEN_6_C && old_plane_state && in vc4_plane_atomic_check()
2143 plane_enabled(old_plane_state)) { in vc4_plane_atomic_check()