drm/amdgpu:insert switch buffer only for VM submit
authorMonk Liu <Monk.Liu@amd.com>
Wed, 18 Jan 2017 02:38:06 +0000 (10:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:38 +0000 (11:13 -0500)
commitbc1e59b24d55320a8729eaf68b727ff65dfb521d
tree95b9ef2b120e155b865bcb5ab068e95f1461dd57
parent79bbbf8bfe646d63a52dcb1f8272a27adbcae097
drm/amdgpu:insert switch buffer only for VM submit

for non-VM submit which is from kernel side, no need
to switch buffer at all.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c