drm/amdgpu: stop trying to suspend UVD sessions v2
authorChristian König <christian.koenig@amd.com>
Thu, 7 May 2015 13:19:25 +0000 (15:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Aug 2015 19:04:18 +0000 (15:04 -0400)
commit8f8202f771c182a7244caa5880f50def1bedd713
tree43de86a0005b0f38dbb7a7563d2bd7da99bfc21c
parente61235db62c5e68e56e59bea62b88f9f3d7a3cf5
drm/amdgpu: stop trying to suspend UVD sessions v2

Saving the current UVD state on suspend and restoring it on resume
just doesn't work reliable. Just close cleanup all sessions on suspend.

Ported from radeon commit "12e49feadff6d7b7ebbe852b36943a71524d8d34".

v2: rebased

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c