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:
24c5fe5
)
drm/amdgpu: clear ring pointer in amdgpu_device on teardown
author
Grazvydas Ignotas
<
[email protected]
>
Sun, 25 Sep 2016 20:34:47 +0000
(23:34 +0300)
committer
Alex Deucher
<
[email protected]
>
Tue, 27 Sep 2016 17:00:51 +0000
(13:00 -0400)
This is in symmetry to setup done in amdgpu_ring_init.
Signed-off-by: Grazvydas Ignotas <
[email protected]
>
Signed-off-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 777f11b63b4c4b4574059c7942394550f3fc771b..e1fa8731d1e2db7b16c09edf44d195e8d457cf07 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
@@
-264,6
+264,8
@@
void amdgpu_ring_fini(struct amdgpu_ring *ring)
(void **)&ring->ring);
amdgpu_debugfs_ring_fini(ring);
+
+ ring->adev->rings[ring->idx] = NULL;
}
/*