Limit printing to terminal height in intel_gpu_top.

When using intel_gpu_top in a small terminal, the most important
information (ring idle/busy units) scrolls off the top of the screen.
This patch limits the number of lines printed to the terminal height
so that the most idle units (at the bottom) are truncated instead.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
1 file changed