drm/radeon/kms/pm: Misc fixes
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 7 Jun 2010 21:49:51 +0000 (17:49 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Jun 2010 23:35:13 +0000 (09:35 +1000)
commitf8ed8b4c5d30b5214f185997131b06e35f6f7113
treeaca6fc16abd33d279caf540ccce05561a54ac176
parent8de016e2bd8ebce9b3728462085bef51179841a6
drm/radeon/kms/pm: Misc fixes

- don't rest the power state in pm_init()
We already boot up to the default power state.  Note this
patch relies on:
drm/radeon/kms/pm: patch default power state with default clocks/voltages on r6xx+
To make sure the default power state matches the boot up state.

- In the pm resume path asic init will have set the power state
back to the default so reset the tracking state values.

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