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:
cc78eb2
)
drm/amdgpu: fix next_rptr handling for debugfs
author
Christian König
<
[email protected]
>
Thu, 21 Jan 2016 11:56:52 +0000
(12:56 +0100)
committer
Alex Deucher
<
[email protected]
>
Fri, 22 Jan 2016 19:44:08 +0000
(14:44 -0500)
That somehow got lost.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Chunming Zhou <
[email protected]
>
Acked-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
index 78e9b0f14661a0d0f404f67df3789b052dcd9133..d1f234dd21261e06764b9e5b623d11ff08f20fe4 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
@@
-487,7
+487,7
@@
static int amdgpu_debugfs_ring_info(struct seq_file *m, void *data)
seq_printf(m, "rptr: 0x%08x [%5d]\n",
rptr, rptr);
- rptr_next =
~0
;
+ rptr_next =
le32_to_cpu(*ring->next_rptr_cpu_addr)
;
seq_printf(m, "driver's copy of the wptr: 0x%08x [%5d]\n",
ring->wptr, ring->wptr);