drm/radeon/kms: optimize r600_pm_profile_init
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2011 14:09:42 +0000 (10:09 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 14:15:40 +0000 (14:15 +0000)
commitbbe26ffe9ffd231de7cf88c4361f1939858e8594
treead89a20f804bd817114896cb5cfb1fc1e2253e91
parenta4c9e2eed17457b30e17235158657801ec686a14
drm/radeon/kms: optimize r600_pm_profile_init

Avoid a lot of extra loops through the pm state array.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c