| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_plane.c | 494 const struct intel_plane_state *old_plane_state, in i9xx_must_disable_cxsr() argument 498 bool old_visible = old_plane_state->uapi.visible; in i9xx_must_disable_cxsr() 500 u32 old_ctl = old_plane_state->ctl; in i9xx_must_disable_cxsr() 535 const struct intel_plane_state *old_plane_state, in ilk_must_disable_cxsr() argument 539 bool old_visible = old_plane_state->uapi.visible; in ilk_must_disable_cxsr() 585 return !intel_plane_is_scaled(old_plane_state) && in ilk_must_disable_cxsr() 591 const struct intel_plane_state *old_plane_state, in intel_plane_atomic_calc_changes() argument 609 was_visible = old_plane_state->uapi.visible; in intel_plane_atomic_calc_changes() 647 i9xx_must_disable_cxsr(new_crtc_state, old_plane_state, new_plane_state)) in intel_plane_atomic_calc_changes() 651 ilk_must_disable_cxsr(new_crtc_state, old_plane_state, new_plane_state)) in intel_plane_atomic_calc_changes() [all …]
|
| H A D | intel_display.c | 1123 const struct intel_plane_state *old_plane_state; in intel_crtc_async_flip_disable_wa() local 1128 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_async_flip_disable_wa() 1137 old_crtc_state, old_plane_state, false); in intel_crtc_async_flip_disable_wa() 1271 const struct intel_plane_state *old_plane_state; in intel_crtc_disable_planes() local 1278 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_crtc_disable_planes() 1285 if (old_plane_state->uapi.visible) in intel_crtc_disable_planes() 6002 const struct intel_plane_state *old_plane_state; in intel_async_flip_check_uapi() local 6043 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_async_flip_check_uapi() 6062 if (!old_plane_state->uapi.fb || !new_plane_state->uapi.fb) { in intel_async_flip_check_uapi() 6077 const struct intel_plane_state *new_plane_state, *old_plane_state; in intel_async_flip_check_hw() local [all …]
|
| H A D | intel_psr.c | 2812 struct intel_plane_state *new_plane_state, *old_plane_state; in intel_psr2_sel_fetch_update() local 2836 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_psr2_sel_fetch_update() 2845 !old_plane_state->uapi.visible) in intel_psr2_sel_fetch_update() 2858 if (new_plane_state->uapi.visible != old_plane_state->uapi.visible || in intel_psr2_sel_fetch_update() 2860 &old_plane_state->uapi.dst)) { in intel_psr2_sel_fetch_update() 2861 if (old_plane_state->uapi.visible) { in intel_psr2_sel_fetch_update() 2862 damaged_area.y1 = old_plane_state->uapi.dst.y1; in intel_psr2_sel_fetch_update() 2863 damaged_area.y2 = old_plane_state->uapi.dst.y2; in intel_psr2_sel_fetch_update() 2875 } else if (new_plane_state->uapi.alpha != old_plane_state->uapi.alpha) { in intel_psr2_sel_fetch_update() 2887 if (!drm_atomic_helper_damage_merged(&old_plane_state->uapi, in intel_psr2_sel_fetch_update() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 80 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument 86 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed() 88 old_plane_state->crtc); in drm_atomic_helper_plane_changed() 1024 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local 1027 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes() 1034 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes() 2037 struct drm_plane_state *old_plane_state = NULL; in drm_atomic_helper_async_check() local 2047 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check() 2058 old_plane_state->crtc != new_plane_state->crtc) { in drm_atomic_helper_async_check() 2085 if (old_plane_state->commit && in drm_atomic_helper_async_check() [all …]
|
| H A D | drm_atomic.c | 645 plane_switching_crtc(const struct drm_plane_state *old_plane_state, in plane_switching_crtc() argument 648 if (!old_plane_state->crtc || !new_plane_state->crtc) in plane_switching_crtc() 651 if (old_plane_state->crtc == new_plane_state->crtc) in plane_switching_crtc() 672 static int drm_atomic_plane_check(const struct drm_plane_state *old_plane_state, in drm_atomic_plane_check() argument 773 if (plane_switching_crtc(old_plane_state, new_plane_state)) { in drm_atomic_plane_check() 1620 struct drm_plane_state *old_plane_state; in drm_atomic_check_only() local 1638 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_check_only() 1639 ret = drm_atomic_plane_check(old_plane_state, new_plane_state); in drm_atomic_check_only()
|
| /linux/include/drm/ |
| H A D | drm_atomic.h | 1124 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument 1131 (old_plane_state) = (__state)->planes[__i].old_state,\ 1147 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument 1153 (old_plane_state) = (__state)->planes[__i].old_state,\ 1183 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument 1189 (old_plane_state) = (__state)->planes[__i].old_state, 1))
|
| H A D | drm_simple_kms_helper.h | 110 struct drm_plane_state *old_plane_state);
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.h | 36 struct drm_plane_state *old_plane_state);
|
| H A D | amdgpu_dm.c | 6297 struct drm_plane_state *old_plane_state, in fill_dc_dirty_rects() argument 6351 fb_changed = old_plane_state->fb->base.id != in fill_dc_dirty_rects() 6353 bb_changed = (old_plane_state->crtc_x != new_plane_state->crtc_x || in fill_dc_dirty_rects() 6354 old_plane_state->crtc_y != new_plane_state->crtc_y || in fill_dc_dirty_rects() 6355 old_plane_state->crtc_w != new_plane_state->crtc_w || in fill_dc_dirty_rects() 6356 old_plane_state->crtc_h != new_plane_state->crtc_h); in fill_dc_dirty_rects() 6377 old_plane_state->crtc_x, in fill_dc_dirty_rects() 6378 old_plane_state->crtc_y, in fill_dc_dirty_rects() 6379 old_plane_state->crtc_w, in fill_dc_dirty_rects() 6380 old_plane_state->crtc_h, &i, false); in fill_dc_dirty_rects() [all …]
|
| H A D | amdgpu_dm_plane.c | 1336 struct drm_plane_state *old_plane_state) in amdgpu_dm_plane_handle_cursor_update() argument 1340 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in amdgpu_dm_plane_handle_cursor_update() 1348 if (!plane->state->fb && !old_plane_state->fb) in amdgpu_dm_plane_handle_cursor_update()
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_plane.c | 1155 struct drm_plane_state *old_plane_state = in dpu_plane_virtual_atomic_check() local 1188 if (!old_plane_state || !old_plane_state->fb || in dpu_plane_virtual_atomic_check() 1189 old_plane_state->src_w != plane_state->src_w || in dpu_plane_virtual_atomic_check() 1190 old_plane_state->src_h != plane_state->src_h || in dpu_plane_virtual_atomic_check() 1191 old_plane_state->crtc_w != plane_state->crtc_w || in dpu_plane_virtual_atomic_check() 1192 old_plane_state->crtc_h != plane_state->crtc_h || in dpu_plane_virtual_atomic_check() 1193 msm_framebuffer_format(old_plane_state->fb) != in dpu_plane_virtual_atomic_check()
|
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_mode.c | 545 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ast_primary_plane_helper_atomic_update() local 546 struct drm_framebuffer *old_fb = old_plane_state->fb; in ast_primary_plane_helper_atomic_update() 562 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in ast_primary_plane_helper_atomic_update()
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_mode.c | 517 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()
|