mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 09:28:19 +02:00
drm/amdgpu: Remove IB count checking
Signed-off-by: Sabre Shao <Sabre.Shao@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
666d59d86b
commit
a5329cd990
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue