drm/amdgpu: new method to sync ce&de
authorMonk Liu <Monk.Liu@amd.com>
Fri, 26 Aug 2016 06:15:03 +0000 (14:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Sep 2016 22:12:17 +0000 (18:12 -0400)
commitd4946ccfd0373610ffa6181cffae236bf07d3aff
treec79988f525a22cffbbe59fcce71ff50ae7c91105
parentea4a8c1d94e98693612b01908076d6133be52c6e
drm/amdgpu: new method to sync ce&de

sync switch buffer scheme with windows kmd for gfx v8,
step2:
Insert 128NOP after&before VM flush to prevent CE vm fault.

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/gfx_v8_0.c