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:
2e263c8
)
drm/amdgpu/gfx8: fold loops in kiq_resume()
author
Alex Deucher
<
[email protected]
>
Thu, 23 Mar 2017 05:40:19 +0000
(
01:40
-0400)
committer
Alex Deucher
<
[email protected]
>
Thu, 30 Mar 2017 03:54:11 +0000
(23:54 -0400)
No need to loop through the compute queues twice.
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 111fa5d91bdfafda46744dba8357bb130e5bd991..353494431a92b9f86faf011c89c0ba83f79cc5ff 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@
-5004,10
+5004,6
@@
static int gfx_v8_0_kiq_resume(struct amdgpu_device *adev)
amdgpu_bo_unreserve(ring->mqd_obj);
if (r)
goto done;
- }
-
- for (i = 0; i < adev->gfx.num_compute_rings; i++) {
- ring = &adev->gfx.compute_ring[i];
ring->ready = true;
r = amdgpu_ring_test_ring(ring);