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:
b22e3ce
)
drm/amdgpu: print the GPU offset as well in gem_info
author
Christian König
<
[email protected]
>
Mon, 15 Feb 2016 16:36:22 +0000
(17:36 +0100)
committer
Alex Deucher
<
[email protected]
>
Tue, 16 Feb 2016 22:44:43 +0000
(17:44 -0500)
To easily find which memory is used.
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 d7f1e49ab6ce0725780b7913e70931cda2060fc7..fae8bf7fcf1a524eb9a6783311717e07219c2c5d 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@
-721,8
+721,9
@@
static int amdgpu_debugfs_gem_info(struct seq_file *m, void *data)
placement = " CPU";
break;
}
- seq_printf(m, "bo[0x%08x] %12ld %s pid %8d",
- i, amdgpu_bo_size(rbo), placement, rbo->pid);
+ seq_printf(m, "bo[0x%08x] %12ld %s @ 0x%010Lx pid %8d",
+ i, amdgpu_bo_size(rbo), placement,
+ amdgpu_bo_gpu_offset(rbo), rbo->pid);
pin_count = ACCESS_ONCE(rbo->pin_count);
if (pin_count)