diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-05-04 10:32:33 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:40:29 -0400 |
commit | 67fb56a6dde9bddd3a57614607af255bbb732118 (patch) | |
tree | c3dc3b703af70552c51c712d13990f4af245ab83 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | 5b9c58f9978fb17692966173262ef05f9a1f9a1e (diff) |
drm/amdgpu/gfx9: move define to header file
rather than defining it locally.
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 6ac6e7512f49..dd1751d9aa3c 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -2982,8 +2982,6 @@ BUG_ON(ib->gpu_addr & 0x3); /* Dword align */ amdgpu_ring_write(ring, control); } -#define INDIRECT_BUFFER_VALID (1 << 23) - static void gfx_v9_0_ring_emit_ib_compute(struct amdgpu_ring *ring, struct amdgpu_ib *ib, unsigned vm_id, bool ctx_switch) |