]> git.ipfire.org Git - people/ms/linux.git/commit - drivers/gpu/drm/radeon/cik.c
drm/radeon: Sync ME and PFP after CP semaphore waits v4
authorChristian König <christian.koenig@amd.com>
Mon, 18 Aug 2014 14:30:12 +0000 (16:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 15:44:47 +0000 (11:44 -0400)
commit86302eeadebfab94530b00f5e53a23f911ff41e4
tree1afe41ce63c5d440ae591971209bcd46502da346
parent73ef0e0d62de4a8d40d34a6f645faee2f6e1ac33
drm/radeon: Sync ME and PFP after CP semaphore waits v4

Fixes lockups due to CP read GPUVM faults when running piglit on Cape
Verde.

v2 (chk): apply the fix to R600+ as well, on CIK only the GFX CP has
  a PFP, add more comments to R600 code, enable flushing again
v3: (agd5f): only apply to 7xx+.  r6xx does not have the packet.
v4: (agd5f): split flush change into a separate patch, fix formatting

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600d.h