drm/amdgpu: if a GDS switch is needed emit a pipeline sync as well
authorChristian König <christian.koenig@amd.com>
Tue, 1 Mar 2016 14:51:53 +0000 (15:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:50 +0000 (11:01 -0500)
commitd564a06e1c9c285bab1c1579c18c811aa1271884
tree049470cb0c185c934e831b2f5b3ade387827e5ee
parentb8c7b39ec1db98199df5bee33ca145ed9c2c62e7
drm/amdgpu: if a GDS switch is needed emit a pipeline sync as well

Otherwise we might change the GDS settings while they are still in use.

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_vm.c