commit | b4b8aafc61f48be9c1bfef7cf2c055201aeb4711 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Tue Dec 08 22:38:18 2009 -0800 |
committer | Carl Worth <cworth@cworth.org> | Thu Dec 10 14:02:25 2009 -0800 |
tree | 4c4b1ab6d7977187e49ee15b45b94c04d2997de9 | |
parent | 94a180c0c95d70983ca15ada1de5d8624a68211e [diff] |
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>