diff options
| author | 2015-05-11 23:41:41 +0800 | |
|---|---|---|
| committer | 2015-06-03 21:03:30 -0400 | |
| commit | de807f818b953f11b9a132a2d1997711a79bbfa3 (patch) | |
| tree | 819e5dbdf62a407a56b456a0fddee04acafbc70d /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | |
| parent | drm/amdgpu: check context id for context switching (v2) (diff) | |
| download | wireguard-linux-de807f818b953f11b9a132a2d1997711a79bbfa3.tar.xz wireguard-linux-de807f818b953f11b9a132a2d1997711a79bbfa3.zip | |
drm/amdgpu: add flags for amdgpu_ib structure
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 26df23eaf09e..7428c4305418 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -2544,7 +2544,7 @@ static void gfx_v7_0_ring_emit_ib(struct amdgpu_ring *ring, ring->need_ctx_switch = false; } - if (ib->is_const_ib) + if (ib->flags & AMDGPU_IB_FLAG_CE) header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2); else header = PACKET3(PACKET3_INDIRECT_BUFFER, 2); |
