diff options
author | Christian König <christian.koenig@amd.com> | 2015-05-07 09:19:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-28 15:04:18 -0400 |
commit | 8f8202f771c182a7244caa5880f50def1bedd713 (patch) | |
tree | 43de86a0005b0f38dbb7a7563d2bd7da99bfc21c /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | e61235db62c5e68e56e59bea62b88f9f3d7a3cf5 (diff) |
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)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 719506808b4a..9fefcd9c1af1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1666,7 +1666,6 @@ struct amdgpu_uvd { | |||
1666 | struct amdgpu_bo *vcpu_bo; | 1666 | struct amdgpu_bo *vcpu_bo; |
1667 | void *cpu_addr; | 1667 | void *cpu_addr; |
1668 | uint64_t gpu_addr; | 1668 | uint64_t gpu_addr; |
1669 | void *saved_bo; | ||
1670 | atomic_t handles[AMDGPU_MAX_UVD_HANDLES]; | 1669 | atomic_t handles[AMDGPU_MAX_UVD_HANDLES]; |
1671 | struct drm_file *filp[AMDGPU_MAX_UVD_HANDLES]; | 1670 | struct drm_file *filp[AMDGPU_MAX_UVD_HANDLES]; |
1672 | struct delayed_work idle_work; | 1671 | struct delayed_work idle_work; |