[Intel-gfx] [PATCH] Limit printing to terminal height in intel_gpu_top.
cworth at cworth.org
Thu Dec 10 14:05:30 PST 2009
On Tue, 8 Dec 2009 22:38:18 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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 at whitecape.org>
This is a nice little fix. I've pushed it out now.
PS. It looks like something, somewhere added some line-wrapping to your
patch between when you created it and when it landed in my inbox. You
might want to see if that's something in your control and fix it for
future patches. I was able to manually fix up this one before applying
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/intel-gfx/attachments/20091210/30bd11ff/attachment.pgp
More information about the Intel-gfx