drm/radeon/dpm: only need to reprogram uvd if uvd pg is enabled
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Aug 2013 22:46:01 +0000 (18:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:14 +0000 (16:31 -0400)
commitf30df435ac6136787e65646881e62f12df2d71f6
treeddbf5e6b35e5a0b1327aa8b5077d778ec2d79bc6
parenta7f28f0f55ce484ef6047fa1f42d57daaeb1b634
drm/radeon/dpm: only need to reprogram uvd if uvd pg is enabled

Avoid needless uvd reprogramming if uvd powergating is disabled.

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