/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_fb_pin.h | 26 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state);
|
H A D | intel_fb_pin.c | 293 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state) argument 295 struct drm_framebuffer *fb = old_plane_state->hw.fb; 299 vma = fetch_and_zero(&old_plane_state->ggtt_vma); 301 intel_unpin_fb_vma(vma, old_plane_state->flags); 305 vma = fetch_and_zero(&old_plane_state->dpt_vma); 307 intel_unpin_fb_vma(vma, old_plane_state->flags); 309 vma = fetch_and_zero(&old_plane_state->ggtt_vma);
|
H A D | intel_atomic_plane.c | 439 const struct intel_plane_state *old_plane_state, 443 bool old_visible = old_plane_state->uapi.visible; 445 u32 old_ctl = old_plane_state->ctl; 481 const struct intel_plane_state *old_plane_state, 499 was_visible = old_plane_state->uapi.visible; 539 } else if (intel_wm_need_update(old_plane_state, new_plane_state)) { 551 i9xx_must_disable_cxsr(new_crtc_state, old_plane_state, new_plane_state)) 590 (turn_on || (!intel_plane_is_scaled(old_plane_state) && 604 const struct intel_plane_state *old_plane_state, 614 if (!new_plane_state->hw.crtc && !old_plane_state 438 i9xx_must_disable_cxsr(const struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, const struct intel_plane_state *new_plane_state) argument 479 intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, struct intel_plane_state *new_plane_state) argument 602 intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, const struct intel_plane_state *old_plane_state, struct intel_plane_state *new_plane_state) argument 689 const struct intel_plane_state *old_plane_state = local 1076 struct intel_plane_state *old_plane_state = local 1154 struct intel_plane_state *old_plane_state = local [all...] |
H A D | intel_atomic_plane.h | 54 const struct intel_plane_state *old_plane_state,
|
H A D | intel_cursor.c | 668 struct intel_plane_state *old_plane_state = local 697 if (old_plane_state->uapi.commit && 698 !try_wait_for_completion(&old_plane_state->uapi.commit->hw_done)) 706 if (old_plane_state->uapi.crtc != &crtc->base || 707 old_plane_state->uapi.src_w != src_w || 708 old_plane_state->uapi.src_h != src_h || 709 old_plane_state->uapi.crtc_w != crtc_w || 710 old_plane_state->uapi.crtc_h != crtc_h || 711 !old_plane_state->uapi.fb != !fb) 738 old_plane_state, new_plane_stat [all...] |
H A D | intel_display.h | 315 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ 319 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ 347 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ 351 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
|
H A D | intel_psr.c | 2202 struct intel_plane_state *new_plane_state, *old_plane_state; local 2226 for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state, 2235 !old_plane_state->uapi.visible) 2248 if (new_plane_state->uapi.visible != old_plane_state->uapi.visible || 2250 &old_plane_state->uapi.dst)) { 2251 if (old_plane_state->uapi.visible) { 2252 damaged_area.y1 = old_plane_state->uapi.dst.y1; 2253 damaged_area.y2 = old_plane_state->uapi.dst.y2; 2265 } else if (new_plane_state->uapi.alpha != old_plane_state->uapi.alpha) { 2277 if (!drm_atomic_helper_damage_merged(&old_plane_state [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.h | 33 struct drm_plane_state *old_plane_state);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 78 struct drm_plane_state *old_plane_state, 84 if (old_plane_state->crtc) { 86 old_plane_state->crtc); 991 struct drm_plane_state *new_plane_state, *old_plane_state; local 994 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { 1001 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); 1874 struct drm_plane_state *old_plane_state = NULL; local 1884 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) 1895 old_plane_state->crtc != new_plane_state->crtc) { 1922 if (old_plane_state 77 drm_atomic_helper_plane_changed(struct drm_atomic_state *state, struct drm_plane_state *old_plane_state, struct drm_plane_state *plane_state, struct drm_plane *plane) argument 2280 struct drm_plane_state *old_plane_state, *new_plane_state; local 2403 struct drm_plane_state *old_plane_state; local 2741 struct drm_plane_state *old_plane_state, *new_plane_state; local 2872 struct drm_plane_state *old_plane_state = local 2968 struct drm_plane_state *old_plane_state; local 3024 struct drm_plane_state *old_plane_state, *new_plane_state; local [all...] |
H A D | drm_blend.c | 516 struct drm_plane_state *old_plane_state, *new_plane_state; local 519 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { 523 if (old_plane_state->zpos != new_plane_state->zpos) {
|
H A D | drm_atomic.c | 575 plane_switching_crtc(const struct drm_plane_state *old_plane_state, argument 578 if (!old_plane_state->crtc || !new_plane_state->crtc) 581 if (old_plane_state->crtc == new_plane_state->crtc) 594 * @old_plane_state: old plane state to check 602 static int drm_atomic_plane_check(const struct drm_plane_state *old_plane_state, argument 706 if (plane_switching_crtc(old_plane_state, new_plane_state)) { 1393 struct drm_plane_state *old_plane_state; local 1411 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { 1412 ret = drm_atomic_plane_check(old_plane_state, new_plane_state);
|
/linux-master/drivers/gpu/drm/imx/ipuv3/ |
H A D | imx-drm-core.c | 79 struct drm_plane_state *old_plane_state, *new_plane_state; local 91 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { 92 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) 106 for_each_old_plane_in_state(state, plane, old_plane_state, i)
|
/linux-master/include/drm/ |
H A D | drm_atomic_helper.h | 215 * @old_plane_state: old atomic plane state 225 static inline bool drm_atomic_plane_enabling(struct drm_plane_state *old_plane_state, argument 236 return !old_plane_state->crtc && new_plane_state->crtc; 241 * @old_plane_state: old atomic plane state 252 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, argument 263 return old_plane_state->crtc && !new_plane_state->crtc;
|
H A D | drm_atomic.h | 932 * @old_plane_state: &struct drm_plane_state iteration cursor for the old state 940 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ 947 (old_plane_state) = (__state)->planes[__i].old_state,\ 955 * @old_plane_state: &struct drm_plane_state iteration cursor for the old state 963 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __i) \ 969 (old_plane_state) = (__state)->planes[__i].old_state,\ 992 * @old_plane_state: &struct drm_plane_state iteration cursor for the old state 999 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ 1005 (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-master/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_kms.c | 179 struct drm_plane_state *old_plane_state) 182 drm_atomic_get_new_plane_state(old_plane_state->state, 186 * If old_plane_state->fb is NULL and plane_state->fb is not, 188 * If old_plane_state->fb is not NULL and plane_state->fb is, 193 if (old_plane_state->fb && plane_state->fb) { 244 struct drm_plane_state *old_plane_state) 279 if (!display_send_page_flip(pipe, old_plane_state)) 178 display_send_page_flip(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_plane_state) argument 243 display_update(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_plane_state) argument
|
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_plane.c | 145 struct rcar_du_plane_state *old_plane_state; local 151 old_plane_state = to_rcar_plane_state(old_drm_plane_state); 175 if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { 254 struct rcar_du_plane_state *old_plane_state; local 262 old_plane_state = to_rcar_plane_state(old_drm_plane_state); 273 !rcar_du_plane_needs_realloc(old_plane_state, new_plane_state))
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 73 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); local 76 struct drm_framebuffer *old_fb = old_plane_state->fb; 302 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); local 305 struct drm_framebuffer *old_fb = old_plane_state->fb; 383 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); local 386 struct drm_framebuffer *old_fb = old_plane_state->fb;
|
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 366 void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state) argument 368 __xe_unpin_fb_vma(old_plane_state->ggtt_vma); 369 old_plane_state->ggtt_vma = NULL;
|
/linux-master/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_kms.c | 219 struct drm_plane_state *old_plane_state; local 226 old_plane_state = drm_atomic_get_old_plane_state(state, crtc->primary); 227 if (old_plane_state)
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_kms.c | 573 struct drm_plane_state *old_plane_state, *new_plane_state; local 586 for_each_oldnew_plane_in_state(state, plane, old_plane_state, 590 if (old_plane_state->fb && old_plane_state->crtc) { 591 vc4_plane_state = to_vc4_plane_state(old_plane_state);
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 454 struct drm_plane_state *old_plane_state = pipe->plane.state; local 457 struct drm_framebuffer *old_fb = old_plane_state->fb; 470 if (old_plane_state->rotation != new_plane_state->rotation)
|
/linux-master/drivers/gpu/drm/tiny/ |
H A D | cirrus.c | 390 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); local 392 to_cirrus_primary_plane_state(old_plane_state); 409 drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state);
|
/linux-master/drivers/gpu/drm/ingenic/ |
H A D | ingenic-drm-drv.c | 457 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, local 464 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; 508 (!old_plane_state->fb || !new_plane_state->fb || 509 old_plane_state->crtc_x != new_plane_state->crtc_x || 510 old_plane_state->crtc_y != new_plane_state->crtc_y || 511 old_plane_state->crtc_w != new_plane_state->crtc_w || 512 old_plane_state->crtc_h != new_plane_state->crtc_h || 513 old_plane_state->fb->format->format != new_plane_state->fb->format->format))
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_plane.c | 82 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, local 96 if (old_plane_state->fb != new_plane_state->fb)
|