drm/amdgpu: remove the check for sessions being closed
authorLeo Liu <leo.liu@amd.com>
Wed, 3 Aug 2016 13:25:59 +0000 (09:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:12 +0000 (11:33 -0400)
commit713c0021979a525b9e87dce8fd9d79dd0b99db4c
tree3022aed4861db2afab6909dc5d8b40f86006aa61
parentf10379503e2b1814e27957899bcdfd0132a1915e
drm/amdgpu: remove the check for sessions being closed

This will make clock and power gated when no block decoded, for example
when paused during the playback.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c