[PATCH 0/3] Fixed amdgpu resume failure from suspend

Zhu, James James.Zhu at amd.com
Tue Oct 15 22:08:06 UTC 2019


UVD session info size can be upto 128K, we need to allocate a large
enough buffer for the session info, otherwise the IB test can overwrite
other's memory.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=204241

James Zhu (3):
  drm/amdgpu/uvd:Add uvd enc session bo
  drm/amdgpu/uvd:Allocate enc session bo for uvd6.0 ring IB test
  drm/amdgpu/uvd:Allocate enc session bo for uvd7.0 ring IB test

 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h |  4 ++++
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c   | 16 ++++++++++++++--
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c   | 16 ++++++++++++++--
 3 files changed, 32 insertions(+), 4 deletions(-)

-- 
2.7.4



More information about the amd-gfx mailing list