[Intel-gfx] [PATCH] Limit printing to terminal height in intel_gpu_top.

Carl Worth cworth at cworth.org
Thu Dec 10 23:05:30 CET 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>

Thanks, Kenneth!

This is a nice little fix. I've pushed it out now.

-Carl

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
it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091210/30bd11ff/attachment.sig>


More information about the Intel-gfx mailing list