]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6861b3d26d1ecc6c6f15b71a6ff228feacc5d233
tree1afe41ce63c5d440ae591971209bcd46502da346
parentfe37192cd8d5243dd9fb1a65b155ae93849fb53d
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