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:
959a209
)
drm/amdgpu: drop printing the BO offset in the gem debugfs (v2)
author
Christian König
<
[email protected]
>
Fri, 11 May 2018 15:13:39 +0000
(23:13 +0800)
committer
Alex Deucher
<
[email protected]
>
Tue, 15 May 2018 18:44:26 +0000
(13:44 -0500)
It is meaningless anyway.
v2: remove unused variable (Alex)
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-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 7d3dc229fa47d43b469ac87cb31427e4f6d50079..f79bbf81a088322c1ef05a2aee62dc228a95a070 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@
-785,7
+785,6
@@
static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data)
unsigned domain;
const char *placement;
unsigned pin_count;
- uint64_t offset;
domain = amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type);
switch (domain) {
@@
-803,10
+802,6
@@
static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data)
seq_printf(m, "\t0x%08x: %12ld byte %s",
id, amdgpu_bo_size(bo), placement);
- offset = READ_ONCE(bo->tbo.mem.start);
- if (offset != AMDGPU_BO_INVALID_OFFSET)
- seq_printf(m, " @ 0x%010Lx", offset);
-
pin_count = READ_ONCE(bo->pin_count);
if (pin_count)
seq_printf(m, " pin count %d", pin_count);