projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666d59d
)
drm/amdgpu: Remove IB count checking
author
Sabre Shao
<Sabre.Shao@amd.com>
Fri, 8 Sep 2017 09:43:51 +0000
(17:43 +0800)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 9 Mar 2018 01:06:28 +0000
(20:06 -0500)
Signed-off-by: Sabre Shao <Sabre.Shao@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
amdgpu/amdgpu_cs.c
patch
|
blob
|
history
diff --git
a/amdgpu/amdgpu_cs.c
b/amdgpu/amdgpu_cs.c
index
46dffe1
..
4ac9bac
100644
(file)
--- a/
amdgpu/amdgpu_cs.c
+++ b/
amdgpu/amdgpu_cs.c
@@
-195,8
+195,6
@@
static int amdgpu_cs_submit_one(amdgpu_context_handle context,
return -EINVAL;
if (ibs_request->ring >= AMDGPU_CS_MAX_RINGS)
return -EINVAL;
- if (ibs_request->number_of_ibs > AMDGPU_CS_MAX_IBS_PER_SUBMIT)
- return -EINVAL;
if (ibs_request->number_of_ibs == 0) {
ibs_request->seq_no = AMDGPU_NULL_SUBMIT_SEQ;
return 0;