drm/amdgpu: move the GDS switch into vm flush as well
authorChristian König <christian.koenig@amd.com>
Tue, 1 Mar 2016 12:34:49 +0000 (13:34 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:48 +0000 (11:01 -0500)
commitcffadc83c7016ba68721affe5da537ead279e2d2
treea022cdc4d4dc83138e8bb3c2b621875c9ba4fc41
parent364beb2cc45247e980a097e53d0932e143873333
drm/amdgpu: move the GDS switch into vm flush as well

After all it's an operation on the VMID.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c