new_plane_state 1175 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *new_plane_state; new_plane_state 1250 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) { new_plane_state 1251 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm_new_plane_state = to_dm_plane_state(new_plane_state); new_plane_state 4311 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *new_plane_state; new_plane_state 4317 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state = drm_atomic_get_new_plane_state(state, plane); new_plane_state 4319 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!new_plane_state) { new_plane_state 4330 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c num_active += (new_plane_state->fb != NULL); new_plane_state 4617 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *new_plane_state) new_plane_state 5655 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 5663 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state, i) new_plane_state 5678 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 5717 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 5718 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_crtc *crtc = new_plane_state->crtc; new_plane_state 5720 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_framebuffer *fb = new_plane_state->fb; new_plane_state 5723 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dm_plane_state *dm_new_plane_state = to_dm_plane_state(new_plane_state); new_plane_state 5744 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fill_dc_scaling_info(new_plane_state, new_plane_state 5750 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_needs_flip = old_plane_state->fb && new_plane_state->fb; new_plane_state 5787 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm->adev, new_plane_state, tiling_flags, new_plane_state 5793 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state->plane->index, new_plane_state 6851 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *new_plane_state) new_plane_state 6867 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (old_plane_state->crtc != new_plane_state->crtc) new_plane_state 6871 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!new_plane_state->crtc) new_plane_state 6875 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_atomic_get_new_crtc_state(state, new_plane_state->crtc); new_plane_state 6899 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (old_other_state->crtc != new_plane_state->crtc && new_plane_state 6900 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_other_state->crtc != new_plane_state->crtc) new_plane_state 6919 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *new_plane_state, new_plane_state 6934 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_crtc = new_plane_state->crtc; new_plane_state 6936 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm_new_plane_state = to_dm_plane_state(new_plane_state); new_plane_state 6942 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_atomic_plane_disabling(plane->state, new_plane_state)) new_plane_state 6947 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if ((new_plane_state->crtc_w > new_acrtc->max_cursor_width) || new_plane_state 6948 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c (new_plane_state->crtc_h > new_acrtc->max_cursor_height)) { new_plane_state 6950 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state->crtc_w, new_plane_state->crtc_h); new_plane_state 6958 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state); new_plane_state 7001 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (drm_atomic_plane_disabling(plane->state, new_plane_state)) new_plane_state 7028 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state, new_plane_state 7080 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 7120 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, j) { new_plane_state 7122 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c to_amdgpu_framebuffer(new_plane_state->fb); new_plane_state 7127 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_crtc = new_plane_state->crtc; new_plane_state 7129 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_dm_plane_state = to_dm_plane_state(new_plane_state); new_plane_state 7163 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = fill_dc_scaling_info(new_plane_state, new_plane_state 7178 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm->adev, new_plane_state, tiling_flags, new_plane_state 7266 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 7308 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 7312 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (new_plane_state->crtc == crtc || new_plane_state 7326 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state = new_plane_state 7329 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (IS_ERR(new_plane_state)) { new_plane_state 7330 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = PTR_ERR(new_plane_state); new_plane_state 7337 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_oldnew_plane_in_state_reverse(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 7340 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state, new_plane_state 7370 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c for_each_oldnew_plane_in_state_reverse(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 7373 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state, new_plane_state 512 drivers/gpu/drm/drm_atomic.c const struct drm_plane_state *new_plane_state) new_plane_state 514 drivers/gpu/drm/drm_atomic.c if (!old_plane_state->crtc || !new_plane_state->crtc) new_plane_state 517 drivers/gpu/drm/drm_atomic.c if (old_plane_state->crtc == new_plane_state->crtc) new_plane_state 539 drivers/gpu/drm/drm_atomic.c const struct drm_plane_state *new_plane_state) new_plane_state 541 drivers/gpu/drm/drm_atomic.c struct drm_plane *plane = new_plane_state->plane; new_plane_state 542 drivers/gpu/drm/drm_atomic.c struct drm_crtc *crtc = new_plane_state->crtc; new_plane_state 543 drivers/gpu/drm/drm_atomic.c const struct drm_framebuffer *fb = new_plane_state->fb; new_plane_state 586 drivers/gpu/drm/drm_atomic.c if (new_plane_state->crtc_w > INT_MAX || new_plane_state 587 drivers/gpu/drm/drm_atomic.c new_plane_state->crtc_x > INT_MAX - (int32_t) new_plane_state->crtc_w || new_plane_state 588 drivers/gpu/drm/drm_atomic.c new_plane_state->crtc_h > INT_MAX || new_plane_state 589 drivers/gpu/drm/drm_atomic.c new_plane_state->crtc_y > INT_MAX - (int32_t) new_plane_state->crtc_h) { new_plane_state 592 drivers/gpu/drm/drm_atomic.c new_plane_state->crtc_w, new_plane_state->crtc_h, new_plane_state 593 drivers/gpu/drm/drm_atomic.c new_plane_state->crtc_x, new_plane_state->crtc_y); new_plane_state 601 drivers/gpu/drm/drm_atomic.c if (new_plane_state->src_w > fb_width || new_plane_state 602 drivers/gpu/drm/drm_atomic.c new_plane_state->src_x > fb_width - new_plane_state->src_w || new_plane_state 603 drivers/gpu/drm/drm_atomic.c new_plane_state->src_h > fb_height || new_plane_state 604 drivers/gpu/drm/drm_atomic.c new_plane_state->src_y > fb_height - new_plane_state->src_h) { new_plane_state 608 drivers/gpu/drm/drm_atomic.c new_plane_state->src_w >> 16, new_plane_state 609 drivers/gpu/drm/drm_atomic.c ((new_plane_state->src_w & 0xffff) * 15625) >> 10, new_plane_state 610 drivers/gpu/drm/drm_atomic.c new_plane_state->src_h >> 16, new_plane_state 611 drivers/gpu/drm/drm_atomic.c ((new_plane_state->src_h & 0xffff) * 15625) >> 10, new_plane_state 612 drivers/gpu/drm/drm_atomic.c new_plane_state->src_x >> 16, new_plane_state 613 drivers/gpu/drm/drm_atomic.c ((new_plane_state->src_x & 0xffff) * 15625) >> 10, new_plane_state 614 drivers/gpu/drm/drm_atomic.c new_plane_state->src_y >> 16, new_plane_state 615 drivers/gpu/drm/drm_atomic.c ((new_plane_state->src_y & 0xffff) * 15625) >> 10, new_plane_state 620 drivers/gpu/drm/drm_atomic.c clips = drm_plane_get_damage_clips(new_plane_state); new_plane_state 621 drivers/gpu/drm/drm_atomic.c num_clips = drm_plane_get_damage_clips_count(new_plane_state); new_plane_state 640 drivers/gpu/drm/drm_atomic.c if (plane_switching_crtc(old_plane_state, new_plane_state)) { new_plane_state 1139 drivers/gpu/drm/drm_atomic.c struct drm_plane_state *new_plane_state; new_plane_state 1149 drivers/gpu/drm/drm_atomic.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 1150 drivers/gpu/drm/drm_atomic.c ret = drm_atomic_plane_check(old_plane_state, new_plane_state); new_plane_state 865 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state, *old_plane_state; new_plane_state 868 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 875 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); new_plane_state 877 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_check_plane_damage(state, new_plane_state); new_plane_state 882 drivers/gpu/drm/drm_atomic_helper.c ret = funcs->atomic_check(plane, new_plane_state); new_plane_state 1152 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state; new_plane_state 1157 drivers/gpu/drm/drm_atomic_helper.c new_plane_state = new_plane_state 1160 drivers/gpu/drm/drm_atomic_helper.c if (new_plane_state && new_plane_state->crtc == crtc) { new_plane_state 1161 drivers/gpu/drm/drm_atomic_helper.c crtc->x = new_plane_state->src_x >> 16; new_plane_state 1162 drivers/gpu/drm/drm_atomic_helper.c crtc->y = new_plane_state->src_y >> 16; new_plane_state 1389 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state; new_plane_state 1392 drivers/gpu/drm/drm_atomic_helper.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 1393 drivers/gpu/drm/drm_atomic_helper.c if (!new_plane_state->fence) new_plane_state 1396 drivers/gpu/drm/drm_atomic_helper.c WARN_ON(!new_plane_state->fb); new_plane_state 1403 drivers/gpu/drm/drm_atomic_helper.c ret = dma_fence_wait(new_plane_state->fence, pre_swap); new_plane_state 1407 drivers/gpu/drm/drm_atomic_helper.c dma_fence_put(new_plane_state->fence); new_plane_state 1408 drivers/gpu/drm/drm_atomic_helper.c new_plane_state->fence = NULL; new_plane_state 1661 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state = NULL; new_plane_state 1670 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) new_plane_state 1677 drivers/gpu/drm/drm_atomic_helper.c if (!new_plane_state->crtc || new_plane_state 1678 drivers/gpu/drm/drm_atomic_helper.c old_plane_state->crtc != new_plane_state->crtc) new_plane_state 1685 drivers/gpu/drm/drm_atomic_helper.c if (new_plane_state->fence) new_plane_state 1697 drivers/gpu/drm/drm_atomic_helper.c return funcs->atomic_async_check(plane, new_plane_state); new_plane_state 2021 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 2086 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 2094 drivers/gpu/drm/drm_atomic_helper.c commit = crtc_or_fake_commit(state, new_plane_state->crtc ?: old_plane_state->crtc); new_plane_state 2098 drivers/gpu/drm/drm_atomic_helper.c new_plane_state->commit = drm_crtc_commit_get(commit); new_plane_state 2339 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state; new_plane_state 2351 drivers/gpu/drm/drm_atomic_helper.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 2357 drivers/gpu/drm/drm_atomic_helper.c ret = funcs->prepare_fb(plane, new_plane_state); new_plane_state 2366 drivers/gpu/drm/drm_atomic_helper.c for_each_new_plane_in_state(state, plane, new_plane_state, j) { new_plane_state 2375 drivers/gpu/drm/drm_atomic_helper.c funcs->cleanup_fb(plane, new_plane_state); new_plane_state 2435 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 2454 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { new_plane_state 2464 drivers/gpu/drm/drm_atomic_helper.c new_plane_state); new_plane_state 2474 drivers/gpu/drm/drm_atomic_helper.c if (!disabling && !plane_crtc_active(new_plane_state)) new_plane_state 2493 drivers/gpu/drm/drm_atomic_helper.c } else if (new_plane_state->crtc || disabling) { new_plane_state 2552 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state = new_plane_state 2561 drivers/gpu/drm/drm_atomic_helper.c WARN_ON(new_plane_state->crtc && new_plane_state 2562 drivers/gpu/drm/drm_atomic_helper.c new_plane_state->crtc != crtc); new_plane_state 2564 drivers/gpu/drm/drm_atomic_helper.c if (drm_atomic_plane_disabling(old_plane_state, new_plane_state) && new_plane_state 2567 drivers/gpu/drm/drm_atomic_helper.c else if (new_plane_state->crtc || new_plane_state 2568 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_plane_disabling(old_plane_state, new_plane_state)) new_plane_state 2638 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 2641 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { new_plane_state 2650 drivers/gpu/drm/drm_atomic_helper.c plane_state = new_plane_state; new_plane_state 2706 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 2784 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 2788 drivers/gpu/drm/drm_atomic_helper.c new_plane_state->state = NULL; new_plane_state 2791 drivers/gpu/drm/drm_atomic_helper.c plane->state = new_plane_state; new_plane_state 3235 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane_state *new_plane_state; new_plane_state 3243 drivers/gpu/drm/drm_atomic_helper.c for_each_new_plane_in_state(state, plane, new_plane_state, i) new_plane_state 497 drivers/gpu/drm/drm_blend.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 500 drivers/gpu/drm/drm_blend.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 501 drivers/gpu/drm/drm_blend.c crtc = new_plane_state->crtc; new_plane_state 504 drivers/gpu/drm/drm_blend.c if (old_plane_state->zpos != new_plane_state->zpos) { new_plane_state 144 drivers/gpu/drm/i915/display/intel_atomic_plane.c struct intel_plane_state *new_plane_state) new_plane_state 146 drivers/gpu/drm/i915/display/intel_atomic_plane.c struct intel_plane *plane = to_intel_plane(new_plane_state->base.plane); new_plane_state 153 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state->base.visible = false; new_plane_state 155 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (!new_plane_state->base.crtc && !old_plane_state->base.crtc) new_plane_state 158 drivers/gpu/drm/i915/display/intel_atomic_plane.c ret = plane->check_plane(new_crtc_state, new_plane_state); new_plane_state 163 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible) new_plane_state 166 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible && new_plane_state 167 drivers/gpu/drm/i915/display/intel_atomic_plane.c is_planar_yuv_format(new_plane_state->base.fb->format->format)) new_plane_state 170 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible && new_plane_state 171 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state->base.fb->format->format == DRM_FORMAT_C8) new_plane_state 174 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible || old_plane_state->base.visible) new_plane_state 178 drivers/gpu/drm/i915/display/intel_atomic_plane.c intel_plane_data_rate(new_crtc_state, new_plane_state); new_plane_state 181 drivers/gpu/drm/i915/display/intel_atomic_plane.c old_plane_state, new_plane_state); new_plane_state 186 drivers/gpu/drm/i915/display/intel_atomic_plane.c const struct intel_plane_state *new_plane_state) new_plane_state 188 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.crtc) new_plane_state 189 drivers/gpu/drm/i915/display/intel_atomic_plane.c return to_intel_crtc(new_plane_state->base.crtc); new_plane_state 203 drivers/gpu/drm/i915/display/intel_atomic_plane.c struct intel_plane_state *new_plane_state = new_plane_state 208 drivers/gpu/drm/i915/display/intel_atomic_plane.c get_crtc_from_states(old_plane_state, new_plane_state); new_plane_state 212 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state->base.visible = false; new_plane_state 222 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state); new_plane_state 318 drivers/gpu/drm/i915/display/intel_atomic_plane.c struct intel_plane_state *new_plane_state = new_plane_state 321 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible) { new_plane_state 322 drivers/gpu/drm/i915/display/intel_atomic_plane.c intel_update_plane(plane, new_crtc_state, new_plane_state); new_plane_state 323 drivers/gpu/drm/i915/display/intel_atomic_plane.c } else if (new_plane_state->slave) { new_plane_state 325 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state->linked_plane; new_plane_state 336 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state = new_plane_state 339 drivers/gpu/drm/i915/display/intel_atomic_plane.c intel_update_slave(plane, new_crtc_state, new_plane_state); new_plane_state 352 drivers/gpu/drm/i915/display/intel_atomic_plane.c struct intel_plane_state *new_plane_state; new_plane_state 356 drivers/gpu/drm/i915/display/intel_atomic_plane.c for_each_new_intel_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 361 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (new_plane_state->base.visible) new_plane_state 362 drivers/gpu/drm/i915/display/intel_atomic_plane.c intel_update_plane(plane, new_crtc_state, new_plane_state); new_plane_state 13735 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane_state *new_plane_state = new_plane_state 13759 drivers/gpu/drm/i915/display/intel_display.c else if (new_plane_state) new_plane_state 13760 drivers/gpu/drm/i915/display/intel_display.c intel_fbc_enable(crtc, new_crtc_state, new_plane_state); new_plane_state 14140 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane_state *old_plane_state, *new_plane_state; new_plane_state 14145 drivers/gpu/drm/i915/display/intel_display.c new_plane_state, i) new_plane_state 14147 drivers/gpu/drm/i915/display/intel_display.c to_intel_frontbuffer(new_plane_state->base.fb), new_plane_state 14695 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 14733 drivers/gpu/drm/i915/display/intel_display.c new_plane_state = intel_plane_duplicate_state(plane); new_plane_state 14734 drivers/gpu/drm/i915/display/intel_display.c if (!new_plane_state) new_plane_state 14743 drivers/gpu/drm/i915/display/intel_display.c drm_atomic_set_fb_for_plane(new_plane_state, fb); new_plane_state 14745 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->src_x = src_x; new_plane_state 14746 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->src_y = src_y; new_plane_state 14747 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->src_w = src_w; new_plane_state 14748 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->src_h = src_h; new_plane_state 14749 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->crtc_x = crtc_x; new_plane_state 14750 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->crtc_y = crtc_y; new_plane_state 14751 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->crtc_w = crtc_w; new_plane_state 14752 drivers/gpu/drm/i915/display/intel_display.c new_plane_state->crtc_h = crtc_h; new_plane_state 14756 drivers/gpu/drm/i915/display/intel_display.c to_intel_plane_state(new_plane_state)); new_plane_state 14764 drivers/gpu/drm/i915/display/intel_display.c ret = intel_plane_pin_fb(to_intel_plane_state(new_plane_state)); new_plane_state 14774 drivers/gpu/drm/i915/display/intel_display.c plane->state = new_plane_state; new_plane_state 14802 drivers/gpu/drm/i915/display/intel_display.c intel_plane_destroy_state(plane, new_plane_state); new_plane_state 380 drivers/gpu/drm/i915/display/intel_display.h #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ new_plane_state 384 drivers/gpu/drm/i915/display/intel_display.h (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \ new_plane_state 396 drivers/gpu/drm/i915/display/intel_display.h #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ new_plane_state 401 drivers/gpu/drm/i915/display/intel_display.h (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \ new_plane_state 1342 drivers/gpu/drm/i915/intel_pm.c const struct intel_plane_state *new_plane_state; new_plane_state 1350 drivers/gpu/drm/i915/intel_pm.c new_plane_state, i) { new_plane_state 1351 drivers/gpu/drm/i915/intel_pm.c if (new_plane_state->base.crtc != &crtc->base && new_plane_state 1355 drivers/gpu/drm/i915/intel_pm.c if (g4x_raw_plane_wm_compute(crtc_state, new_plane_state)) new_plane_state 1863 drivers/gpu/drm/i915/intel_pm.c const struct intel_plane_state *new_plane_state; new_plane_state 1871 drivers/gpu/drm/i915/intel_pm.c new_plane_state, i) { new_plane_state 1872 drivers/gpu/drm/i915/intel_pm.c if (new_plane_state->base.crtc != &crtc->base && new_plane_state 1876 drivers/gpu/drm/i915/intel_pm.c if (vlv_raw_plane_wm_compute(crtc_state, new_plane_state)) new_plane_state 86 drivers/gpu/drm/imx/imx-drm-core.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 98 drivers/gpu/drm/imx/imx-drm-core.c for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { new_plane_state 99 drivers/gpu/drm/imx/imx-drm-core.c if (drm_atomic_plane_disabling(old_plane_state, new_plane_state)) new_plane_state 1811 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_plane_state *new_plane_state; new_plane_state 1815 drivers/gpu/drm/nouveau/dispnv50/disp.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 1830 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_plane_state *new_plane_state; new_plane_state 1867 drivers/gpu/drm/nouveau/dispnv50/disp.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 1868 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); new_plane_state 1954 drivers/gpu/drm/nouveau/dispnv50/disp.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 1955 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); new_plane_state 1984 drivers/gpu/drm/nouveau/dispnv50/disp.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 1985 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); new_plane_state 2030 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_plane_state *new_plane_state; new_plane_state 2058 drivers/gpu/drm/nouveau/dispnv50/disp.c for_each_new_plane_in_state(state, plane, new_plane_state, i) { new_plane_state 2059 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); new_plane_state 145 drivers/gpu/drm/rcar-du/rcar_du_plane.c struct rcar_du_plane_state *new_plane_state; new_plane_state 151 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state = to_rcar_plane_state(new_drm_plane_state); new_plane_state 161 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!new_plane_state->format) { new_plane_state 166 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->hwindex = -1; new_plane_state 174 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) { new_plane_state 182 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->hwindex = -1; new_plane_state 208 drivers/gpu/drm/rcar-du/rcar_du_plane.c struct rcar_du_plane_state *new_plane_state; new_plane_state 231 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state = to_rcar_plane_state(s); new_plane_state 232 drivers/gpu/drm/rcar-du/rcar_du_plane.c used_planes |= rcar_du_plane_hwmask(new_plane_state); new_plane_state 238 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->format ? new_plane_state 239 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->format->planes : 0, new_plane_state 240 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->hwindex); new_plane_state 254 drivers/gpu/drm/rcar-du/rcar_du_plane.c struct rcar_du_plane_state *new_plane_state; new_plane_state 262 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state = to_rcar_plane_state(new_drm_plane_state); new_plane_state 271 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!new_plane_state->format || new_plane_state 272 drivers/gpu/drm/rcar-du/rcar_du_plane.c !rcar_du_plane_needs_realloc(old_plane_state, new_plane_state)) new_plane_state 281 drivers/gpu/drm/rcar-du/rcar_du_plane.c crtc_planes = to_rcar_crtc(new_plane_state->state.crtc)->index % 2 new_plane_state 286 drivers/gpu/drm/rcar-du/rcar_du_plane.c idx = rcar_du_plane_hwalloc(plane, new_plane_state, new_plane_state 289 drivers/gpu/drm/rcar-du/rcar_du_plane.c idx = rcar_du_plane_hwalloc(plane, new_plane_state, new_plane_state 298 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, new_plane_state->format->planes, idx); new_plane_state 300 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->hwindex = idx; new_plane_state 303 drivers/gpu/drm/rcar-du/rcar_du_plane.c ~rcar_du_plane_hwmask(new_plane_state); new_plane_state 1229 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 1261 drivers/gpu/drm/rockchip/rockchip_drm_vop.c new_plane_state, i) { new_plane_state 1265 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (old_plane_state->fb == new_plane_state->fb) new_plane_state 411 drivers/gpu/drm/vc4/vc4_kms.c struct drm_plane_state *old_plane_state, *new_plane_state; new_plane_state 425 drivers/gpu/drm/vc4/vc4_kms.c new_plane_state, i) { new_plane_state 434 drivers/gpu/drm/vc4/vc4_kms.c if (new_plane_state->fb && new_plane_state->crtc) { new_plane_state 435 drivers/gpu/drm/vc4/vc4_kms.c vc4_plane_state = to_vc4_plane_state(new_plane_state); new_plane_state 810 include/drm/drm_atomic.h #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ new_plane_state 817 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) new_plane_state 832 include/drm/drm_atomic.h #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __i) \ new_plane_state 839 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) new_plane_state 870 include/drm/drm_atomic.h #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ new_plane_state 876 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) new_plane_state 214 include/drm/drm_atomic_helper.h struct drm_plane_state *new_plane_state) new_plane_state 221 include/drm/drm_atomic_helper.h WARN_ON((new_plane_state->crtc == NULL && new_plane_state->fb != NULL) || new_plane_state 222 include/drm/drm_atomic_helper.h (new_plane_state->crtc != NULL && new_plane_state->fb == NULL)); new_plane_state 224 include/drm/drm_atomic_helper.h return old_plane_state->crtc && !new_plane_state->crtc;