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:
66f3b2d
)
drm/amdgpu: remove ring type check for conditional execution
author
Christian König
<
[email protected]
>
Wed, 5 Oct 2016 10:51:57 +0000
(12:51 +0200)
committer
Alex Deucher
<
[email protected]
>
Tue, 25 Oct 2016 18:38:35 +0000
(14:38 -0400)
If a ring doesn't support that it shouldn't implement the function.
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_ib.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
index 6a6c86c9c1694eb475b9671c47cfaa4738473ed8..3c9a6da0966e1e9bad110a2c03feb1b689525923 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@
-161,7
+161,7
@@
int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
return r;
}
- if (ring->
type == AMDGPU_RING_TYPE_SDMA && ring->
funcs->init_cond_exec)
+ if (ring->funcs->init_cond_exec)
patch_offset = amdgpu_ring_init_cond_exec(ring);
if (vm) {