[PATCH 100/165] drm/radeon/dpm/cayman: restructure code