diff options
| author | Christian König <[email protected]> | 2015-05-07 15:19:25 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]> (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 { struct amdgpu_bo *vcpu_bo; void *cpu_addr; uint64_t gpu_addr; - void *saved_bo; atomic_t handles[AMDGPU_MAX_UVD_HANDLES]; struct drm_file *filp[AMDGPU_MAX_UVD_HANDLES]; struct delayed_work idle_work; |