]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit244f73a445cf1918a280f08d9189aebe49b947ee
tree43de86a0005b0f38dbb7a7563d2bd7da99bfc21c
parent9ac70c420910b485084cfe4c06bafe6d37f5bb81
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 "8a931f4ac49144975244749e3ec04aea3bd558a5".

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