drm/radeon/dpm: enable dynamic vce state switching v2
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2013 15:56:26 +0000 (11:56 -0400)
committerChristian König <christian.koenig@amd.com>
Tue, 18 Feb 2014 15:11:41 +0000 (16:11 +0100)
commit03afe6f6480f2544d6cd18866556f1f76bb05f14
tree3a3d690eebc5a34439fe9d8b4e961bd26a3bf08a
parent4233290519c779e44a01816cf825f6df067a0886
drm/radeon/dpm: enable dynamic vce state switching v2

enable vce states when vce is active.  When vce is active,
it adjusts the currently selected state (performance, battery,
uvd, etc.)

v2: add code comments

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/radeon_vce.c