projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4ae1d
)
drm/amdgpu: print the BO size only once in amdgpu_gem_info
author
Christian König
<
[email protected]
>
Mon, 15 Feb 2016 12:01:23 +0000
(13:01 +0100)
committer
Alex Deucher
<
[email protected]
>
Tue, 16 Feb 2016 22:43:16 +0000
(17:43 -0500)
Splitting it into KB/MB is just confusing.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 8689e4a817833abd305c35748c2c361bd6ad0056..e6fb7ded5a66fadf0171e6d6fdabc0027aaa695b 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@
-720,9
+720,8
@@
static int amdgpu_debugfs_gem_info(struct seq_file *m, void *data)
placement = " CPU";
break;
}
- seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8d\n",
- i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20,
- placement, rbo->pid);
+ seq_printf(m, "bo[0x%08x] %12ld %s pid %8d\n",
+ i, amdgpu_bo_size(rbo), placement, rbo->pid);
i++;
}
mutex_unlock(&adev->gem.mutex);