• Home
  • Raw
  • Download

Lines Matching refs:tegra

618 	struct tegra_plane *tegra = to_tegra_plane(plane);  in tegra_plane_atomic_check()  local
644 err = tegra_plane_setup_legacy_state(tegra, plane_state); in tegra_plane_atomic_check()
692 err = tegra_plane_state_add(tegra, new_plane_state); in tegra_plane_atomic_check()
861 struct tegra_plane *tegra = to_tegra_plane(plane); in tegra_cursor_atomic_check() local
886 err = tegra_plane_state_add(tegra, new_plane_state); in tegra_cursor_atomic_check()
900 struct tegra_drm *tegra = plane->dev->dev_private; in tegra_cursor_atomic_update() local
977 value = (src.y1 & tegra->vmask) << 16 | (src.x1 & tegra->hmask); in tegra_cursor_atomic_update()
980 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in tegra_cursor_atomic_update()
981 (drm_rect_width(&src) & tegra->hmask); in tegra_cursor_atomic_update()
989 value = ((y & tegra->vmask) << 16) | (x & tegra->hmask); in tegra_cursor_atomic_update()
1853 struct tegra_plane *tegra; in tegra_crtc_update_memory_bandwidth() local
1871 tegra = to_tegra_plane(plane); in tegra_crtc_update_memory_bandwidth()
1873 icc_set_bw(tegra->icc_mem, 0, 0); in tegra_crtc_update_memory_bandwidth()
1874 icc_set_bw(tegra->icc_mem_vfilter, 0, 0); in tegra_crtc_update_memory_bandwidth()
1884 tegra = to_tegra_plane(plane); in tegra_crtc_update_memory_bandwidth()
1891 if (tegra->dc != dc) in tegra_crtc_update_memory_bandwidth()
1926 if (tegra_plane_use_vertical_filtering(tegra, &old_window)) in tegra_crtc_update_memory_bandwidth()
1930 icc_set_bw(tegra->icc_mem, new_avg_bw, new_peak_bw); in tegra_crtc_update_memory_bandwidth()
1932 if (tegra_plane_use_vertical_filtering(tegra, &window)) in tegra_crtc_update_memory_bandwidth()
1933 icc_set_bw(tegra->icc_mem_vfilter, new_avg_bw, new_peak_bw); in tegra_crtc_update_memory_bandwidth()
1935 icc_set_bw(tegra->icc_mem_vfilter, 0, 0); in tegra_crtc_update_memory_bandwidth()
2178 const struct tegra_plane *tegra; in tegra_plane_overlap_mask() local
2196 tegra = to_tegra_plane(other_state->plane); in tegra_plane_overlap_mask()
2210 overlap_mask |= BIT(tegra->index); in tegra_plane_overlap_mask()
2227 struct tegra_plane *tegra; in tegra_crtc_calculate_memory_bandwidth() local
2255 tegra = to_tegra_plane(plane); in tegra_crtc_calculate_memory_bandwidth()
2257 if (WARN_ON_ONCE(tegra->index >= TEGRA_DC_LEGACY_PLANES_NUM)) in tegra_crtc_calculate_memory_bandwidth()
2260 plane_peak_bw[tegra->index] = tegra_state->peak_memory_bandwidth; in tegra_crtc_calculate_memory_bandwidth()
2262 overlap_mask[tegra->index] = mask; in tegra_crtc_calculate_memory_bandwidth()
2293 tegra = to_tegra_plane(plane); in tegra_crtc_calculate_memory_bandwidth()
2295 for_each_set_bit(i, &overlap_mask[tegra->index], 3) { in tegra_crtc_calculate_memory_bandwidth()
2296 if (i == tegra->index) in tegra_crtc_calculate_memory_bandwidth()
2305 new_peak_bw = plane_peak_bw[tegra->index] + overlap_bw; in tegra_crtc_calculate_memory_bandwidth()
2431 struct tegra_drm *tegra = drm->dev_private; in tegra_dc_early_init() local
2433 tegra->num_crtcs++; in tegra_dc_early_init()
2443 struct tegra_drm *tegra = drm->dev_private; in tegra_dc_init() local
2469 client->parent = &tegra->hub->client; in tegra_dc_init()
2517 if (dc->soc->pitch_align > tegra->pitch_align) in tegra_dc_init()
2518 tegra->pitch_align = dc->soc->pitch_align; in tegra_dc_init()
2589 struct tegra_drm *tegra = drm->dev_private; in tegra_dc_late_exit() local
2591 tegra->num_crtcs--; in tegra_dc_late_exit()