Lines Matching refs:plane_state
623 struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state); in tegra_plane_atomic_check() local
628 struct tegra_bo_tiling *tiling = &plane_state->tiling; in tegra_plane_atomic_check()
633 plane_state->peak_memory_bandwidth = 0; in tegra_plane_atomic_check()
634 plane_state->avg_memory_bandwidth = 0; in tegra_plane_atomic_check()
638 plane_state->total_peak_memory_bandwidth = 0; in tegra_plane_atomic_check()
643 &plane_state->format, in tegra_plane_atomic_check()
644 &plane_state->swap); in tegra_plane_atomic_check()
655 err = tegra_plane_setup_legacy_state(tegra, plane_state); in tegra_plane_atomic_check()
682 plane_state->reflect_x = true; in tegra_plane_atomic_check()
684 plane_state->reflect_x = false; in tegra_plane_atomic_check()
687 plane_state->reflect_y = true; in tegra_plane_atomic_check()
689 plane_state->reflect_y = false; in tegra_plane_atomic_check()
871 struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state); in tegra_cursor_atomic_check() local
875 plane_state->peak_memory_bandwidth = 0; in tegra_cursor_atomic_check()
876 plane_state->avg_memory_bandwidth = 0; in tegra_cursor_atomic_check()
880 plane_state->total_peak_memory_bandwidth = 0; in tegra_cursor_atomic_check()
2351 const struct drm_plane_state *plane_state) in tegra_plane_overlap_mask() argument
2359 if (!plane_state->visible || !plane_state->fb) in tegra_plane_overlap_mask()
2366 if (tegra_plane_is_cursor(plane_state)) in tegra_plane_overlap_mask()
2370 rect = plane_state->dst; in tegra_plane_overlap_mask()
2399 const struct drm_plane_state *plane_state; in tegra_crtc_calculate_memory_bandwidth() local
2427 drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, new_state) { in tegra_crtc_calculate_memory_bandwidth()
2428 tegra_state = to_const_tegra_plane_state(plane_state); in tegra_crtc_calculate_memory_bandwidth()
2435 mask = tegra_plane_overlap_mask(new_state, plane_state); in tegra_crtc_calculate_memory_bandwidth()
2457 drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, new_state) { in tegra_crtc_calculate_memory_bandwidth()
2466 tegra_state = to_const_tegra_plane_state(plane_state); in tegra_crtc_calculate_memory_bandwidth()