Searched refs:avg_bandwidth (Results 1 – 1 of 1) sorted by relevance
258 u64 avg_bandwidth, peak_bandwidth; in tegra_plane_calculate_memory_bandwidth() local296 avg_bandwidth = min(src_w, dst_w) * min(src_h, dst_h); in tegra_plane_calculate_memory_bandwidth()297 avg_bandwidth *= drm_mode_vrefresh(&crtc_state->adjusted_mode); in tegra_plane_calculate_memory_bandwidth()298 avg_bandwidth = DIV_ROUND_UP(avg_bandwidth * bpp, 8) + 999; in tegra_plane_calculate_memory_bandwidth()299 do_div(avg_bandwidth, 1000); in tegra_plane_calculate_memory_bandwidth()318 tegra_state->avg_memory_bandwidth = kBps_to_icc(avg_bandwidth) * mul; in tegra_plane_calculate_memory_bandwidth()