drm/amd/powerplay: partial revert commit 01b0e7fb1.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 8 Nov 2016 12:38:28 +0000 (20:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Nov 2016 15:21:11 +0000 (10:21 -0500)
commit68260f340e191a67056b6c27f958f09029b9e11f
treeecb5df9f0c3c22102e83f1354f5703b346f1b335
parent0401eb403dad1e761734c7dc88b0f06202d4b35c
drm/amd/powerplay: partial revert commit 01b0e7fb1.

when uvd is idle, we gate uvd clock.
and uvd is busy, we ungate uvd clock.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c