drm/amdgpu:add switch buffer to end of CS (v2)
authorMonk Liu <Monk.Liu@amd.com>
Fri, 26 Aug 2016 06:12:37 +0000 (14:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2016 21:55:45 +0000 (17:55 -0400)
commitc2167a659cc91075417018b88437da86633bb455
tree6a473d677ee81d910307f6927c952a457dbc2650
parent6fc0deaf58f228cb2676453eac3667744477ab62
drm/amdgpu:add switch buffer to end of CS (v2)

sync switch buffer scheme with windows kmd for gfx v8,
step1: append a switch_buffer to the end of CS

v2:rebase on latest staging

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c