diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-10-15 18:09:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-17 17:12:34 -0400 |
commit | c81fffc2c9450750dd7a54a36a788a860ab0425d (patch) | |
tree | 83aa5ae47e70239d161481e636716f842e080700 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 5d230bc91f6c15e5d281f2851502918d98b9e770 (diff) | |
download | linux-c81fffc2c9450750dd7a54a36a788a860ab0425d.tar.gz linux-c81fffc2c9450750dd7a54a36a788a860ab0425d.tar.bz2 linux-c81fffc2c9450750dd7a54a36a788a860ab0425d.zip |
drm/amdgpu/vcn: fix allocation size in enc ring test
We need to allocate a large enough buffer for the
session info, otherwise the IB test can overwrite
other memory.
- Session info is 128K according to mesa
- Use the same session info for create and destroy
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=204241
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions