[Intel-gfx] [PATCH] drm/i915: Print debugfs object list sizes in kiB instead of bytes.

2011-12-20 Thread Eric Anholt
They're all in increments of pages, so this just makes it easier on
the eyes.

Signed-off-by: Eric Anholt e...@anholt.net
---

for drm-intel-next

 drivers/gpu/drm/i915/i915_debugfs.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c 
b/drivers/gpu/drm/i915/i915_debugfs.c
index 004b048..af7d2ff 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -121,11 +121,11 @@ static const char *cache_level_str(int type)
 static void
 describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj)
 {
-   seq_printf(m, %p: %s%s %8zd %04x %04x %d %d%s%s%s,
+   seq_printf(m, %p: %s%s %8zdKB %04x %04x %d %d%s%s%s,
   obj-base,
   get_pin_flag(obj),
   get_tiling_flag(obj),
-  obj-base.size,
+  obj-base.size / 1024,
   obj-base.read_domains,
   obj-base.write_domain,
   obj-last_rendering_seqno,
-- 
1.7.7.3

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: Print debugfs object list sizes in kiB instead of bytes.

2011-12-20 Thread David Woodhouse
On Tue, 2011-12-20 at 08:54 -0800, Eric Anholt wrote:
 -   seq_printf(m, %p: %s%s %8zd %04x %04x %d %d%s%s%s,
 +   seq_printf(m, %p: %s%s %8zdKB %04x %04x %d %d%s%s%s,
obj-base,
get_pin_flag(obj),
get_tiling_flag(obj),
 -  obj-base.size,
 +  obj-base.size / 1024, 

In both the seq_printf, and the subject line, you have different
misspellings of 'KiB'.

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] Fan running with Intel Graphics

2011-12-20 Thread Johannes Bauer
Hi Jesse,

Am 15.12.2011 23:04, schrieb Johannes Bauer:

 Yes.  Try running drm-intel-next from Keith's git tree:
 git://people.freedesktop.org/~keithp/linux
 
 Hmmm:

Sorry about being a moron. I completely missed the drm-intel-next branch
and wondered :-/

Now that I have it running and decelerated the graphics card speed, the
system runs in perfect silence. Thank you SO much.

It's absolutely fantastic that Intel is supporting Linux so beautifully.
Finally Linux users aren't stuck to using solely Nvidia cards. Brings a
tear to the eye!

Should we ever meet in person, beers are on me!
Best regards,
Joe
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx