]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon/kms/pm: don't enable pm if there is only on power state
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 24 Mar 2010 15:32:29 +0000 (11:32 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:05 +0000 (18:21 +1000)
commit90c3905950021a9b37ac1a4dd78225881f4c61e4
tree856235c7b55a6cb3c648f2826e68d94fffbbb14e
parent678e7dfa9e1bb0d1ad31b7cddce58fc3b67cfb27
drm/radeon/kms/pm: don't enable pm if there is only on power state

Just adds overhead when the power state will never change.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c