diff options
author | Marek Olšák <[email protected]> | 2019-02-04 16:15:12 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-02-11 12:35:48 -0500 |
commit | 8c1cb393fc959f70e87db17adee73f31d5b82e1a (patch) | |
tree | 6759a905336263ebcd95c5851e65eae2d07472fa /src/gallium/winsys | |
parent | 881ef14b320188af6f6403f5765a6490ed3d386a (diff) |
winsys/amdgpu: remove occurence of INDIRECT_BUFFER_CONST
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c index a059a3958d4..0d2dab88317 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c @@ -1027,8 +1027,7 @@ static bool amdgpu_cs_check_space(struct radeon_cmdbuf *rcs, unsigned dw) while ((rcs->current.cdw & 7) != 4) radeon_emit(rcs, 0xffff1000); /* type3 nop packet */ - radeon_emit(rcs, PKT3(ib->ib_type == IB_MAIN ? PKT3_INDIRECT_BUFFER_CIK - : PKT3_INDIRECT_BUFFER_CONST, 2, 0)); + radeon_emit(rcs, PKT3(PKT3_INDIRECT_BUFFER_CIK, 2, 0)); radeon_emit(rcs, va); radeon_emit(rcs, va >> 32); new_ptr_ib_size = &rcs->current.buf[rcs->current.cdw++]; |