mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-31 12:30:14 +01:00
test/amdgpu : fix a bug in VCE/UVD test introduced by previous change
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
This commit is contained in:
parent
8aeffcc1cf
commit
9961900b8d
2 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ static int submit(unsigned ndw, unsigned ip)
|
|||
|
||||
ibs_request.number_of_ibs = 1;
|
||||
ibs_request.ibs = &ib_info;
|
||||
ibs_request.fence_info.handle = NULL;
|
||||
|
||||
r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1);
|
||||
if (r)
|
||||
|
|
@ -145,6 +146,7 @@ static int submit(unsigned ndw, unsigned ip)
|
|||
|
||||
fence_status.context = context_handle;
|
||||
fence_status.ip_type = ip;
|
||||
fence_status.fence = ibs_request.seq_no;
|
||||
|
||||
r = amdgpu_cs_query_fence_status(&fence_status,
|
||||
AMDGPU_TIMEOUT_INFINITE,
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ static int submit(unsigned ndw, unsigned ip)
|
|||
|
||||
ibs_request.number_of_ibs = 1;
|
||||
ibs_request.ibs = &ib_info;
|
||||
ibs_request.fence_info.handle = NULL;
|
||||
|
||||
r = amdgpu_cs_submit(context_handle, 0, &ibs_request, 1);
|
||||
if (r)
|
||||
|
|
@ -161,6 +162,7 @@ static int submit(unsigned ndw, unsigned ip)
|
|||
|
||||
fence_status.context = context_handle;
|
||||
fence_status.ip_type = ip;
|
||||
fence_status.fence = ibs_request.seq_no;
|
||||
|
||||
r = amdgpu_cs_query_fence_status(&fence_status,
|
||||
AMDGPU_TIMEOUT_INFINITE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue