Limit printing to terminal height in intel_gpu_top.
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 <bd2562f754ec92342f93f61c25d731e290a2ffa8@whitecape.org>

rib/intel-gpu-tools,erikarn/intel-gpu-tools,erikarn/intel-gpu-tools,yipdw/intel-gpu-tools,dlespiau/intel-gpu-tools,rib/intel-gpu-tools,rib/intel-gpu-tools,mv0/intel-gpu-tools,ChrisCummins/intel-gpu-tools,yipdw/intel-gpu-tools,erikarn/intel-gpu-tools,ChrisCummins/intel-gpu-tools,mv0/intel-gpu-tools,tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,dlespiau/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,dlespiau/intel-gpu-tools,chenxianqin/intel-gpu-tools,erikarn/intel-gpu-tools,mv0/intel-gpu-tools,chenxianqin/intel-gpu-tools,ChrisCummins/intel-gpu-tools,chenxianqin/intel-gpu-tools,mv0/intel-gpu-tools,rib/intel-gpu-tools,yipdw/intel-gpu-tools,yipdw/intel-gpu-tools,ChrisCummins/intel-gpu-tools,dlespiau/checkmate-test-igt,dlespiau/checkmate-test-igt,dlespiau/checkmate-test-igt,chenxianqin/intel-gpu-tools,tiagovignatti/intel-gpu-tools