drm/radeon: fix regression in dynpm due to multi-ring rework
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jun 2012 19:54:57 +0000 (15:54 -0400)
committerDave Airlie <airlied@redhat.com>
Sat, 16 Jun 2012 10:12:13 +0000 (11:12 +0100)
commit0ec0612a80f957000999c3f7b31a84e3558c719d
treee64bc5971f5b5be9e45780f0648e956235d23283
parentf8fee8f5acb5c3f82e02f2ae139a6f1e7b4eb583
drm/radeon: fix regression in dynpm due to multi-ring rework

Not all asics have all rings, so make sure the ring is ready
before attempting to check it in the dynpm work handler.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=43367

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c