| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_atomic_plane.c | 459 bool old_visible = old_plane_state->uapi.visible; in i9xx_must_disable_cxsr() 461 u32 old_ctl = old_plane_state->ctl; in i9xx_must_disable_cxsr() 515 was_visible = old_plane_state->uapi.visible; in intel_plane_atomic_calc_changes() 693 old_plane_state, new_plane_state); in intel_plane_atomic_check_with_state() 747 old_plane_state, in intel_plane_atomic_check() 1115 struct intel_plane_state *old_plane_state = in intel_prepare_plane_fb() local 1124 to_intel_crtc(old_plane_state->hw.crtc)); in intel_prepare_plane_fb() 1193 struct intel_plane_state *old_plane_state = in intel_cleanup_plane_fb() local 1205 intel_plane_unpin_fb(old_plane_state); in intel_cleanup_plane_fb() 1221 if (!old_plane_state->ggtt_vma || in intel_plane_init_cursor_vblank_work() [all …]
|
| A D | intel_fb_pin.c | 306 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state) in intel_plane_unpin_fb() argument 309 to_intel_framebuffer(old_plane_state->hw.fb); in intel_plane_unpin_fb() 313 vma = fetch_and_zero(&old_plane_state->ggtt_vma); in intel_plane_unpin_fb() 315 intel_fb_unpin_vma(vma, old_plane_state->flags); in intel_plane_unpin_fb() 317 vma = fetch_and_zero(&old_plane_state->dpt_vma); in intel_plane_unpin_fb() 319 intel_fb_unpin_vma(vma, old_plane_state->flags); in intel_plane_unpin_fb() 321 vma = fetch_and_zero(&old_plane_state->ggtt_vma); in intel_plane_unpin_fb()
|
| A D | intel_cursor.c | 788 struct intel_plane_state *old_plane_state = in intel_legacy_cursor_update() local 817 if (old_plane_state->uapi.commit && in intel_legacy_cursor_update() 827 old_plane_state->uapi.src_w != src_w || in intel_legacy_cursor_update() 828 old_plane_state->uapi.src_h != src_h || in intel_legacy_cursor_update() 829 old_plane_state->uapi.crtc_w != crtc_w || in intel_legacy_cursor_update() 830 old_plane_state->uapi.crtc_h != crtc_h || in intel_legacy_cursor_update() 831 !old_plane_state->uapi.fb != !fb) in intel_legacy_cursor_update() 858 old_plane_state, new_plane_state); in intel_legacy_cursor_update() 926 old_plane_state = NULL; in intel_legacy_cursor_update() 928 intel_plane_unpin_fb(old_plane_state); in intel_legacy_cursor_update() [all …]
|
| A D | intel_crtc.c | 501 struct intel_plane_state *old_plane_state, *new_plane_state; in intel_pipe_update_start() local 504 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, in intel_pipe_update_start() 506 if (old_plane_state->uapi.crtc == &crtc->base) in intel_pipe_update_start() 507 intel_plane_init_cursor_vblank_work(old_plane_state, in intel_pipe_update_start() 639 struct intel_plane_state *old_plane_state; in intel_pipe_update_end() local 642 for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) { in intel_pipe_update_end() 643 if (old_plane_state->uapi.crtc == &crtc->base && in intel_pipe_update_end() 644 old_plane_state->unpin_work.vblank) { in intel_pipe_update_end() 645 drm_vblank_work_schedule(&old_plane_state->unpin_work, in intel_pipe_update_end()
|
| A D | intel_atomic_plane.h | 58 const struct intel_plane_state *old_plane_state, 74 void intel_plane_init_cursor_vblank_work(struct intel_plane_state *old_plane_state,
|
| A D | intel_fb_pin.h | 27 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state);
|
| A D | intel_display.h | 321 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument 325 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ 361 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument 365 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
|
| /linux/drivers/gpu/drm/ |
| A D | drm_atomic_helper.c | 79 struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument 85 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed() 87 old_plane_state->crtc); in drm_atomic_helper_plane_changed() 1923 if (old_plane_state->commit && in drm_atomic_helper_async_check() 2403 struct drm_plane_state *old_plane_state; in drm_atomic_helper_wait_for_dependencies() local 2872 struct drm_plane_state *old_plane_state = in drm_atomic_helper_commit_planes_on_crtc() local 2881 if (!old_plane_state || !plane_funcs) in drm_atomic_helper_commit_planes_on_crtc() 2968 struct drm_plane_state *old_plane_state; in drm_atomic_helper_cleanup_planes() local 3062 commit = old_plane_state->commit; in drm_atomic_helper_swap_state() 3104 WARN_ON(plane->state != old_plane_state); in drm_atomic_helper_swap_state() [all …]
|
| A D | drm_blend.c | 516 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos() local 519 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_normalize_zpos() 523 if (old_plane_state->zpos != new_plane_state->zpos) { in drm_atomic_normalize_zpos()
|
| A D | drm_atomic.c | 572 plane_switching_crtc(const struct drm_plane_state *old_plane_state, in plane_switching_crtc() argument 575 if (!old_plane_state->crtc || !new_plane_state->crtc) in plane_switching_crtc() 578 if (old_plane_state->crtc == new_plane_state->crtc) in plane_switching_crtc() 599 static int drm_atomic_plane_check(const struct drm_plane_state *old_plane_state, in drm_atomic_plane_check() argument 700 if (plane_switching_crtc(old_plane_state, new_plane_state)) { in drm_atomic_plane_check() 1395 struct drm_plane_state *old_plane_state; in drm_atomic_check_only() local 1413 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_check_only() 1414 ret = drm_atomic_plane_check(old_plane_state, new_plane_state); in drm_atomic_check_only()
|
| /linux/include/drm/ |
| A D | drm_atomic_helper.h | 225 static inline bool drm_atomic_plane_enabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_enabling() argument 236 return !old_plane_state->crtc && new_plane_state->crtc; in drm_atomic_plane_enabling() 252 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling() argument 263 return old_plane_state->crtc && !new_plane_state->crtc; in drm_atomic_plane_disabling()
|
| A D | drm_atomic.h | 940 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument 947 (old_plane_state) = (__state)->planes[__i].old_state,\ 963 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument 969 (old_plane_state) = (__state)->planes[__i].old_state,\ 999 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument 1005 (old_plane_state) = (__state)->planes[__i].old_state, 1))
|
| A D | drm_simple_kms_helper.h | 110 struct drm_plane_state *old_plane_state);
|
| /linux/drivers/gpu/drm/xen/ |
| A D | xen_drm_front_kms.c | 179 struct drm_plane_state *old_plane_state) in display_send_page_flip() argument 182 drm_atomic_get_new_plane_state(old_plane_state->state, in display_send_page_flip() 193 if (old_plane_state->fb && plane_state->fb) { in display_send_page_flip() 244 struct drm_plane_state *old_plane_state) in display_update() argument 279 if (!display_send_page_flip(pipe, old_plane_state)) in display_update()
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| A D | imx-drm-core.c | 79 struct drm_plane_state *old_plane_state, *new_plane_state; in imx_drm_atomic_commit_tail() local 91 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail() 92 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in imx_drm_atomic_commit_tail() 106 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail()
|
| /linux/drivers/gpu/drm/loongson/ |
| A D | lsdc_plane.c | 73 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in lsdc_primary_atomic_update() local 76 struct drm_framebuffer *old_fb = old_plane_state->fb; in lsdc_primary_atomic_update() 302 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ls7a1000_cursor_plane_atomic_update() local 305 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a1000_cursor_plane_atomic_update() 383 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ls7a2000_cursor_plane_atomic_update() local 386 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a2000_cursor_plane_atomic_update()
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| A D | rcar_du_plane.c | 145 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/ |
| A D | amdgpu_dm_plane.h | 36 struct drm_plane_state *old_plane_state);
|
| A D | amdgpu_dm.c | 5775 old_plane_state->crtc_x, in fill_dc_dirty_rects() 5776 old_plane_state->crtc_y, in fill_dc_dirty_rects() 5777 old_plane_state->crtc_w, in fill_dc_dirty_rects() 5778 old_plane_state->crtc_h, &i, false); in fill_dc_dirty_rects() 8787 struct drm_plane_state *old_plane_state; in amdgpu_dm_commit_cursors() local 9005 (old_plane_state->fb && old_plane_state->crtc == pcrtc)) { in amdgpu_dm_commit_planes() 10935 old_plane_crtc = old_plane_state->crtc; in dm_update_plane_state() 11500 old_plane_state->crtc == crtc) { in amdgpu_dm_atomic_check() 11565 get_mem_type(old_plane_state->fb) != in amdgpu_dm_atomic_check() 11570 old_plane_state, in amdgpu_dm_atomic_check() [all …]
|
| /linux/drivers/gpu/drm/xlnx/ |
| A D | zynqmp_kms.c | 223 struct drm_plane_state *old_plane_state; in zynqmp_dpsub_crtc_atomic_disable() local 230 old_plane_state = drm_atomic_get_old_plane_state(state, crtc->primary); in zynqmp_dpsub_crtc_atomic_disable() 231 if (old_plane_state) in zynqmp_dpsub_crtc_atomic_disable()
|
| /linux/drivers/gpu/drm/vc4/ |
| A D | vc4_kms.c | 573 struct drm_plane_state *old_plane_state, *new_plane_state; in vc4_load_tracker_atomic_check() local 586 for_each_oldnew_plane_in_state(state, plane, old_plane_state, in vc4_load_tracker_atomic_check() 590 if (old_plane_state->fb && old_plane_state->crtc) { in vc4_load_tracker_atomic_check() 591 vc4_plane_state = to_vc4_plane_state(old_plane_state); in vc4_load_tracker_atomic_check()
|
| /linux/drivers/gpu/drm/xe/display/ |
| A D | xe_fb_pin.c | 383 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state) in intel_plane_unpin_fb() argument 385 __xe_unpin_fb_vma(old_plane_state->ggtt_vma); in intel_plane_unpin_fb() 386 old_plane_state->ggtt_vma = NULL; in intel_plane_unpin_fb()
|
| /linux/drivers/gpu/drm/ingenic/ |
| A D | ingenic-drm-drv.c | 457 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in ingenic_drm_plane_atomic_check() local 464 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in ingenic_drm_plane_atomic_check() 508 (!old_plane_state->fb || !new_plane_state->fb || in ingenic_drm_plane_atomic_check() 509 old_plane_state->crtc_x != new_plane_state->crtc_x || in ingenic_drm_plane_atomic_check() 510 old_plane_state->crtc_y != new_plane_state->crtc_y || in ingenic_drm_plane_atomic_check() 511 old_plane_state->crtc_w != new_plane_state->crtc_w || in ingenic_drm_plane_atomic_check() 512 old_plane_state->crtc_h != new_plane_state->crtc_h || in ingenic_drm_plane_atomic_check() 513 old_plane_state->fb->format->format != new_plane_state->fb->format->format)) in ingenic_drm_plane_atomic_check()
|
| A D | ingenic-ipu.c | 570 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in ingenic_ipu_plane_atomic_check() local 576 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in ingenic_ipu_plane_atomic_check() 592 if (!old_plane_state->crtc ^ !new_plane_state->crtc) in ingenic_ipu_plane_atomic_check() 613 if (!osd_changed(new_plane_state, old_plane_state)) in ingenic_ipu_plane_atomic_check()
|
| /linux/drivers/gpu/drm/tiny/ |
| A D | cirrus.c | 390 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in cirrus_primary_plane_helper_atomic_update() local 392 to_cirrus_primary_plane_state(old_plane_state); in cirrus_primary_plane_helper_atomic_update() 409 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state); in cirrus_primary_plane_helper_atomic_update()
|