drm/radeon/dynpm: wait for fences on all rings when reclocking
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Aug 2012 17:12:08 +0000 (13:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:33 +0000 (13:10 -0400)
commit95f5a3acfaf6f5672420398e01ca32220b36bb90
tree76347e7893deac6eb5c7f589f0d459c0b26e2fb2
parent62444b7462a2b98bc78d68736c03a7c4e66ba7e2
drm/radeon/dynpm: wait for fences on all rings when reclocking

1. Drop gui idle stuff, it's not as reliable as fences and only
covers the 3D engine.
2. Wait for fences on all rings.  This makes sure all rings are
idle when reclocking.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c