diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-05-11 23:41:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:03:30 -0400 |
commit | de807f818b953f11b9a132a2d1997711a79bbfa3 (patch) | |
tree | 819e5dbdf62a407a56b456a0fddee04acafbc70d /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
parent | 72efa7ebdea084b96f25021d0ba9c29074c2906f (diff) | |
download | linux-de807f818b953f11b9a132a2d1997711a79bbfa3.tar.gz linux-de807f818b953f11b9a132a2d1997711a79bbfa3.tar.bz2 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_v8_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 3762998df351..48de9204ff5e 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -3673,7 +3673,7 @@ static void gfx_v8_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); |