drm/radeon/cik: enable/disable vce cg when encoding v2
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2013 16:33:04 +0000 (12:33 -0400)
committerChristian König <christian.koenig@amd.com>
Tue, 18 Feb 2014 15:11:46 +0000 (16:11 +0100)
commita1d6f97c8cfa7c3554d0391c0b16505d1d97f380
treeb99fc950e38a90fc25d9ccc066dd477c79699798
parentb9fa18837610483b09a07f1419e6b9f333c46023
drm/radeon/cik: enable/disable vce cg when encoding v2

Some of the vce clocks are automatic, others need to
be manually enabled.  For ease, just disable cg when
vce is active.

v2: rebased

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/kv_dpm.c